forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix capabilities issue (cosmos#6057)
* Fix capabilities issue * Update x/capability/module.go quick doc fix * Address PR comments Co-authored-by: Aditya <adityasripal@gmail.com>
- Loading branch information
1 parent
b737e7f
commit f82bc19
Showing
3 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package types | ||
|
||
// GenesisState represents the Capability module genesis state | ||
type GenesisState struct { | ||
Index uint64 `json:"index" yaml:"index"` | ||
} | ||
|
||
// DefaultGenesis returns the default Capability genesis state | ||
func DefaultGenesis() GenesisState { | ||
return GenesisState{Index: 1} | ||
} |