Skip to content

Commit

Permalink
fix syntax after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zsystm committed Sep 19, 2024
1 parent dd1900a commit d982afe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/x/evmstaking/keeper/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (s *TestSuite) TestInitGenesis() {
valPubKey2 := pubKeys[2]
valEvmAddr2, err := k1util.CosmosPubkeyToEVMAddress(valPubKey2.Bytes())
require.NoError(err)
valTokens := s.StakingKeeper.TokensFromConsensusPower(ctx, 10)

tcs := []struct {
name string
Expand All @@ -58,8 +59,8 @@ func (s *TestSuite) TestInitGenesis() {
{
name: "pass: with validators",
setup: func(c context.Context) {
s.setupValidatorAndDelegation(c, valPubKey1, delPubKey, valAddr1, delAddr)
s.setupValidatorAndDelegation(c, valPubKey2, delPubKey, valAddr2, delAddr)
s.setupValidatorAndDelegation(c, valPubKey1, delPubKey, valAddr1, delAddr, valTokens)
s.setupValidatorAndDelegation(c, valPubKey2, delPubKey, valAddr2, delAddr, valTokens)
},
gs: func() *types.GenesisState {
return &types.GenesisState{
Expand Down

0 comments on commit d982afe

Please sign in to comment.