feat!: Define Genesis state transition (#15999)
This commit is contained in:
+5
-1
@@ -38,4 +38,8 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
||||
|
||||
### API-Breaking Changes
|
||||
|
||||
- (store)[14635](https://github.com/cosmos/cosmos-sdk/pull/14635) Add error handling to all methods on the `KVStore` interface
|
||||
* (store)[14635](https://github.com/cosmos/cosmos-sdk/pull/14635) Add error handling to all methods on the `KVStore` interface
|
||||
|
||||
### Features
|
||||
|
||||
* (genesis) [#15999](https://github.com/cosmos/cosmos-sdk/pull/15999) Add `GenesisTxHandler` interface
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package genesis
|
||||
|
||||
// TxHandler is an interface that modules can implement to provide genesis state transitions
|
||||
type TxHandler interface {
|
||||
ExecuteGenesisTx([]byte) error
|
||||
}
|
||||
Reference in New Issue
Block a user