Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: keeper genesis #12

Merged
merged 28 commits into from
Nov 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove
  • Loading branch information
aljo242 committed Nov 10, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit b210932c3830c652f46a8f6dac22fee438425857
13 changes: 0 additions & 13 deletions x/feemarket/keeper/genesis_test.go
Original file line number Diff line number Diff line change
@@ -32,19 +32,6 @@ func (s *KeeperTestSuite) TestInitGenesis() {
})
})

s.Run("0 bytes plugin bytes should panic", func() {
gs := types.GenesisState{
Plugin: make([]byte, 0),
Params: types.Params{
Enabled: true,
},
}

s.Require().Panics(func() {
s.feemarketKeeper.InitGenesis(s.ctx, gs)
})
})

s.Run("invalid plugin bytes should panic if module enabled", func() {
gs := types.GenesisState{
Plugin: []byte("invalid"),