Skip to content

Commit

Permalink
fix: backport changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zygimantass committed Nov 5, 2024
1 parent d088d71 commit c0de768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/types/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import (
"google.golang.org/grpc"
)

// GenesisModifier is a function that takes in genesis bytes and returns modified genesis bytes
type GenesisModifier func([]byte) ([]byte, error)

// ChainI is an interface for a logical chain
type ChainI interface {
Init(context.Context) error
Expand Down Expand Up @@ -91,9 +94,6 @@ func (c ChainConfig) GetGenesisDelegation() *big.Int {
return c.GenesisDelegation
}

// GenesisModifier is a function that takes in genesis bytes and returns modified genesis bytes
type GenesisModifier func([]byte) ([]byte, error)

func (c *ChainConfig) ValidateBasic() error {
if c.Denom == "" {
return fmt.Errorf("denom cannot be empty")
Expand Down

0 comments on commit c0de768

Please sign in to comment.