forked from cerc-io/laconicd-deprecated
eth_getBlockByHash and block hash mapping functionality (#114)
* Set up block hash to height mapping storage and fixed linting issues * fix typos * Set up module query for block height * fix bug with block mappings and implemented get block by hash * Fix other consensus hash references
This commit is contained in:
+7
-2
@@ -1,11 +1,16 @@
|
||||
package types
|
||||
|
||||
const (
|
||||
// module name
|
||||
// ModuleName string name of module
|
||||
ModuleName = "ethermint"
|
||||
|
||||
// EvmStoreKey key for ethereum storage data
|
||||
EvmStoreKey = "evmstore"
|
||||
EvmCodeKey = "evmcode"
|
||||
// EvmCodeKey key for ethereum code data
|
||||
EvmCodeKey = "evmcode"
|
||||
// EvmBlockKey key for ethereum block data
|
||||
EvmBlockKey = "evmblock"
|
||||
|
||||
// RouterKey uses module name for routing
|
||||
RouterKey = ModuleName
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user