Skip to content

Commit

Permalink
chore: cleanup callbacks simapp
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan committed Nov 21, 2024
1 parent d7d1713 commit a195296
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 311 deletions.
3 changes: 1 addition & 2 deletions modules/apps/callbacks/callbacks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func init() {
// SetupTestingApp provides the duplicated simapp which is specific to the callbacks module on chain creation.
func SetupTestingApp() (ibctesting.TestingApp, map[string]json.RawMessage) {
db := dbm.NewMemDB()
app := simapp.NewSimApp(log.NewNopLogger(), db, nil, true, simtestutil.EmptyAppOptions{})
app := simapp.NewSimApp(log.NewNopLogger(), db, nil, true, simtestutil.AppOptionsMap{})
return app, app.DefaultGenesis()
}

Expand Down Expand Up @@ -157,7 +157,6 @@ func (s *CallbacksTestSuite) RegisterInterchainAccount(owner string) {
s.Require().NotEmpty(res)
s.Require().NoError(err)

fmt.Println(res.Events)
channelID, err := ibctesting.ParseChannelIDFromEvents(res.Events)
s.Require().NoError(err)

Expand Down
1 change: 0 additions & 1 deletion modules/apps/callbacks/testing/simapp/ante_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker),
ante.NewValidateSigCountDecorator(options.AccountKeeper),
ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler, options.SigGasConsumer, options.AccountAbstractionKeeper),

ibcante.NewRedundantRelayDecorator(options.IBCKeeper),
}

Expand Down
Loading

0 comments on commit a195296

Please sign in to comment.