Skip to content

Commit 4dd8070

Browse files
committed
Review feedback
1 parent c29ec4d commit 4dd8070

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

simapp/v2/sim_runner.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ func SetupTestInstance[T Tx, V SimulationApp[T]](
166166
}
167167

168168
// InitializeChain sets up the blockchain with an initial state, validator set, and history using the provided genesis data.
169-
func (ti TestInstance[T]) InitializeChain(tb testing.TB,
169+
func (ti TestInstance[T]) InitializeChain(
170+
tb testing.TB,
170171
ctx context.Context,
171172
chainID string,
172173
genesisTimestamp time.Time,

simapp/v2/sim_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/stretchr/testify/require"
1414

1515
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
16-
v2 "github.com/cosmos/cosmos-sdk/x/genutil/v2"
16+
genutil "github.com/cosmos/cosmos-sdk/x/genutil/v2"
1717
simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli"
1818
)
1919

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

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

6565
// Scenario:

0 commit comments

Comments
 (0)