forked from cerc-io/laconicd-deprecated
3752485b27
* add protolint yaml * Update .protolint.yml with Evmos settings * Add super-linter.yml for GH action * Copy .markdownlint.yml settings from Evmos * Sort proto imports * address protolint error in all Protobuf files * update Makefile to mirror Proto commands for Evmos * remove unnecessary go get command in protocgen.sh when using cosmos docker image * copy .clang-format from Evmos repo * apply make proto-format * Execute make proto-all after changes to config are complete * address last linter comment
28 lines
1.1 KiB
Protocol Buffer
28 lines
1.1 KiB
Protocol Buffer
syntax = "proto3";
|
|
package ethermint.evm.v1;
|
|
|
|
import "ethermint/evm/v1/evm.proto";
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option go_package = "github.com/evmos/ethermint/x/evm/types";
|
|
|
|
// GenesisState defines the evm module's genesis state.
|
|
message GenesisState {
|
|
// accounts is an array containing the ethereum genesis accounts.
|
|
repeated GenesisAccount accounts = 1 [(gogoproto.nullable) = false];
|
|
// params defines all the parameters of the module.
|
|
Params params = 2 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// GenesisAccount defines an account to be initialized in the genesis state.
|
|
// Its main difference between with Geth's GenesisAccount is that it uses a
|
|
// custom storage type and that it doesn't contain the private key field.
|
|
message GenesisAccount {
|
|
// address defines an ethereum hex formated address of an account
|
|
string address = 1;
|
|
// code defines the hex bytes of the account code.
|
|
string code = 2;
|
|
// storage defines the set of state key values for the account.
|
|
repeated State storage = 3 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "Storage"];
|
|
}
|