Skip to content

Commit

Permalink
start updating finalize block tests, fixing signing
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Mar 18, 2024
1 parent fb4e389 commit a34dbca
Show file tree
Hide file tree
Showing 2 changed files with 233 additions and 196 deletions.
2 changes: 1 addition & 1 deletion internal/handlers/bank_send_restriction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func ConstructAndSendTx(tt *testing.T, app piosimapp.App, ctx sdk.Context, acct
encCfg := moduletestutil.MakeTestEncodingConfig()
fees := sdk.NewCoins(sdk.NewInt64Coin(sdk.DefaultBondDenom, int64(NewTestGasLimit())))
acct = app.AccountKeeper.GetAccount(ctx, acct.GetAddress()).(*authtypes.BaseAccount)
txBytes, err := SignTxAndGetBytes(NewTestGasLimit(), fees, encCfg, priv.PubKey(), priv, *acct, ctx.ChainID(), msg)
txBytes, err := SignTxAndGetBytes(ctx, NewTestGasLimit(), fees, encCfg, priv.PubKey(), priv, *acct, ctx.ChainID(), msg)
require.NoError(tt, err, "SignTxAndGetBytes")
// TODO[1760]: finalize-block: Uncomment the rest of this func.
_ = txBytes
Expand Down
Loading

0 comments on commit a34dbca

Please sign in to comment.