Skip to content

Commit

Permalink
Fix wrong init
Browse files Browse the repository at this point in the history
  • Loading branch information
zivkovicmilos committed Nov 4, 2024
1 parent 11504df commit e336eaf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions contribs/gnogenesis/internal/verify/verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/gnolang/gno/tm2/pkg/bft/types"
"github.com/gnolang/gno/tm2/pkg/commands"
"github.com/gnolang/gno/tm2/pkg/crypto/mock"
"github.com/gnolang/gno/tm2/pkg/std"
"github.com/gnolang/gno/tm2/pkg/testutils"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -45,7 +44,7 @@ func TestGenesis_Verify(t *testing.T) {

g.AppState = gnoland.GnoGenesisState{
Balances: []gnoland.Balance{},
Txs: []std.Tx{
Txs: []gnoland.TxWithMetadata{
{},
},
}
Expand Down Expand Up @@ -76,7 +75,7 @@ func TestGenesis_Verify(t *testing.T) {
Balances: []gnoland.Balance{
{},
},
Txs: []std.Tx{},
Txs: []gnoland.TxWithMetadata{},
}

require.NoError(t, g.SaveAs(tempFile.Name()))
Expand All @@ -102,7 +101,7 @@ func TestGenesis_Verify(t *testing.T) {
g := getValidTestGenesis()
g.AppState = gnoland.GnoGenesisState{
Balances: []gnoland.Balance{},
Txs: []std.Tx{},
Txs: []gnoland.TxWithMetadata{},
}

require.NoError(t, g.SaveAs(tempFile.Name()))
Expand Down

0 comments on commit e336eaf

Please sign in to comment.