-
Notifications
You must be signed in to change notification settings - Fork 566
feat: import ethermint without forking #378
Conversation
Codecov Report
@@ Coverage Diff @@
## main #378 +/- ##
==========================================
- Coverage 52.59% 51.97% -0.62%
==========================================
Files 46 47 +1
Lines 4609 4660 +51
==========================================
- Hits 2424 2422 -2
- Misses 2086 2139 +53
Partials 99 99
|
@@ -42,29 +42,6 @@ func InitConfig(cmd *cobra.Command) error { | |||
return viper.BindPFlag(cli.OutputFlag, cmd.PersistentFlags().Lookup(cli.OutputFlag)) | |||
} | |||
|
|||
// GenerateChainID wraps a cobra command with a RunE function with base 10 integer chain-id random generation | |||
// when a chain-id is not provided. | |||
func GenerateChainID(baseCmd *cobra.Command) *cobra.Command { |
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.
not used
# API defines a list of JSON-RPC namespaces that should be enabled | ||
api = "{{ .EVMRPC.API }}" | ||
|
||
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk) | ||
enable-unsafe-cors = "{{ .EVMRPC.EnableUnsafeCORS }}" |
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.
these were missing
@@ -47,8 +46,3 @@ func ParseChainID(chainID string) (*big.Int, error) { | |||
|
|||
return chainIDInt, nil | |||
} | |||
|
|||
// GenerateRandomChainID returns a random chain-id in the valid format. | |||
func GenerateRandomChainID() string { |
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.
ditto, not used
|
||
// HDPathIterator receives a base path as a string and a boolean for the desired iterator type and | ||
// returns a function that iterates over the base HD path, returning the string. | ||
func NewHDPathIterator(basePath string, ledgerIter bool) (HDPathIterator, 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.
I had to create an iterator for the personal API, otherwise, every new account that is created will use the same hdpath
tested locally with a dummy app from starport |
Closes: #293
Description
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)