-
Notifications
You must be signed in to change notification settings - Fork 70
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(blockmanager): removed namespace from blockmanager #943
feat(blockmanager): removed namespace from blockmanager #943
Conversation
|
||
// NewStateFromGenesis reads blockchain State from genesis. | ||
// The active sequencer list will be set on InitChain | ||
func NewStateFromGenesis(genDoc *tmtypes.GenesisDoc) (*types.State, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved from types/state.go
@@ -216,35 +206,6 @@ func NewNode( | |||
return node, nil | |||
} | |||
|
|||
// initGenesisChunks creates a chunked format of the genesis document to make it easier to | |||
// iterate through larger genesis structures. | |||
func (n *Node) initGenesisChunks() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to rpc package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can also just do reserved 2;
rpc/client/utils.go
Outdated
if end > len(data) { | ||
end = len(data) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
min(..)
PR Standards
Opening a pull request should be able to meet the following requirements
--
PR naming convention: https://hackmd.io/@nZpxHZ0CT7O5ngTp0TP9mg/HJP_jrm7A
Close #XXX
<-- Briefly describe the content of this pull request -->
For Author:
godoc
commentsFor Reviewer:
After reviewer approval: