Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Jan 13, 2025
1 parent c29ec4d commit 4dd8070
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion simapp/v2/sim_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ func SetupTestInstance[T Tx, V SimulationApp[T]](
}

// InitializeChain sets up the blockchain with an initial state, validator set, and history using the provided genesis data.
func (ti TestInstance[T]) InitializeChain(tb testing.TB,
func (ti TestInstance[T]) InitializeChain(
tb testing.TB,
ctx context.Context,
chainID string,
genesisTimestamp time.Time,
Expand Down
4 changes: 2 additions & 2 deletions simapp/v2/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/stretchr/testify/require"

simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
v2 "github.com/cosmos/cosmos-sdk/x/genutil/v2"
genutil "github.com/cosmos/cosmos-sdk/x/genutil/v2"
simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli"
)

Expand Down Expand Up @@ -59,7 +59,7 @@ func TestAppStateDeterminism(t *testing.T) {

// ExportableApp defines an interface for exporting application state and validator set.
type ExportableApp interface {
ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (v2.ExportedApp, error)
ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (genutil.ExportedApp, error)
}

// Scenario:
Expand Down

0 comments on commit 4dd8070

Please sign in to comment.