Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
vitsalis committed Oct 14, 2024
1 parent c1299c4 commit 9fb4574
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions itest/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1512,8 +1512,7 @@ func TestStakingUnbonding(t *testing.T) {

tm.waitForStakingTxState(t, txHash, proto.TransactionState_DELEGATION_ACTIVE)

feeRate := 2000
resp, err := tm.StakerClient.UnbondStaking(context.Background(), txHash.String(), &feeRate)
resp, err := tm.StakerClient.UnbondStaking(context.Background(), txHash.String())
require.NoError(t, err)

unbondingTxHash, err := chainhash.NewHashFromStr(resp.UnbondingTxHash)
Expand Down Expand Up @@ -1590,8 +1589,7 @@ func TestUnbondingRestartWaitingForSignatures(t *testing.T) {

tm.waitForStakingTxState(t, txHash, proto.TransactionState_DELEGATION_ACTIVE)

feeRate := 2000
unbondResponse, err := tm.StakerClient.UnbondStaking(context.Background(), txHash.String(), &feeRate)
unbondResponse, err := tm.StakerClient.UnbondStaking(context.Background(), txHash.String())
require.NoError(t, err)
unbondingTxHash, err := chainhash.NewHashFromStr(unbondResponse.UnbondingTxHash)
require.NoError(t, err)
Expand Down Expand Up @@ -1818,8 +1816,7 @@ func TestRecoverAfterRestartDuringWithdrawal(t *testing.T) {
tm.waitForStakingTxState(t, txHash, proto.TransactionState_DELEGATION_ACTIVE)

// Unbond staking transaction and wait for it to be included in mempool
feeRate := 2000
unbondResponse, err := tm.StakerClient.UnbondStaking(context.Background(), txHash.String(), &feeRate)
unbondResponse, err := tm.StakerClient.UnbondStaking(context.Background(), txHash.String())
require.NoError(t, err)
unbondingTxHash, err := chainhash.NewHashFromStr(unbondResponse.UnbondingTxHash)
require.NoError(t, err)
Expand Down

0 comments on commit 9fb4574

Please sign in to comment.