refactor(sims)!: Remove Baseapp from sims (#21039)

This commit is contained in:
Alexander Peters
2024-07-24 12:40:01 +00:00
committed by GitHub
parent b536d11532
commit 1f0ce2f5b5
36 changed files with 140 additions and 255 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
package simulation_test
import (
"context"
"fmt"
"math/rand"
"testing"
@@ -56,8 +57,8 @@ func (m MockWeightedProposals) DefaultWeight() int {
return m.n
}
func (m MockWeightedProposals) MsgSimulatorFn() simtypes.MsgSimulatorFn {
return func(r *rand.Rand, _ []simtypes.Account, _ address.Codec) (sdk.Msg, error) {
func (m MockWeightedProposals) MsgSimulatorFn() simtypes.MsgSimulatorFnX {
return func(_ context.Context, r *rand.Rand, _ []simtypes.Account, _ address.Codec) (sdk.Msg, error) {
return nil, nil
}
}