Skip to content

Commit

Permalink
fix ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlavanet committed Nov 28, 2024
1 parent 3bee5ed commit fe504f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/dualstaking/keeper/delegate_credit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,11 @@ func TestCalculateMonthlyCredit(t *testing.T) {
}

func TestDelegationSet(t *testing.T) {
_, ctx := keepertest.DualstakingKeeper(t)
ts := newTester(t)

// 1 delegator, 1 provider staked, 0 provider unstaked, 0 provider unstaking
ts.setupForDelegation(1, 1, 0, 0)

ctx := ts.Ctx
_, client1Addr := ts.GetAccount(common.CONSUMER, 0)
_, provider1Addr := ts.GetAccount(common.PROVIDER, 0)
k := ts.Keepers.Dualstaking
Expand Down

0 comments on commit fe504f3

Please sign in to comment.