diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000000..332e4df3a6 --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,20 @@ +"default": true +"MD001": false +"MD004": false +"MD007": + "indent": 4 +"MD013": false +"MD024": + "siblings_only": true +"MD025": false +"MD026": + "punctuation": ".;:" +"MD029": false +"MD033": false +"MD034": false +"MD036": false +"MD040": false +"MD041": false +"MD049": + "style": "asterisk" +"no-hard-tabs": false diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 0000000000..1725ceb118 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,3 @@ +CHANGELOG.md +docs/protocol/proto-docs.md +docs/node_modules diff --git a/.mergify.yml b/.mergify.yml index 749cc4a724..665ddc3de9 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -4,7 +4,7 @@ queue_rules: - "#approved-reviews-by>1" pull_request_rules: - - name: automerge to the base branch with label automerge and branch protection passing + - name: automerge to main with label "automerge" and branch protection passing conditions: - "#approved-reviews-by>1" - base=main @@ -12,22 +12,15 @@ pull_request_rules: actions: queue: name: default - merge: method: squash - commit_message: title+body - - name: backport patches to v0.9.x branch + commit_message_template: | + {{ title }} (#{{ number }}) + {{ body }} + - name: backport patches to v0.16.x branch conditions: - base=main - - label=backport/0.9.x + - label=backport/0.16.x actions: backport: branches: - - release/v0.9.x - - name: backport patches to v0.7.x branch - conditions: - - base=main - - label=backport/0.7.x - actions: - backport: - branches: - - release/v0.7.x + - release/v0.16.x diff --git a/CHANGELOG.md b/CHANGELOG.md index c8d17fed12..fcf38ac236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,409 +40,413 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### State Machine Breaking -* (evm) [tharsis#1124](https://github.com/tharsis/ethermint/pull/1124) Reject non-replay-protected tx in ante handler to prevent replay attack +* (evm) [tharsis#1124](https://github.com/evmos/ethermint/pull/1124) Reject non-replay-protected tx in ante handler to prevent replay attack -### Bug Fixes +### API Breaking -* (evm) [tharsis#1118](https://github.com/tharsis/ethermint/pull/1118) Fix `Type()` `Account` method `EmptyCodeHash` comparison +* (all) [\#1137](https://github.com/evmos/ethermint/pull/1137) Rename go module to `evmos/ethermint` ### Improvements -- (feemarket) [tharsis#1120](https://github.com/tharsis/ethermint/pull/1120) Make `min-gas-multiplier` parameter accept zero value +* (feemarket) [tharsis#1120](https://github.com/evmos/ethermint/pull/1120) Make `min-gas-multiplier` parameter accept zero value + +### Bug Fixes + +* (evm) [tharsis#1118](https://github.com/evmos/ethermint/pull/1118) Fix `Type()` `Account` method `EmptyCodeHash` comparison ## [v0.16.0] - 2022-06-06 ### State Machine Breaking -* (feemarket) [tharsis#1105](https://github.com/tharsis/ethermint/pull/1105) Update `BaseFee` calculation based on `GasWanted` instead of `GasUsed`. +* (feemarket) [tharsis#1105](https://github.com/evmos/ethermint/pull/1105) Update `BaseFee` calculation based on `GasWanted` instead of `GasUsed`. ### API Breaking -* (feemarket) [tharsis#1104](https://github.com/tharsis/ethermint/pull/1104) Enforce a minimum gas price for Cosmos and EVM transactions through the `MinGasPrice` parameter. -* (rpc) [tharsis#1081](https://github.com/tharsis/ethermint/pull/1081) Deduplicate some json-rpc logic codes, cleanup several dead functions. -* (ante) [tharsis#1062](https://github.com/tharsis/ethermint/pull/1062) Emit event of eth tx hash in ante handler to support query failed transactions. -* (analytics) [tharsis#1106](https://github.com/tharsis/ethermint/pull/1106) Update telemetry to Ethermint modules. -* (rpc) [tharsis#1108](https://github.com/tharsis/ethermint/pull/1108) Update GetGasPrice RPC endpoint with global `MinGasPrice` +* (feemarket) [tharsis#1104](https://github.com/evmos/ethermint/pull/1104) Enforce a minimum gas price for Cosmos and EVM transactions through the `MinGasPrice` parameter. +* (rpc) [tharsis#1081](https://github.com/evmos/ethermint/pull/1081) Deduplicate some json-rpc logic codes, cleanup several dead functions. +* (ante) [tharsis#1062](https://github.com/evmos/ethermint/pull/1062) Emit event of eth tx hash in ante handler to support query failed transactions. +* (analytics) [tharsis#1106](https://github.com/evmos/ethermint/pull/1106) Update telemetry to Ethermint modules. +* (rpc) [tharsis#1108](https://github.com/evmos/ethermint/pull/1108) Update GetGasPrice RPC endpoint with global `MinGasPrice` ### Improvements -* (cli) [tharsis#1086](https://github.com/tharsis/ethermint/pull/1086) Add rollback command. -* (specs) [tharsis#1095](https://github.com/tharsis/ethermint/pull/1095) Add more evm specs concepts. -* (evm) [tharsis#1101](https://github.com/tharsis/ethermint/pull/1101) Add tx_type, gas and counter telemetry for ethereum txs. +* (cli) [tharsis#1086](https://github.com/evmos/ethermint/pull/1086) Add rollback command. +* (specs) [tharsis#1095](https://github.com/evmos/ethermint/pull/1095) Add more evm specs concepts. +* (evm) [tharsis#1101](https://github.com/evmos/ethermint/pull/1101) Add tx_type, gas and counter telemetry for ethereum txs. ### Bug Fixes -* (rpc) [tharsis#1082](https://github.com/tharsis/ethermint/pull/1082) fix gas price returned in getTransaction api. -* (evm) [tharsis#1088](https://github.com/tharsis/ethermint/pull/1088) Fix ability to append log in tx post processing. -* (rpc) [tharsis#1081](https://github.com/tharsis/ethermint/pull/1081) fix `debug_getBlockRlp`/`debug_printBlock` don't filter failed transactions. -* (ante) [tharsis#1111](https://github.com/tharsis/ethermint/pull/1111) Move CanTransfer decorator before GasConsume decorator +* (rpc) [tharsis#1082](https://github.com/evmos/ethermint/pull/1082) fix gas price returned in getTransaction api. +* (evm) [tharsis#1088](https://github.com/evmos/ethermint/pull/1088) Fix ability to append log in tx post processing. +* (rpc) [tharsis#1081](https://github.com/evmos/ethermint/pull/1081) fix `debug_getBlockRlp`/`debug_printBlock` don't filter failed transactions. +* (ante) [tharsis#1111](https://github.com/evmos/ethermint/pull/1111) Move CanTransfer decorator before GasConsume decorator * (types) [tharsis#1112](https://github.com/cosmos/ethermint/pull/1112) Add `GetBaseAccount` to avoid invalid account error when create vesting account. ## [v0.15.0] - 2022-05-09 ### State Machine Breaking -* (ante) [tharsis#1060](https://github.com/tharsis/ethermint/pull/1060) Check `EnableCreate`/`EnableCall` in `AnteHandler` to short-circuit EVM transactions. -* (evm) [tharsis#1087](https://github.com/tharsis/ethermint/pull/1087) Minimum GasUsed proportional to GasLimit and `MinGasDenominator` EVM module param. +* (ante) [tharsis#1060](https://github.com/evmos/ethermint/pull/1060) Check `EnableCreate`/`EnableCall` in `AnteHandler` to short-circuit EVM transactions. +* (evm) [tharsis#1087](https://github.com/evmos/ethermint/pull/1087) Minimum GasUsed proportional to GasLimit and `MinGasDenominator` EVM module param. ### API Breaking -* (rpc) [tharsis#1070](https://github.com/tharsis/ethermint/pull/1070) Refactor `rpc/` package: +* (rpc) [tharsis#1070](https://github.com/evmos/ethermint/pull/1070) Refactor `rpc/` package: * `Backend` interface is now `BackendI`, which implements `EVMBackend` (for Ethereum namespaces) and `CosmosBackend` (for Cosmos namespaces) * Previous `EVMBackend` type is now `Backend`, which is the concrete implementation of `BackendI` * Move `rpc/ethereum/types` -> `rpc/types` * Move `rpc/ethereum/backend` -> `rpc/backend` * Move `rpc/ethereum/namespaces` -> `rpc/namespaces/ethereum` -* (rpc) [tharsis#1068](https://github.com/tharsis/ethermint/pull/1068) Fix London hard-fork check logic in JSON-RPC APIs. +* (rpc) [tharsis#1068](https://github.com/evmos/ethermint/pull/1068) Fix London hard-fork check logic in JSON-RPC APIs. ### Improvements -* (ci, evm) [tharsis#1063](https://github.com/tharsis/ethermint/pull/1063) Run simulations on CI. +* (ci, evm) [tharsis#1063](https://github.com/evmos/ethermint/pull/1063) Run simulations on CI. ### Bug Fixes -* (rpc) [tharsis#1059](https://github.com/tharsis/ethermint/pull/1059) Remove unnecessary event filtering logic on the `eth_baseFee` JSON-RPC endpoint. +* (rpc) [tharsis#1059](https://github.com/evmos/ethermint/pull/1059) Remove unnecessary event filtering logic on the `eth_baseFee` JSON-RPC endpoint. ## [v0.14.0] - 2022-04-19 ### API Breaking -* (evm) [tharsis#1051](https://github.com/tharsis/ethermint/pull/1051) Context block height fix on TraceTx. Removes `tx_index` on `QueryTraceTxRequest` proto type. -* (evm) [tharsis#1091](https://github.com/tharsis/ethermint/pull/1091) Add query params command on EVM Module +* (evm) [tharsis#1051](https://github.com/evmos/ethermint/pull/1051) Context block height fix on TraceTx. Removes `tx_index` on `QueryTraceTxRequest` proto type. +* (evm) [tharsis#1091](https://github.com/evmos/ethermint/pull/1091) Add query params command on EVM Module ### Improvements -* (deps) [tharsis#1046](https://github.com/tharsis/ethermint/pull/1046) Bump Cosmos SDK version to [`v0.45.3`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.3) -* (rpc) [tharsis#1056](https://github.com/tharsis/ethermint/pull/1056) Make json-rpc namespaces extensible +* (deps) [tharsis#1046](https://github.com/evmos/ethermint/pull/1046) Bump Cosmos SDK version to [`v0.45.3`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.3) +* (rpc) [tharsis#1056](https://github.com/evmos/ethermint/pull/1056) Make json-rpc namespaces extensible ### Bug Fixes -* (rpc) [tharsis#1050](https://github.com/tharsis/ethermint/pull/1050) `eth_getBlockByNumber` fix on batch transactions -* (app) [tharsis#658](https://github.com/tharsis/ethermint/issues/658) Support simulations for the EVM. +* (rpc) [tharsis#1050](https://github.com/evmos/ethermint/pull/1050) `eth_getBlockByNumber` fix on batch transactions +* (app) [tharsis#658](https://github.com/evmos/ethermint/issues/658) Support simulations for the EVM. ## [v0.13.0] - 2022-04-05 ### API Breaking -* (evm) [tharsis#1027](https://github.com/tharsis/ethermint/pull/1027) Change the `PostTxProcessing` hook interface to include the full message data. -* (feemarket) [tharsis#1026](https://github.com/tharsis/ethermint/pull/1026) Fix REST endpoints to use `/ethermint/feemarket/*` instead of `/feemarket/evm/*`. +* (evm) [tharsis#1027](https://github.com/evmos/ethermint/pull/1027) Change the `PostTxProcessing` hook interface to include the full message data. +* (feemarket) [tharsis#1026](https://github.com/evmos/ethermint/pull/1026) Fix REST endpoints to use `/ethermint/feemarket/*` instead of `/feemarket/evm/*`. ### Improvements -* (deps) [tharsis#1029](https://github.com/tharsis/ethermint/pull/1029) Bump Cosmos SDK version to [`v0.45.2`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.2) -* (evm) [tharsis#1025](https://github.com/tharsis/ethermint/pull/1025) Allow to append logs after a post processing hook. +* (deps) [tharsis#1029](https://github.com/evmos/ethermint/pull/1029) Bump Cosmos SDK version to [`v0.45.2`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.2) +* (evm) [tharsis#1025](https://github.com/evmos/ethermint/pull/1025) Allow to append logs after a post processing hook. ## [v0.12.2] - 2022-03-30 ### Bug Fixes -* (feemarket) [tharsis#1021](https://github.com/tharsis/ethermint/pull/1021) Fix fee market migration. +* (feemarket) [tharsis#1021](https://github.com/evmos/ethermint/pull/1021) Fix fee market migration. ## [v0.12.1] - 2022-03-29 ### Bug Fixes -* (evm) [tharsis#1016](https://github.com/tharsis/ethermint/pull/1016) Update validate basic check for storage state. +* (evm) [tharsis#1016](https://github.com/evmos/ethermint/pull/1016) Update validate basic check for storage state. ## [v0.12.0] - 2022-03-24 ### Bug Fixes -* (rpc) [tharsis#1012](https://github.com/tharsis/ethermint/pull/1012) fix the tx hash in filter entries created by `eth_newPendingTransactionFilter`. -* (rpc) [tharsis#1006](https://github.com/tharsis/ethermint/pull/1006) Use `string` as the parameters type to correct ambiguous results. -* (ante) [tharsis#1004](https://github.com/tharsis/ethermint/pull/1004) Make `MaxTxGasWanted` configurable. -* (ante) [tharsis#991](https://github.com/tharsis/ethermint/pull/991) Set an upper bound to gasWanted to prevent DoS attack. -* (rpc) [tharsis#990](https://github.com/tharsis/ethermint/pull/990) Calculate reward values from all `MsgEthereumTx` from a block in `eth_feeHistory`. +* (rpc) [tharsis#1012](https://github.com/evmos/ethermint/pull/1012) fix the tx hash in filter entries created by `eth_newPendingTransactionFilter`. +* (rpc) [tharsis#1006](https://github.com/evmos/ethermint/pull/1006) Use `string` as the parameters type to correct ambiguous results. +* (ante) [tharsis#1004](https://github.com/evmos/ethermint/pull/1004) Make `MaxTxGasWanted` configurable. +* (ante) [tharsis#991](https://github.com/evmos/ethermint/pull/991) Set an upper bound to gasWanted to prevent DoS attack. +* (rpc) [tharsis#990](https://github.com/evmos/ethermint/pull/990) Calculate reward values from all `MsgEthereumTx` from a block in `eth_feeHistory`. ## [v0.11.0] - 2022-03-06 ### State Machine Breaking -* (ante) [tharsis#964](https://github.com/tharsis/ethermint/pull/964) add NewInfiniteGasMeterWithLimit for storing the user provided gas limit. Fixes block's consumed gas calculation in the block creation phase. +* (ante) [tharsis#964](https://github.com/evmos/ethermint/pull/964) add NewInfiniteGasMeterWithLimit for storing the user provided gas limit. Fixes block's consumed gas calculation in the block creation phase. ### Bug Fixes -* (rpc) [tharsis#975](https://github.com/tharsis/ethermint/pull/975) Fix unexpected `nil` values for `reward`, returned by `EffectiveGasTipValue(blockBaseFee)` in the `eth_feeHistory` RPC method. +* (rpc) [tharsis#975](https://github.com/evmos/ethermint/pull/975) Fix unexpected `nil` values for `reward`, returned by `EffectiveGasTipValue(blockBaseFee)` in the `eth_feeHistory` RPC method. ### Improvements -- (rpc) [tharsis#979](https://github.com/tharsis/ethermint/pull/979) Add configurable timeouts to http server -- (rpc) [tharsis#988](https://github.com/tharsis/ethermint/pull/988) json-rpc server always use local rpc client +* (rpc) [tharsis#979](https://github.com/evmos/ethermint/pull/979) Add configurable timeouts to http server +* (rpc) [tharsis#988](https://github.com/evmos/ethermint/pull/988) json-rpc server always use local rpc client ## [v0.10.1] - 2022-03-04 ### Bug Fixes -* (rpc) [tharsis#970](https://github.com/tharsis/ethermint/pull/970) Fix unexpected nil reward values on `eth_feeHistory` response -* (evm) [tharsis#529](https://github.com/tharsis/ethermint/issues/529) Add support return value on trace tx response. +* (rpc) [tharsis#970](https://github.com/evmos/ethermint/pull/970) Fix unexpected nil reward values on `eth_feeHistory` response +* (evm) [tharsis#529](https://github.com/evmos/ethermint/issues/529) Add support return value on trace tx response. ### Improvements -* (rpc) [tharsis#968](https://github.com/tharsis/ethermint/pull/968) Add some buffer to returned gas price to provide better default UX for client. +* (rpc) [tharsis#968](https://github.com/evmos/ethermint/pull/968) Add some buffer to returned gas price to provide better default UX for client. ## [v0.10.0] - 2022-02-26 ### API Breaking -* (ante) [tharsis#866](https://github.com/tharsis/ethermint/pull/866) `NewAnteHandler` constructor now receives a `HandlerOptions` field. -* (evm) [tharsis#849](https://github.com/tharsis/ethermint/pull/849) `PostTxProcessing` hook now takes an Ethereum tx `Receipt` and a `from` `Address` as arguments. -* (ante) [tharsis#916](https://github.com/tharsis/ethermint/pull/916) Don't check min-gas-price for eth tx if london hardfork enabled and feemarket enabled. +* (ante) [tharsis#866](https://github.com/evmos/ethermint/pull/866) `NewAnteHandler` constructor now receives a `HandlerOptions` field. +* (evm) [tharsis#849](https://github.com/evmos/ethermint/pull/849) `PostTxProcessing` hook now takes an Ethereum tx `Receipt` and a `from` `Address` as arguments. +* (ante) [tharsis#916](https://github.com/evmos/ethermint/pull/916) Don't check min-gas-price for eth tx if london hardfork enabled and feemarket enabled. ### State Machine Breaking -* (deps) [tharsis#912](https://github.com/tharsis/ethermint/pull/912) Bump Cosmos SDK version to [`v0.45.1`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.1) -* (evm) [tharsis#840](https://github.com/tharsis/ethermint/pull/840) Store empty topics as empty array rather than nil. -* (feemarket) [tharsis#822](https://github.com/tharsis/ethermint/pull/822) Update EIP1559 base fee in `BeginBlock`. -* (evm) [tharsis#817](https://github.com/tharsis/ethermint/pull/817) Use `effectiveGasPrice` in ante handler, add `effectiveGasPrice` to tx receipt. -* (evm) [tharsis#808](https://github.com/tharsis/ethermint/issues/808) increase nonce in ante handler for contract creation transaction. -* (evm) [tharsis#851](https://github.com/tharsis/ethermint/pull/851) fix contract address used in EVM, this issue is caused by [tharsis#808](https://github.com/tharsis/ethermint/issues/808). +* (deps) [tharsis#912](https://github.com/evmos/ethermint/pull/912) Bump Cosmos SDK version to [`v0.45.1`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.1) +* (evm) [tharsis#840](https://github.com/evmos/ethermint/pull/840) Store empty topics as empty array rather than nil. +* (feemarket) [tharsis#822](https://github.com/evmos/ethermint/pull/822) Update EIP1559 base fee in `BeginBlock`. +* (evm) [tharsis#817](https://github.com/evmos/ethermint/pull/817) Use `effectiveGasPrice` in ante handler, add `effectiveGasPrice` to tx receipt. +* (evm) [tharsis#808](https://github.com/evmos/ethermint/issues/808) increase nonce in ante handler for contract creation transaction. +* (evm) [tharsis#851](https://github.com/evmos/ethermint/pull/851) fix contract address used in EVM, this issue is caused by [tharsis#808](https://github.com/evmos/ethermint/issues/808). * (evm) Reject invalid `MsgEthereumTx` wrapping tx * (evm) Fix `SelfDestruct` opcode by deleting account code and state. -* (feemarket) [tharsis#855](https://github.com/tharsis/ethermint/pull/855) Consistent `BaseFee` check logic. -* (evm) [tharsis#729](https://github.com/tharsis/ethermint/pull/729) Refactor EVM `StateDB` implementation. -* (evm) [tharsis#945](https://github.com/tharsis/ethermint/pull/945) Bumb Go-ethereum version to [`v1.10.16`](https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16) +* (feemarket) [tharsis#855](https://github.com/evmos/ethermint/pull/855) Consistent `BaseFee` check logic. +* (evm) [tharsis#729](https://github.com/evmos/ethermint/pull/729) Refactor EVM `StateDB` implementation. +* (evm) [tharsis#945](https://github.com/evmos/ethermint/pull/945) Bumb Go-ethereum version to [`v1.10.16`](https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16) ### Features -* (ante) [tharsis#950](https://github.com/tharsis/ethermint/pull/950) Add support for EIP712 signed Cosmos transactions +* (ante) [tharsis#950](https://github.com/evmos/ethermint/pull/950) Add support for EIP712 signed Cosmos transactions ### Improvements -* (types) [tharsis#884](https://github.com/tharsis/ethermint/pull/884) Introduce a new `EthAccountI` interface for EVM-compatible account types. -* (types) [tharsis#849](https://github.com/tharsis/ethermint/pull/849) Add `Type` function to distinguish EOAs from Contract accounts. -* (evm) [tharsis#826](https://github.com/tharsis/ethermint/issues/826) Improve allocation of bytes of `tx.To` address. -* (evm) [tharsis#827](https://github.com/tharsis/ethermint/issues/827) Speed up creation of event logs by using the slice insertion idiom with indices. -* (ante) [tharsis#819](https://github.com/tharsis/ethermint/pull/819) Remove redundant ante handlers -* (app) [tharsis#873](https://github.com/tharsis/ethermint/pull/873) Validate code hash in GenesisAccount -* (evm) [tharsis#901](https://github.com/tharsis/ethermint/pull/901) Support multiple `MsgEthereumTx` in single tx. -* (config) [tharsis#908](https://github.com/tharsis/ethermint/pull/908) Add `api.enable` flag for Cosmos SDK Rest server -* (feemarket) [tharsis#919](https://github.com/tharsis/ethermint/pull/919) Initialize baseFee in default genesis state. -* (feemarket) [tharsis#943](https://github.com/tharsis/ethermint/pull/943) Store the base fee as a module param instead of using state storage. +* (types) [tharsis#884](https://github.com/evmos/ethermint/pull/884) Introduce a new `EthAccountI` interface for EVM-compatible account types. +* (types) [tharsis#849](https://github.com/evmos/ethermint/pull/849) Add `Type` function to distinguish EOAs from Contract accounts. +* (evm) [tharsis#826](https://github.com/evmos/ethermint/issues/826) Improve allocation of bytes of `tx.To` address. +* (evm) [tharsis#827](https://github.com/evmos/ethermint/issues/827) Speed up creation of event logs by using the slice insertion idiom with indices. +* (ante) [tharsis#819](https://github.com/evmos/ethermint/pull/819) Remove redundant ante handlers +* (app) [tharsis#873](https://github.com/evmos/ethermint/pull/873) Validate code hash in GenesisAccount +* (evm) [tharsis#901](https://github.com/evmos/ethermint/pull/901) Support multiple `MsgEthereumTx` in single tx. +* (config) [tharsis#908](https://github.com/evmos/ethermint/pull/908) Add `api.enable` flag for Cosmos SDK Rest server +* (feemarket) [tharsis#919](https://github.com/evmos/ethermint/pull/919) Initialize baseFee in default genesis state. +* (feemarket) [tharsis#943](https://github.com/evmos/ethermint/pull/943) Store the base fee as a module param instead of using state storage. ### Bug Fixes -* (rpc) [tharsis#955](https://github.com/tharsis/ethermint/pull/955) Fix websocket server push duplicated messages to subscriber. -* (rpc) [tharsis#953](https://github.com/tharsis/ethermint/pull/953) Add `eth_signTypedData` api support. -* (log) [tharsis#948](https://github.com/tharsis/ethermint/pull/948) Redirect go-ethereum's logs to cosmos-sdk logger. -* (evm) [tharsis#884](https://github.com/tharsis/ethermint/pull/884) Support multiple account types on the EVM `StateDB`. -* (rpc) [tharsis#831](https://github.com/tharsis/ethermint/pull/831) Fix BaseFee value when height is specified. -* (evm) [tharsis#838](https://github.com/tharsis/ethermint/pull/838) Fix splitting of trace.Memory into 32 chunks. -* (rpc) [tharsis#860](https://github.com/tharsis/ethermint/pull/860) Fix `eth_getLogs` when specify blockHash without address/topics, and limit the response size. -* (rpc) [tharsis#865](https://github.com/tharsis/ethermint/pull/865) Fix RPC Filter parameters being ignored -* (evm) [tharsis#871](https://github.com/tharsis/ethermint/pull/871) Set correct nonce in `EthCall` and `EstimateGas` grpc query. -* (rpc) [tharsis#878](https://github.com/tharsis/ethermint/pull/878) Workaround to make GetBlock RPC api report correct block gas used. -* (rpc) [tharsis#900](https://github.com/tharsis/ethermint/pull/900) `newPendingTransactions` filter return ethereum tx hash. -* (rpc) [tharsis#933](https://github.com/tharsis/ethermint/pull/933) Fix `newPendingTransactions` subscription deadlock when a Websocket client exits without unsubscribing and the node errors. -* (evm) [tharsis#932](https://github.com/tharsis/ethermint/pull/932) Fix base fee check logic in state transition. +* (rpc) [tharsis#955](https://github.com/evmos/ethermint/pull/955) Fix websocket server push duplicated messages to subscriber. +* (rpc) [tharsis#953](https://github.com/evmos/ethermint/pull/953) Add `eth_signTypedData` api support. +* (log) [tharsis#948](https://github.com/evmos/ethermint/pull/948) Redirect go-ethereum's logs to cosmos-sdk logger. +* (evm) [tharsis#884](https://github.com/evmos/ethermint/pull/884) Support multiple account types on the EVM `StateDB`. +* (rpc) [tharsis#831](https://github.com/evmos/ethermint/pull/831) Fix BaseFee value when height is specified. +* (evm) [tharsis#838](https://github.com/evmos/ethermint/pull/838) Fix splitting of trace.Memory into 32 chunks. +* (rpc) [tharsis#860](https://github.com/evmos/ethermint/pull/860) Fix `eth_getLogs` when specify blockHash without address/topics, and limit the response size. +* (rpc) [tharsis#865](https://github.com/evmos/ethermint/pull/865) Fix RPC Filter parameters being ignored +* (evm) [tharsis#871](https://github.com/evmos/ethermint/pull/871) Set correct nonce in `EthCall` and `EstimateGas` grpc query. +* (rpc) [tharsis#878](https://github.com/evmos/ethermint/pull/878) Workaround to make GetBlock RPC api report correct block gas used. +* (rpc) [tharsis#900](https://github.com/evmos/ethermint/pull/900) `newPendingTransactions` filter return ethereum tx hash. +* (rpc) [tharsis#933](https://github.com/evmos/ethermint/pull/933) Fix `newPendingTransactions` subscription deadlock when a Websocket client exits without unsubscribing and the node errors. +* (evm) [tharsis#932](https://github.com/evmos/ethermint/pull/932) Fix base fee check logic in state transition. ## [v0.9.0] - 2021-12-01 ### State Machine Breaking -* (evm) [tharsis#802](https://github.com/tharsis/ethermint/pull/802) Clear access list for each transaction +* (evm) [tharsis#802](https://github.com/evmos/ethermint/pull/802) Clear access list for each transaction ### Improvements -* (app) [tharsis#794](https://github.com/tharsis/ethermint/pull/794) Setup in-place store migrators. -* (ci) [tharsis#784](https://github.com/tharsis/ethermint/pull/784) Enable automatic backport of PRs. -* (rpc) [tharsis#786](https://github.com/tharsis/ethermint/pull/786) Improve error message of `SendTransaction`/`SendRawTransaction` JSON-RPC APIs. -* (rpc) [tharsis#810](https://github.com/tharsis/ethermint/pull/810) Optimize tx index lookup in web3 rpc +* (app) [tharsis#794](https://github.com/evmos/ethermint/pull/794) Setup in-place store migrators. +* (ci) [tharsis#784](https://github.com/evmos/ethermint/pull/784) Enable automatic backport of PRs. +* (rpc) [tharsis#786](https://github.com/evmos/ethermint/pull/786) Improve error message of `SendTransaction`/`SendRawTransaction` JSON-RPC APIs. +* (rpc) [tharsis#810](https://github.com/evmos/ethermint/pull/810) Optimize tx index lookup in web3 rpc ### Bug Fixes -* (license) [tharsis#800](https://github.com/tharsis/ethermint/pull/800) Re-license project to [LGPLv3](https://choosealicense.com/licenses/lgpl-3.0/#) to comply with go-ethereum. -* (evm) [tharsis#794](https://github.com/tharsis/ethermint/pull/794) Register EVM gRPC `Msg` server. -* (rpc) [tharsis#781](https://github.com/tharsis/ethermint/pull/781) Fix get block invalid transactions filter. -* (rpc) [tharsis#782](https://github.com/tharsis/ethermint/pull/782) Fix wrong block gas limit returned by JSON-RPC. -* (evm) [tharsis#798](https://github.com/tharsis/ethermint/pull/798) Fix the semantic of `ForEachStorage` callback's return value +* (license) [tharsis#800](https://github.com/evmos/ethermint/pull/800) Re-license project to [LGPLv3](https://choosealicense.com/licenses/lgpl-3.0/#) to comply with go-ethereum. +* (evm) [tharsis#794](https://github.com/evmos/ethermint/pull/794) Register EVM gRPC `Msg` server. +* (rpc) [tharsis#781](https://github.com/evmos/ethermint/pull/781) Fix get block invalid transactions filter. +* (rpc) [tharsis#782](https://github.com/evmos/ethermint/pull/782) Fix wrong block gas limit returned by JSON-RPC. +* (evm) [tharsis#798](https://github.com/evmos/ethermint/pull/798) Fix the semantic of `ForEachStorage` callback's return value ## [v0.8.1] - 2021-11-23 ### Bug Fixes -* (feemarket) [tharsis#770](https://github.com/tharsis/ethermint/pull/770) Enable fee market (EIP1559) by default. -* (rpc) [tharsis#769](https://github.com/tharsis/ethermint/pull/769) Fix default Ethereum signer for JSON-RPC. +* (feemarket) [tharsis#770](https://github.com/evmos/ethermint/pull/770) Enable fee market (EIP1559) by default. +* (rpc) [tharsis#769](https://github.com/evmos/ethermint/pull/769) Fix default Ethereum signer for JSON-RPC. ## [v0.8.0] - 2021-11-17 ### State Machine Breaking -* (evm, ante) [tharsis#620](https://github.com/tharsis/ethermint/pull/620) Add fee market field to EVM `Keeper` and `AnteHandler`. -* (all) [tharsis#231](https://github.com/tharsis/ethermint/pull/231) Bump go-ethereum version to [`v1.10.9`](https://github.com/ethereum/go-ethereum/releases/tag/v1.10.9) -* (ante) [tharsis#703](https://github.com/tharsis/ethermint/pull/703) Fix some fields in transaction are not authenticated by signature. -* (evm) [tharsis#751](https://github.com/tharsis/ethermint/pull/751) don't revert gas refund logic when transaction reverted +* (evm, ante) [tharsis#620](https://github.com/evmos/ethermint/pull/620) Add fee market field to EVM `Keeper` and `AnteHandler`. +* (all) [tharsis#231](https://github.com/evmos/ethermint/pull/231) Bump go-ethereum version to [`v1.10.9`](https://github.com/ethereum/go-ethereum/releases/tag/v1.10.9) +* (ante) [tharsis#703](https://github.com/evmos/ethermint/pull/703) Fix some fields in transaction are not authenticated by signature. +* (evm) [tharsis#751](https://github.com/evmos/ethermint/pull/751) don't revert gas refund logic when transaction reverted ### Features -* (rpc, evm) [tharsis#673](https://github.com/tharsis/ethermint/pull/673) Use tendermint events to store fee market basefee. -* (rpc) [tharsis#624](https://github.com/tharsis/ethermint/pull/624) Implement new JSON-RPC endpoints from latest geth version -* (evm) [tharsis#662](https://github.com/tharsis/ethermint/pull/662) Disable basefee for non london blocks -* (cmd) [tharsis#712](https://github.com/tharsis/ethermint/pull/712) add tx cli to build evm transaction -* (rpc) [tharsis#733](https://github.com/tharsis/ethermint/pull/733) add JSON_RPC endpoint `personal_unpair` -* (rpc) [tharsis#734](https://github.com/tharsis/ethermint/pull/734) add JSON_RPC endpoint `eth_feeHistory` -* (rpc) [tharsis#740](https://github.com/tharsis/ethermint/pull/740) add JSON_RPC endpoint `personal_initializeWallet` -* (rpc) [tharsis#743](https://github.com/tharsis/ethermint/pull/743) add JSON_RPC endpoint `debug_traceBlockByHash` -* (rpc) [tharsis#748](https://github.com/tharsis/ethermint/pull/748) add JSON_RPC endpoint `personal_listWallets` -* (rpc) [tharsis#754](https://github.com/tharsis/ethermint/pull/754) add JSON_RPC endpoint `debug_intermediateRoots` +* (rpc, evm) [tharsis#673](https://github.com/evmos/ethermint/pull/673) Use tendermint events to store fee market basefee. +* (rpc) [tharsis#624](https://github.com/evmos/ethermint/pull/624) Implement new JSON-RPC endpoints from latest geth version +* (evm) [tharsis#662](https://github.com/evmos/ethermint/pull/662) Disable basefee for non london blocks +* (cmd) [tharsis#712](https://github.com/evmos/ethermint/pull/712) add tx cli to build evm transaction +* (rpc) [tharsis#733](https://github.com/evmos/ethermint/pull/733) add JSON_RPC endpoint `personal_unpair` +* (rpc) [tharsis#734](https://github.com/evmos/ethermint/pull/734) add JSON_RPC endpoint `eth_feeHistory` +* (rpc) [tharsis#740](https://github.com/evmos/ethermint/pull/740) add JSON_RPC endpoint `personal_initializeWallet` +* (rpc) [tharsis#743](https://github.com/evmos/ethermint/pull/743) add JSON_RPC endpoint `debug_traceBlockByHash` +* (rpc) [tharsis#748](https://github.com/evmos/ethermint/pull/748) add JSON_RPC endpoint `personal_listWallets` +* (rpc) [tharsis#754](https://github.com/evmos/ethermint/pull/754) add JSON_RPC endpoint `debug_intermediateRoots` ### Bug Fixes -* (evm) [tharsis#746](https://github.com/tharsis/ethermint/pull/746) Set EVM debugging based on tracer configuration. -* (app,cli) [tharsis#725](https://github.com/tharsis/ethermint/pull/725) Fix cli-config for `keys` command. -* (rpc) [tharsis#727](https://github.com/tharsis/ethermint/pull/727) Decode raw transaction using RLP. -* (rpc) [tharsis#661](https://github.com/tharsis/ethermint/pull/661) Fix OOM bug when creating too many filters using JSON-RPC. -* (evm) [tharsis#660](https://github.com/tharsis/ethermint/pull/660) Fix `nil` pointer panic in `ApplyNativeMessage`. -* (evm, test) [tharsis#649](https://github.com/tharsis/ethermint/pull/649) Test DynamicFeeTx. -* (evm) [tharsis#702](https://github.com/tharsis/ethermint/pull/702) Fix panic in web3 RPC handlers -* (rpc) [tharsis#720](https://github.com/tharsis/ethermint/pull/720) Fix `debug_traceTransaction` failure -* (rpc) [tharsis#741](https://github.com/tharsis/ethermint/pull/741) Fix `eth_getBlockByNumberAndHash` return with non eth txs -* (rpc) [tharsis#743](https://github.com/tharsis/ethermint/pull/743) Fix debug JSON RPC handler crash on non-existing block +* (evm) [tharsis#746](https://github.com/evmos/ethermint/pull/746) Set EVM debugging based on tracer configuration. +* (app,cli) [tharsis#725](https://github.com/evmos/ethermint/pull/725) Fix cli-config for `keys` command. +* (rpc) [tharsis#727](https://github.com/evmos/ethermint/pull/727) Decode raw transaction using RLP. +* (rpc) [tharsis#661](https://github.com/evmos/ethermint/pull/661) Fix OOM bug when creating too many filters using JSON-RPC. +* (evm) [tharsis#660](https://github.com/evmos/ethermint/pull/660) Fix `nil` pointer panic in `ApplyNativeMessage`. +* (evm, test) [tharsis#649](https://github.com/evmos/ethermint/pull/649) Test DynamicFeeTx. +* (evm) [tharsis#702](https://github.com/evmos/ethermint/pull/702) Fix panic in web3 RPC handlers +* (rpc) [tharsis#720](https://github.com/evmos/ethermint/pull/720) Fix `debug_traceTransaction` failure +* (rpc) [tharsis#741](https://github.com/evmos/ethermint/pull/741) Fix `eth_getBlockByNumberAndHash` return with non eth txs +* (rpc) [tharsis#743](https://github.com/evmos/ethermint/pull/743) Fix debug JSON RPC handler crash on non-existing block ### Improvements -* (tests) [tharsis#704](https://github.com/tharsis/ethermint/pull/704) Introduce E2E testing framework for clients -* (deps) [tharsis#737](https://github.com/tharsis/ethermint/pull/737) Bump ibc-go to [`v2.0.0`](https://github.com/cosmos/ibc-go/releases/tag/v2.0.0) -* (rpc) [tharsis#671](https://github.com/tharsis/ethermint/pull/671) Don't pass base fee externally for `EthCall`/`EthEstimateGas` apis. -* (evm) [tharsis#674](https://github.com/tharsis/ethermint/pull/674) Refactor `ApplyMessage`, remove +* (tests) [tharsis#704](https://github.com/evmos/ethermint/pull/704) Introduce E2E testing framework for clients +* (deps) [tharsis#737](https://github.com/evmos/ethermint/pull/737) Bump ibc-go to [`v2.0.0`](https://github.com/cosmos/ibc-go/releases/tag/v2.0.0) +* (rpc) [tharsis#671](https://github.com/evmos/ethermint/pull/671) Don't pass base fee externally for `EthCall`/`EthEstimateGas` apis. +* (evm) [tharsis#674](https://github.com/evmos/ethermint/pull/674) Refactor `ApplyMessage`, remove `ApplyNativeMessage`. -* (rpc) [tharsis#714](https://github.com/tharsis/ethermint/pull/714) remove `MsgEthereumTx` support in `TxConfig` +* (rpc) [tharsis#714](https://github.com/evmos/ethermint/pull/714) remove `MsgEthereumTx` support in `TxConfig` ## [v0.7.2] - 2021-10-24 ### Improvements -* (deps) [tharsis#692](https://github.com/tharsis/ethermint/pull/692) Bump Cosmos SDK version to [`v0.44.3`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.3). -* (rpc) [tharsis#679](https://github.com/tharsis/ethermint/pull/679) Fix file close handle. -* (deps) [tharsis#668](https://github.com/tharsis/ethermint/pull/668) Bump Tendermint version to [`v0.34.14`](https://github.com/tendermint/tendermint/releases/tag/v0.34.14). +* (deps) [tharsis#692](https://github.com/evmos/ethermint/pull/692) Bump Cosmos SDK version to [`v0.44.3`](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.3). +* (rpc) [tharsis#679](https://github.com/evmos/ethermint/pull/679) Fix file close handle. +* (deps) [tharsis#668](https://github.com/evmos/ethermint/pull/668) Bump Tendermint version to [`v0.34.14`](https://github.com/tendermint/tendermint/releases/tag/v0.34.14). ### Bug Fixes -* (rpc) [tharsis#667](https://github.com/tharsis/ethermint/issues/667) Fix `ExpandHome` restrictions bypass +* (rpc) [tharsis#667](https://github.com/evmos/ethermint/issues/667) Fix `ExpandHome` restrictions bypass ## [v0.7.1] - 2021-10-08 ### Bug Fixes -* (evm) [tharsis#650](https://github.com/tharsis/ethermint/pull/650) Fix panic when flattening the cache context in case transaction is reverted. -* (rpc, test) [tharsis#608](https://github.com/tharsis/ethermint/pull/608) Fix rpc test. +* (evm) [tharsis#650](https://github.com/evmos/ethermint/pull/650) Fix panic when flattening the cache context in case transaction is reverted. +* (rpc, test) [tharsis#608](https://github.com/evmos/ethermint/pull/608) Fix rpc test. ## [v0.7.0] - 2021-10-07 ### API Breaking -* (rpc) [tharsis#400](https://github.com/tharsis/ethermint/issues/400) Restructure JSON-RPC directory and rename server config +* (rpc) [tharsis#400](https://github.com/evmos/ethermint/issues/400) Restructure JSON-RPC directory and rename server config ### Improvements -* (deps) [tharsis#621](https://github.com/tharsis/ethermint/pull/621) Bump IBC-go to [`v1.2.1`](https://github.com/cosmos/ibc-go/releases/tag/v1.2.1) -* (evm) [tharsis#613](https://github.com/tharsis/ethermint/pull/613) Refactor `traceTx` -* (deps) [tharsis#610](https://github.com/tharsis/ethermint/pull/610) Bump Cosmos SDK to [v0.44.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.1). +* (deps) [tharsis#621](https://github.com/evmos/ethermint/pull/621) Bump IBC-go to [`v1.2.1`](https://github.com/cosmos/ibc-go/releases/tag/v1.2.1) +* (evm) [tharsis#613](https://github.com/evmos/ethermint/pull/613) Refactor `traceTx` +* (deps) [tharsis#610](https://github.com/evmos/ethermint/pull/610) Bump Cosmos SDK to [v0.44.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.1). ### Bug Fixes -* (rpc) [tharsis#642](https://github.com/tharsis/ethermint/issues/642) Fix `eth_getLogs` when string is specified in filter's from or to fields -* (evm) [tharsis#616](https://github.com/tharsis/ethermint/issues/616) Fix halt on deeply nested stack of cache context. Stack is now flattened before iterating over the tx logs. -* (rpc, evm) [tharsis#614](https://github.com/tharsis/ethermint/issues/614) Use JSON for (un)marshaling tx `Log`s from events. -* (rpc) [tharsis#611](https://github.com/tharsis/ethermint/pull/611) Fix panic on JSON-RPC when querying for an invalid block height. -* (cmd) [tharsis#483](https://github.com/tharsis/ethermint/pull/483) Use config values on genesis accounts. +* (rpc) [tharsis#642](https://github.com/evmos/ethermint/issues/642) Fix `eth_getLogs` when string is specified in filter's from or to fields +* (evm) [tharsis#616](https://github.com/evmos/ethermint/issues/616) Fix halt on deeply nested stack of cache context. Stack is now flattened before iterating over the tx logs. +* (rpc, evm) [tharsis#614](https://github.com/evmos/ethermint/issues/614) Use JSON for (un)marshaling tx `Log`s from events. +* (rpc) [tharsis#611](https://github.com/evmos/ethermint/pull/611) Fix panic on JSON-RPC when querying for an invalid block height. +* (cmd) [tharsis#483](https://github.com/evmos/ethermint/pull/483) Use config values on genesis accounts. ## [v0.6.0] - 2021-09-29 ### State Machine Breaking -* (app) [tharsis#476](https://github.com/tharsis/ethermint/pull/476) Update Bech32 HRP to `ethm`. -* (evm) [tharsis#556](https://github.com/tharsis/ethermint/pull/556) Remove tx logs and block bloom from chain state -* (evm) [tharsis#590](https://github.com/tharsis/ethermint/pull/590) Contract storage key is not hashed anymore +* (app) [tharsis#476](https://github.com/evmos/ethermint/pull/476) Update Bech32 HRP to `ethm`. +* (evm) [tharsis#556](https://github.com/evmos/ethermint/pull/556) Remove tx logs and block bloom from chain state +* (evm) [tharsis#590](https://github.com/evmos/ethermint/pull/590) Contract storage key is not hashed anymore ### API Breaking -* (evm) [tharsis#469](https://github.com/tharsis/ethermint/pull/469) Deprecate `YoloV3Block` and `EWASMBlock` from `ChainConfig` +* (evm) [tharsis#469](https://github.com/evmos/ethermint/pull/469) Deprecate `YoloV3Block` and `EWASMBlock` from `ChainConfig` ### Features -* (evm) [tharsis#469](https://github.com/tharsis/ethermint/pull/469) Support [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559) -* (evm) [tharsis#417](https://github.com/tharsis/ethermint/pull/417) Add `EvmHooks` for tx post-processing -* (rpc) [tharsis#506](https://github.com/tharsis/ethermint/pull/506) Support for `debug_traceTransaction` RPC endpoint -* (rpc) [tharsis#555](https://github.com/tharsis/ethermint/pull/555) Support for `debug_traceBlockByNumber` RPC endpoint +* (evm) [tharsis#469](https://github.com/evmos/ethermint/pull/469) Support [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559) +* (evm) [tharsis#417](https://github.com/evmos/ethermint/pull/417) Add `EvmHooks` for tx post-processing +* (rpc) [tharsis#506](https://github.com/evmos/ethermint/pull/506) Support for `debug_traceTransaction` RPC endpoint +* (rpc) [tharsis#555](https://github.com/evmos/ethermint/pull/555) Support for `debug_traceBlockByNumber` RPC endpoint ### Bug Fixes -* (rpc, server) [tharsis#600](https://github.com/tharsis/ethermint/pull/600) Add TLS configuration for websocket API -* (rpc) [tharsis#598](https://github.com/tharsis/ethermint/pull/598) Check truncation when creating a `BlockNumber` from `big.Int` -* (evm) [tharsis#597](https://github.com/tharsis/ethermint/pull/597) Check for `uint64` -> `int64` block height overflow on `GetHashFn` -* (evm) [tharsis#579](https://github.com/tharsis/ethermint/pull/579) Update `DeriveChainID` function to handle `v` signature values `< 35`. -* (encoding) [tharsis#478](https://github.com/tharsis/ethermint/pull/478) Register `Evidence` to amino codec. -* (rpc) [tharsis#478](https://github.com/tharsis/ethermint/pull/481) Getting the node configuration when calling the `miner` rpc methods. -* (cli) [tharsis#561](https://github.com/tharsis/ethermint/pull/561) `Export` and `Start` commands now use the same home directory. +* (rpc, server) [tharsis#600](https://github.com/evmos/ethermint/pull/600) Add TLS configuration for websocket API +* (rpc) [tharsis#598](https://github.com/evmos/ethermint/pull/598) Check truncation when creating a `BlockNumber` from `big.Int` +* (evm) [tharsis#597](https://github.com/evmos/ethermint/pull/597) Check for `uint64` -> `int64` block height overflow on `GetHashFn` +* (evm) [tharsis#579](https://github.com/evmos/ethermint/pull/579) Update `DeriveChainID` function to handle `v` signature values `< 35`. +* (encoding) [tharsis#478](https://github.com/evmos/ethermint/pull/478) Register `Evidence` to amino codec. +* (rpc) [tharsis#478](https://github.com/evmos/ethermint/pull/481) Getting the node configuration when calling the `miner` rpc methods. +* (cli) [tharsis#561](https://github.com/evmos/ethermint/pull/561) `Export` and `Start` commands now use the same home directory. ### Improvements -* (evm) [tharsis#461](https://github.com/tharsis/ethermint/pull/461) Increase performance of `StateDB` transaction log storage (r/w). -* (evm) [tharsis#566](https://github.com/tharsis/ethermint/pull/566) Introduce `stateErr` store in `StateDB` to avoid meaningless operations if any error happened before -* (rpc, evm) [tharsis#587](https://github.com/tharsis/ethermint/pull/587) Apply bloom filter when query ethlogs with range of blocks -* (evm) [tharsis#586](https://github.com/tharsis/ethermint/pull/586) Benchmark evm keeper +* (evm) [tharsis#461](https://github.com/evmos/ethermint/pull/461) Increase performance of `StateDB` transaction log storage (r/w). +* (evm) [tharsis#566](https://github.com/evmos/ethermint/pull/566) Introduce `stateErr` store in `StateDB` to avoid meaningless operations if any error happened before +* (rpc, evm) [tharsis#587](https://github.com/evmos/ethermint/pull/587) Apply bloom filter when query ethlogs with range of blocks +* (evm) [tharsis#586](https://github.com/evmos/ethermint/pull/586) Benchmark evm keeper ## [v0.5.0] - 2021-08-20 ### State Machine Breaking -* (app, rpc) [tharsis#447](https://github.com/tharsis/ethermint/pull/447) Chain ID format has been changed from `-` to `_-` +* (app, rpc) [tharsis#447](https://github.com/evmos/ethermint/pull/447) Chain ID format has been changed from `-` to `_-` in order to clearly distinguish permanent vs impermanent components. -* (app, evm) [tharsis#434](https://github.com/tharsis/ethermint/pull/434) EVM `Keeper` struct and `NewEVM` function now have a new `trace` field to define +* (app, evm) [tharsis#434](https://github.com/evmos/ethermint/pull/434) EVM `Keeper` struct and `NewEVM` function now have a new `trace` field to define the Tracer type used to collect execution traces from the EVM transaction execution. -* (evm) [tharsis#175](https://github.com/tharsis/ethermint/issues/175) The msg `TxData` field is now represented as a `*proto.Any`. -* (evm) [tharsis#84](https://github.com/tharsis/ethermint/pull/84) Remove `journal`, `CommitStateDB` and `stateObjects`. -* (rpc, evm) [tharsis#81](https://github.com/tharsis/ethermint/pull/81) Remove tx `Receipt` from store and replace it with fields obtained from the Tendermint RPC client. -* (evm) [tharsis#72](https://github.com/tharsis/ethermint/issues/72) Update `AccessList` to use `TransientStore` instead of map. -* (evm) [tharsis#68](https://github.com/tharsis/ethermint/issues/68) Replace block hash storage map to use staking `HistoricalInfo`. -* (evm) [tharsis#276](https://github.com/tharsis/ethermint/pull/276) Vm errors don't result in cosmos tx failure, just +* (evm) [tharsis#175](https://github.com/evmos/ethermint/issues/175) The msg `TxData` field is now represented as a `*proto.Any`. +* (evm) [tharsis#84](https://github.com/evmos/ethermint/pull/84) Remove `journal`, `CommitStateDB` and `stateObjects`. +* (rpc, evm) [tharsis#81](https://github.com/evmos/ethermint/pull/81) Remove tx `Receipt` from store and replace it with fields obtained from the Tendermint RPC client. +* (evm) [tharsis#72](https://github.com/evmos/ethermint/issues/72) Update `AccessList` to use `TransientStore` instead of map. +* (evm) [tharsis#68](https://github.com/evmos/ethermint/issues/68) Replace block hash storage map to use staking `HistoricalInfo`. +* (evm) [tharsis#276](https://github.com/evmos/ethermint/pull/276) Vm errors don't result in cosmos tx failure, just different tx state and events. -* (evm) [tharsis#342](https://github.com/tharsis/ethermint/issues/342) Don't clear balance when resetting the account. -* (evm) [tharsis#334](https://github.com/tharsis/ethermint/pull/334) Log index changed to the index in block rather than +* (evm) [tharsis#342](https://github.com/evmos/ethermint/issues/342) Don't clear balance when resetting the account. +* (evm) [tharsis#334](https://github.com/evmos/ethermint/pull/334) Log index changed to the index in block rather than tx. -* (evm) [tharsis#399](https://github.com/tharsis/ethermint/pull/399) Exception in sub-message call reverts the call if it's not propagated. +* (evm) [tharsis#399](https://github.com/evmos/ethermint/pull/399) Exception in sub-message call reverts the call if it's not propagated. ### API Breaking -* (proto) [tharsis#448](https://github.com/tharsis/ethermint/pull/448) Bump version for all Ethermint messages to `v1` -* (server) [tharsis#434](https://github.com/tharsis/ethermint/pull/434) `evm-rpc` flags and app config have been renamed to `json-rpc`. -* (proto, evm) [tharsis#207](https://github.com/tharsis/ethermint/issues/207) Replace `big.Int` in favor of `sdk.Int` for `TxData` fields -* (proto, evm) [tharsis#81](https://github.com/tharsis/ethermint/pull/81) gRPC Query and Tx service changes: +* (proto) [tharsis#448](https://github.com/evmos/ethermint/pull/448) Bump version for all Ethermint messages to `v1` +* (server) [tharsis#434](https://github.com/evmos/ethermint/pull/434) `evm-rpc` flags and app config have been renamed to `json-rpc`. +* (proto, evm) [tharsis#207](https://github.com/evmos/ethermint/issues/207) Replace `big.Int` in favor of `sdk.Int` for `TxData` fields +* (proto, evm) [tharsis#81](https://github.com/evmos/ethermint/pull/81) gRPC Query and Tx service changes: * The `TxReceipt`, `TxReceiptsByBlockHeight` endpoints have been removed from the Query service. * The `ContractAddress`, `Bloom` have been removed from the `MsgEthereumTxResponse` and the response now contains the ethereum-formatted `Hash` in hex format. * (eth) [tharsis#845](https://github.com/cosmos/ethermint/pull/845) The `eth` namespace must be included in the list of API's as default to run the rpc server without error. -* (evm) [tharsis#202](https://github.com/tharsis/ethermint/pull/202) Web3 api `SendTransaction`/`SendRawTransaction` returns ethereum compatible transaction hash, and query api `GetTransaction*` also accept that. -* (rpc) [tharsis#258](https://github.com/tharsis/ethermint/pull/258) Return empty `BloomFilter` instead of throwing an error when it cannot be found (`nil` or empty). -* (rpc) [tharsis#277](https://github.com/tharsis/ethermint/pull/321) Fix `BloomFilter` response. +* (evm) [tharsis#202](https://github.com/evmos/ethermint/pull/202) Web3 api `SendTransaction`/`SendRawTransaction` returns ethereum compatible transaction hash, and query api `GetTransaction*` also accept that. +* (rpc) [tharsis#258](https://github.com/evmos/ethermint/pull/258) Return empty `BloomFilter` instead of throwing an error when it cannot be found (`nil` or empty). +* (rpc) [tharsis#277](https://github.com/evmos/ethermint/pull/321) Fix `BloomFilter` response. ### Improvements -* (client) [tharsis#450](https://github.com/tharsis/ethermint/issues/450) Add EIP55 hex address support on `debug addr` command. -* (server) [tharsis#343](https://github.com/tharsis/ethermint/pull/343) Define a wrap tendermint logger `Handler` go-ethereum's `root` logger. -* (rpc) [tharsis#457](https://github.com/tharsis/ethermint/pull/457) Configure RPC gas cap through app config. -* (evm) [tharsis#434](https://github.com/tharsis/ethermint/pull/434) Support different `Tracer` types for the EVM. -* (deps) [tharsis#427](https://github.com/tharsis/ethermint/pull/427) Bump ibc-go to [`v1.0.0`](https://github.com/cosmos/ibc-go/releases/tag/v1.0.0) -* (gRPC) [tharsis#239](https://github.com/tharsis/ethermint/pull/239) Query `ChainConfig` via gRPC. -* (rpc) [tharsis#181](https://github.com/tharsis/ethermint/pull/181) Use evm denomination for params on tx fee. -* (deps) [tharsis#423](https://github.com/tharsis/ethermint/pull/423) Bump Cosmos SDK and Tendermint versions to [v0.43.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.43.0) and [v0.34.11](https://github.com/tendermint/tendermint/releases/tag/v0.34.11), respectively. -* (evm) [tharsis#66](https://github.com/tharsis/ethermint/issues/66) Support legacy transaction types for signing. -* (evm) [tharsis#24](https://github.com/tharsis/ethermint/pull/24) Implement metrics for `MsgEthereumTx`, state transitions, `BeginBlock` and `EndBlock`. -* (rpc) [tharsis#124](https://github.com/tharsis/ethermint/issues/124) Implement `txpool_content`, `txpool_inspect` and `txpool_status` RPC methods -* (rpc) [tharsis#112](https://github.com/tharsis/ethermint/pull/153) Fix `eth_coinbase` to return the ethereum address of the validator -* (rpc) [tharsis#176](https://github.com/tharsis/ethermint/issues/176) Support fetching pending nonce -* (rpc) [tharsis#272](https://github.com/tharsis/ethermint/pull/272) do binary search to estimate gas accurately -* (rpc) [tharsis#313](https://github.com/tharsis/ethermint/pull/313) Implement internal debug namespace (Not including logger functions nor traces). -* (rpc) [tharsis#349](https://github.com/tharsis/ethermint/pull/349) Implement configurable JSON-RPC APIs to manage enabled namespaces. -* (rpc) [tharsis#377](https://github.com/tharsis/ethermint/pull/377) Implement `miner_` namespace. `miner_setEtherbase` and `miner_setGasPrice` are working as intended. All the other calls are not applicable and return `unsupported`. -* (eth) [tharsis#460](https://github.com/tharsis/ethermint/issues/460) Add support for EIP-1898. +* (client) [tharsis#450](https://github.com/evmos/ethermint/issues/450) Add EIP55 hex address support on `debug addr` command. +* (server) [tharsis#343](https://github.com/evmos/ethermint/pull/343) Define a wrap tendermint logger `Handler` go-ethereum's `root` logger. +* (rpc) [tharsis#457](https://github.com/evmos/ethermint/pull/457) Configure RPC gas cap through app config. +* (evm) [tharsis#434](https://github.com/evmos/ethermint/pull/434) Support different `Tracer` types for the EVM. +* (deps) [tharsis#427](https://github.com/evmos/ethermint/pull/427) Bump ibc-go to [`v1.0.0`](https://github.com/cosmos/ibc-go/releases/tag/v1.0.0) +* (gRPC) [tharsis#239](https://github.com/evmos/ethermint/pull/239) Query `ChainConfig` via gRPC. +* (rpc) [tharsis#181](https://github.com/evmos/ethermint/pull/181) Use evm denomination for params on tx fee. +* (deps) [tharsis#423](https://github.com/evmos/ethermint/pull/423) Bump Cosmos SDK and Tendermint versions to [v0.43.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.43.0) and [v0.34.11](https://github.com/tendermint/tendermint/releases/tag/v0.34.11), respectively. +* (evm) [tharsis#66](https://github.com/evmos/ethermint/issues/66) Support legacy transaction types for signing. +* (evm) [tharsis#24](https://github.com/evmos/ethermint/pull/24) Implement metrics for `MsgEthereumTx`, state transitions, `BeginBlock` and `EndBlock`. +* (rpc) [tharsis#124](https://github.com/evmos/ethermint/issues/124) Implement `txpool_content`, `txpool_inspect` and `txpool_status` RPC methods +* (rpc) [tharsis#112](https://github.com/evmos/ethermint/pull/153) Fix `eth_coinbase` to return the ethereum address of the validator +* (rpc) [tharsis#176](https://github.com/evmos/ethermint/issues/176) Support fetching pending nonce +* (rpc) [tharsis#272](https://github.com/evmos/ethermint/pull/272) do binary search to estimate gas accurately +* (rpc) [tharsis#313](https://github.com/evmos/ethermint/pull/313) Implement internal debug namespace (Not including logger functions nor traces). +* (rpc) [tharsis#349](https://github.com/evmos/ethermint/pull/349) Implement configurable JSON-RPC APIs to manage enabled namespaces. +* (rpc) [tharsis#377](https://github.com/evmos/ethermint/pull/377) Implement `miner_` namespace. `miner_setEtherbase` and `miner_setGasPrice` are working as intended. All the other calls are not applicable and return `unsupported`. +* (eth) [tharsis#460](https://github.com/evmos/ethermint/issues/460) Add support for EIP-1898. ### Bug Fixes -* (keys) [tharsis#346](https://github.com/tharsis/ethermint/pull/346) Fix `keys add` command with `--ledger` flag for the `secp256k1` signing algorithm. -* (evm) [tharsis#291](https://github.com/tharsis/ethermint/pull/291) Use block proposer address (validator operator) for `COINBASE` opcode. -* (rpc) [tharsis#81](https://github.com/tharsis/ethermint/pull/81) Fix transaction hashing and decoding on `eth_sendTransaction`. -* (rpc) [tharsis#45](https://github.com/tharsis/ethermint/pull/45) Use `EmptyUncleHash` and `EmptyRootHash` for empty ethereum `Header` fields. +* (keys) [tharsis#346](https://github.com/evmos/ethermint/pull/346) Fix `keys add` command with `--ledger` flag for the `secp256k1` signing algorithm. +* (evm) [tharsis#291](https://github.com/evmos/ethermint/pull/291) Use block proposer address (validator operator) for `COINBASE` opcode. +* (rpc) [tharsis#81](https://github.com/evmos/ethermint/pull/81) Fix transaction hashing and decoding on `eth_sendTransaction`. +* (rpc) [tharsis#45](https://github.com/evmos/ethermint/pull/45) Use `EmptyUncleHash` and `EmptyRootHash` for empty ethereum `Header` fields. ## [v0.4.1] - 2021-03-01 @@ -469,9 +473,11 @@ the Tracer type used to collect execution traces from the EVM transaction execut * (evm) [tharsis#775](https://github.com/cosmos/ethermint/issues/775) MisUse of headHash as blockHash when create EVM context. ### Features + * (api) [tharsis#821](https://github.com/cosmos/ethermint/pull/821) Individually enable the api modules. Will be implemented in the latest version of ethermint with the upcoming stargate upgrade. ### Features + * (api) [tharsis#825](https://github.com/cosmos/ethermint/pull/825) Individually enable the api modules. Will be implemented in the latest version of ethermint with the upcoming stargate upgrade. ## [v0.4.0] - 2020-12-15 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ee37f42a54..82feeed48b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,23 +1,23 @@ # Contributing - [Contributing](#contributing) - - [Architecture Decision Records (ADR)](#architecture-decision-records-adr) - - [Pull Requests](#pull-requests) - - [Pull Request Templates](#pull-request-templates) - - [Requesting Reviews](#requesting-reviews) - - [Reviewing Pull Requests](#reviewing-pull-requests) - - [Updating Documentation](#updating-documentation) - - [Forking](#forking) - - [Dependencies](#dependencies) - - [Protobuf](#protobuf) - - [Testing](#testing) - - [Branching Model and Release](#branching-model-and-release) - - [PR Targeting](#pr-targeting) - - [Development Procedure](#development-procedure) - - [Pull Merge Procedure](#pull-merge-procedure) - - [Release Procedure](#release-procedure) - - [Point Release Procedure](#point-release-procedure) - - [Code Owner Membership](#code-owner-membership) + - [Architecture Decision Records (ADR)](#architecture-decision-records-adr) + - [Pull Requests](#pull-requests) + - [Pull Request Templates](#pull-request-templates) + - [Requesting Reviews](#requesting-reviews) + - [Reviewing Pull Requests](#reviewing-pull-requests) + - [Updating Documentation](#updating-documentation) + - [Forking](#forking) + - [Dependencies](#dependencies) + - [Protobuf](#protobuf) + - [Testing](#testing) + - [Branching Model and Release](#branching-model-and-release) + - [PR Targeting](#pr-targeting) + - [Development Procedure](#development-procedure) + - [Pull Merge Procedure](#pull-merge-procedure) + - [Release Procedure](#release-procedure) + - [Point Release Procedure](#point-release-procedure) + - [Code Owner Membership](#code-owner-membership) Thank you for considering making contributions to Ethermint! @@ -25,8 +25,8 @@ Contributing to this repo can mean many things such as participating in discussion or proposing code changes. To ensure a smooth workflow for all contributors, the general procedure for contributing has been established: -1. Either [open](https://github.com/tharsis/ethermint/issues/new/choose) or - [find](https://github.com/tharsis/ethermint/issues) an issue you'd like to help with +1. Either [open](https://github.com/evmos/ethermint/issues/new/choose) or + [find](https://github.com/evmos/ethermint/issues) an issue you'd like to help with 2. Participate in thoughtful discussion on that issue 3. If you would like to contribute: 1. If the issue is a proposal, ensure that the proposal has been accepted @@ -55,7 +55,7 @@ taken place in a GitHub issue, that PR runs a high likelihood of being rejected. Other notes: - Looking for a good place to start contributing? How about checking out some - [good first issues](https://github.com/tharsis/ethermint/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) + [good first issues](https://github.com/evmos/ethermint/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) - Please make sure to run `make format` before every commit - the easiest way to do this is have your editor run it for you upon saving a file. Additionally please ensure that your code is lint compliant by running `make lint-fix`. @@ -64,7 +64,7 @@ Other notes: ## Architecture Decision Records (ADR) -When proposing an architecture decision for Ethermint, please start by opening an [issue](https://github.com/tharsis/ethermint/issues/new/choose) or a [discussion](https://github.com/tharsis/ethermint/discussions/new) with a summary of the proposal. Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, the [ADR creation process](https://github.com/tharsis/ethermint/blob/main/docs/architecture/PROCESS.md) can begin. We are following this process to ensure all involved parties are in agreement before any party begins coding the proposed implementation. If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/tharsis/ethermint/tree/main/docs/architecture). +When proposing an architecture decision for Ethermint, please start by opening an [issue](https://github.com/evmos/ethermint/issues/new/choose) or a [discussion](https://github.com/evmos/ethermint/discussions/new) with a summary of the proposal. Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, the [ADR creation process](https://github.com/evmos/ethermint/blob/main/docs/architecture/PROCESS.md) can begin. We are following this process to ensure all involved parties are in agreement before any party begins coding the proposed implementation. If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/evmos/ethermint/tree/main/docs/architecture). ## Pull Requests @@ -97,12 +97,12 @@ items. In addition, use the following review explanations: - `LGTM` without an explicit approval means that the changes look good, but you haven't thoroughly reviewed the reviewer checklist items. - `Approval` means that you have completed some or all of the reviewer checklist items. If you only reviewed selected items, you must add your handle next to the items that you have reviewed. In addition, follow these guidelines: - - You must also think through anything which ought to be included but is not - - You must think through whether any added code could be partially combined (DRYed) with existing code - - You must think through any potential security issues or incentive-compatibility flaws introduced by the changes - - Naming must be consistent with conventions and the rest of the codebase - - Code must live in a reasonable location, considering dependency structures (for example, not importing testing modules in production code, or including example code modules in production code). - - If you approve the PR, you are responsible for any issues mentioned here and any issues that should have been addressed after thoroughly reviewing the reviewer checklist items in the pull request template. + - You must also think through anything which ought to be included but is not + - You must think through whether any added code could be partially combined (DRYed) with existing code + - You must think through any potential security issues or incentive-compatibility flaws introduced by the changes + - Naming must be consistent with conventions and the rest of the codebase + - Code must live in a reasonable location, considering dependency structures (for example, not importing testing modules in production code, or including example code modules in production code). + - If you approve the PR, you are responsible for any issues mentioned here and any issues that should have been addressed after thoroughly reviewing the reviewer checklist items in the pull request template. - If you sat down with the PR submitter and did a pairing review, add this information in the `Approval` or your PR comments. - If you are only making "surface level" reviews, submit any notes as `Comments` without adding a review. @@ -112,12 +112,12 @@ Go requires code to live under absolute paths, and this requirement complicates While my fork lives at `https://github.com/rigeyrigerige/ethermint`, the code should never exist at `$GOPATH/src/github.com/rigeyrigerige/ethermint`. Instead, we use `git remote` to add the fork as a new remote for the original repo, -`$GOPATH/src/github.com/tharsis/ethermint`, and do all the work there. +`$GOPATH/src/github.com/evmos/ethermint`, and do all the work there. For instance, to create a fork and work on a branch of it, I would: - Create the fork on GitHub, using the fork button. -- Go to the original repo checked out locally (i.e. `$GOPATH/src/github.com/tharsis/ethermint`) +- Go to the original repo checked out locally (i.e. `$GOPATH/src/github.com/evmos/ethermint`) - `git remote rename origin upstream` - `git remote add origin git@github.com:rigeyrigerige/ethermint.git` @@ -220,7 +220,7 @@ should be targeted against the release candidate branch. - `main` must never fail `make lint test test-race` - `main` should not fail `make lint` - no `--force` onto `main` (except when reverting a broken commit, which should seldom happen) -- create a development branch either on github.com/tharsis/ethermint, or your fork (using `git remote add origin`) +- create a development branch either on github.com/evmos/ethermint, or your fork (using `git remote add origin`) - before submitting a pull request, begin `git rebase` on top of `main` ### Pull Merge Procedure @@ -235,10 +235,10 @@ should be targeted against the release candidate branch. - Create the release candidate branch `release/v..x` (going forward known as **RC**) and ensure it's protected against pushing from anyone except the release manager/coordinator - - **no PRs targeting this branch should be merged unless exceptional circumstances arise** + - **no PRs targeting this branch should be merged unless exceptional circumstances arise** - On the `RC` branch, prepare a new version section in the `CHANGELOG.md` - - All links must be link-ified: `$ python ./scripts/linkify_changelog.py CHANGELOG.md` - - Copy the entries into a `RELEASE_CHANGELOG.md`, this is needed so the bot knows which entries to add to the release page on GitHub. + - All links must be link-ified: `$ python ./scripts/linkify_changelog.py CHANGELOG.md` + - Copy the entries into a `RELEASE_CHANGELOG.md`, this is needed so the bot knows which entries to add to the release page on GitHub. - Kick off a large round of simulation testing (e.g. 400 seeds for 2k blocks) - If errors are found during the simulation testing, commit the fixes to `main` and push the changes to the `RC` branch @@ -343,7 +343,7 @@ is broken up into three distinct stages: **Strategy Discovery**, **Concept Appro - Architecture Decision Records (ADRs) may be proposed by any contributors or maintainers of Ethermint, and should follow the guidelines outlined in the - [ADR Creation Process](https://github.com/tharsis/ethermint/blob/main/docs/architecture/PROCESS.md) + [ADR Creation Process](https://github.com/evmos/ethermint/blob/main/docs/architecture/PROCESS.md) - After proposal, a time bound period for Request for Comment (RFC) on ADRs commences - ADRs are intended to be iterative, and may be merged into `main` while still in a `Proposed` status @@ -383,8 +383,8 @@ Members must: - Be active contributors to Ethermint, and furthermore should be continuously making substantial contributions to the project's codebase, review process, documentation and ADRs - Have stake in Ethermint, represented by: - - Being a client / user of Ethermint - - "[giving back](https://www.debian.org/social_contract)" to the software + - Being a client / user of Ethermint + - "[giving back](https://www.debian.org/social_contract)" to the software - Delegate representation in case of vacation or absence Code owners need to maintain participation in the process, ideally as members of **Concept Approval Committee** diff --git a/Dockerfile b/Dockerfile index b4b43805d7..105a475499 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM golang:alpine AS build-env ENV PACKAGES git build-base # Set working directory for the build -WORKDIR /go/src/github.com/tharsis/ethermint +WORKDIR /go/src/github.com/evmos/ethermint # Install dependencies RUN apk add --update $PACKAGES @@ -24,7 +24,7 @@ RUN apk add --update ca-certificates jq WORKDIR / # Copy over binaries from the build-env -COPY --from=build-env /go/src/github.com/tharsis/ethermint/build/ethermintd /usr/bin/ethermintd +COPY --from=build-env /go/src/github.com/evmos/ethermint/build/ethermintd /usr/bin/ethermintd # Run ethermintd by default CMD ["ethermintd"] diff --git a/Makefile b/Makefile index 25b8f92cc2..0f7f0e0d78 100755 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ ETHERMINT_BINARY = ethermintd ETHERMINT_DIR = ethermint BUILDDIR ?= $(CURDIR)/build SIMAPP = ./app -HTTPS_GIT := https://github.com/tharsis/ethermint.git +HTTPS_GIT := https://github.com/evmos/ethermint.git DOCKER := $(shell which docker) DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf @@ -152,7 +152,7 @@ build-all: tools build lint test ### Releasing ### ############################################################################### -PACKAGE_NAME:=github.com/tharsis/ethermint +PACKAGE_NAME:=github.com/evmos/ethermint GOLANG_CROSS_VERSION = v1.17.1 GOPATH ?= '$(HOME)/go' release-dry-run: @@ -285,7 +285,7 @@ update-swagger-docs: statik .PHONY: update-swagger-docs godocs: - @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/tharsis/ethermint/types" + @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/evmos/ethermint/types" godoc -http=:6060 ############################################################################### @@ -319,7 +319,7 @@ else endif test-import: - go test -run TestImporterTestSuite -v --vet=off github.com/tharsis/ethermint/tests/importer + go test -run TestImporterTestSuite -v --vet=off github.com/evmos/ethermint/tests/importer test-rpc: ./scripts/integration-test-all.sh -t "rpc" -q 1 -z 1 -s 2 -m "rpc" -r "true" diff --git a/README.md b/README.md index 6344e36ff8..90c72cba3c 100644 --- a/README.md +++ b/README.md @@ -10,17 +10,17 @@ parent: ![banner](docs/ethermint.jpg)
- + Version - + License: Apache-2.0 - - GoDoc + + GoDoc - - Go report card + + Go report card Lines of code @@ -30,8 +30,8 @@ parent: Discord - - Lint Status + + Lint Status Code Coverage @@ -50,7 +50,7 @@ For prerequisites and detailed build instructions please read the Evmos [Install make install ``` -Or check out the latest [release](https://github.com/tharsis/ethermint/releases). +Or check out the latest [release](https://github.com/evmos/ethermint/releases). ## Quick Start @@ -69,7 +69,7 @@ The following chat channels and forums are a great spot to ask questions about E ## Contributing -Looking for a good place to start contributing? Check out some [`good first issues`](https://github.com/tharsis/ethermint/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22). +Looking for a good place to start contributing? Check out some [`good first issues`](https://github.com/evmos/ethermint/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22). For additional instructions, standards and style guides, please refer to the [Contributing](./CONTRIBUTING.md) document. diff --git a/app/ante/ante.go b/app/ante/ante.go index fbf1e9c760..94cc70289c 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -12,7 +12,7 @@ import ( authante "github.com/cosmos/cosmos-sdk/x/auth/ante" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/ethsecp256k1" ) const ( diff --git a/app/ante/ante_test.go b/app/ante/ante_test.go index e3812f5995..1b09095870 100644 --- a/app/ante/ante_test.go +++ b/app/ante/ante_test.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum/core/types" ethparams "github.com/ethereum/go-ethereum/params" - "github.com/tharsis/ethermint/tests" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/tests" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) func (suite AnteTestSuite) TestAnteHandler() { @@ -426,18 +426,17 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "success - DeliverTx (contract)", func() sdk.Tx { - signedContractTx := - evmtypes.NewTxContract( - suite.app.EvmKeeper.ChainID(), - 1, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedContractTx := evmtypes.NewTxContract( + suite.app.EvmKeeper.ChainID(), + 1, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedContractTx.From = addr.Hex() tx := suite.CreateTestTx(signedContractTx, privKey, 1, false) @@ -449,18 +448,17 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "success - CheckTx (contract)", func() sdk.Tx { - signedContractTx := - evmtypes.NewTxContract( - suite.app.EvmKeeper.ChainID(), - 1, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedContractTx := evmtypes.NewTxContract( + suite.app.EvmKeeper.ChainID(), + 1, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedContractTx.From = addr.Hex() tx := suite.CreateTestTx(signedContractTx, privKey, 1, false) @@ -472,18 +470,17 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "success - ReCheckTx (contract)", func() sdk.Tx { - signedContractTx := - evmtypes.NewTxContract( - suite.app.EvmKeeper.ChainID(), - 1, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedContractTx := evmtypes.NewTxContract( + suite.app.EvmKeeper.ChainID(), + 1, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedContractTx.From = addr.Hex() tx := suite.CreateTestTx(signedContractTx, privKey, 1, false) @@ -495,19 +492,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "success - DeliverTx", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() tx := suite.CreateTestTx(signedTx, privKey, 1, false) @@ -519,19 +515,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "success - CheckTx", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() tx := suite.CreateTestTx(signedTx, privKey, 1, false) @@ -543,19 +538,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "success - ReCheckTx", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() tx := suite.CreateTestTx(signedTx, privKey, 1, false) @@ -567,19 +561,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "success - CheckTx (cosmos tx not signed)", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() tx := suite.CreateTestTx(signedTx, privKey, 1, false) @@ -591,19 +584,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "fail - CheckTx (cosmos tx is not valid)", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() txBuilder := suite.CreateTestTxBuilder(signedTx, privKey, 1, false) @@ -617,19 +609,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "fail - CheckTx (memo too long)", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() txBuilder := suite.CreateTestTxBuilder(signedTx, privKey, 1, false) @@ -642,18 +633,17 @@ func (suite AnteTestSuite) TestAnteHandlerWithDynamicTxFee() { { "fail - DynamicFeeTx without london hark fork", func() sdk.Tx { - signedContractTx := - evmtypes.NewTxContract( - suite.app.EvmKeeper.ChainID(), - 1, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedContractTx := evmtypes.NewTxContract( + suite.app.EvmKeeper.ChainID(), + 1, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedContractTx.From = addr.Hex() tx := suite.CreateTestTx(signedContractTx, privKey, 1, false) @@ -702,18 +692,17 @@ func (suite AnteTestSuite) TestAnteHandlerWithParams() { { "fail - Contract Creation Disabled", func() sdk.Tx { - signedContractTx := - evmtypes.NewTxContract( - suite.app.EvmKeeper.ChainID(), - 1, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedContractTx := evmtypes.NewTxContract( + suite.app.EvmKeeper.ChainID(), + 1, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedContractTx.From = addr.Hex() tx := suite.CreateTestTx(signedContractTx, privKey, 1, false) @@ -725,18 +714,17 @@ func (suite AnteTestSuite) TestAnteHandlerWithParams() { { "success - Contract Creation Enabled", func() sdk.Tx { - signedContractTx := - evmtypes.NewTxContract( - suite.app.EvmKeeper.ChainID(), - 1, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedContractTx := evmtypes.NewTxContract( + suite.app.EvmKeeper.ChainID(), + 1, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedContractTx.From = addr.Hex() tx := suite.CreateTestTx(signedContractTx, privKey, 1, false) @@ -748,19 +736,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithParams() { { "fail - EVM Call Disabled", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() tx := suite.CreateTestTx(signedTx, privKey, 1, false) @@ -772,19 +759,18 @@ func (suite AnteTestSuite) TestAnteHandlerWithParams() { { "success - EVM Call Enabled", func() sdk.Tx { - signedTx := - evmtypes.NewTx( - suite.app.EvmKeeper.ChainID(), - 1, - &to, - big.NewInt(10), - 100000, - nil, - big.NewInt(ethparams.InitialBaseFee+1), - big.NewInt(1), - nil, - &types.AccessList{}, - ) + signedTx := evmtypes.NewTx( + suite.app.EvmKeeper.ChainID(), + 1, + &to, + big.NewInt(10), + 100000, + nil, + big.NewInt(ethparams.InitialBaseFee+1), + big.NewInt(1), + nil, + &types.AccessList{}, + ) signedTx.From = addr.Hex() tx := suite.CreateTestTx(signedTx, privKey, 1, false) diff --git a/app/ante/eip712.go b/app/ante/eip712.go index 9de0d191b4..f9f2abc1c2 100644 --- a/app/ante/eip712.go +++ b/app/ante/eip712.go @@ -15,10 +15,10 @@ import ( ethcrypto "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto/secp256k1" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/ethereum/eip712" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/ethereum/eip712" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) var ethermintCodec codec.ProtoCodecMarshaler diff --git a/app/ante/eth.go b/app/ante/eth.go index 22e60fab37..7e3719199b 100644 --- a/app/ante/eth.go +++ b/app/ante/eth.go @@ -9,10 +9,10 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - ethermint "github.com/tharsis/ethermint/types" - evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" - "github.com/tharsis/ethermint/x/evm/statedb" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + ethermint "github.com/evmos/ethermint/types" + evmkeeper "github.com/evmos/ethermint/x/evm/keeper" + "github.com/evmos/ethermint/x/evm/statedb" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/app/ante/eth_test.go b/app/ante/eth_test.go index 99b50d1eed..9869444c3b 100644 --- a/app/ante/eth_test.go +++ b/app/ante/eth_test.go @@ -5,11 +5,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/app/ante" - "github.com/tharsis/ethermint/server/config" - "github.com/tharsis/ethermint/tests" - "github.com/tharsis/ethermint/x/evm/statedb" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/app/ante" + "github.com/evmos/ethermint/server/config" + "github.com/evmos/ethermint/tests" + "github.com/evmos/ethermint/x/evm/statedb" + evmtypes "github.com/evmos/ethermint/x/evm/types" ethtypes "github.com/ethereum/go-ethereum/core/types" ) diff --git a/app/ante/fee_market_test.go b/app/ante/fee_market_test.go index 33eb9225fa..48491a6606 100644 --- a/app/ante/fee_market_test.go +++ b/app/ante/fee_market_test.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/app/ante" - "github.com/tharsis/ethermint/tests" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/app/ante" + "github.com/evmos/ethermint/tests" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) func (suite AnteTestSuite) TestGasWantedDecorator() { diff --git a/app/ante/fees.go b/app/ante/fees.go index 3aab89db1b..d2b130343d 100644 --- a/app/ante/fees.go +++ b/app/ante/fees.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ethtypes "github.com/ethereum/go-ethereum/core/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // MinGasPriceDecorator will check if the transaction's fee is at least as large diff --git a/app/ante/fees_test.go b/app/ante/fees_test.go index 837f98e1e5..047328a024 100644 --- a/app/ante/fees_test.go +++ b/app/ante/fees_test.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/app/ante" - "github.com/tharsis/ethermint/tests" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/app/ante" + "github.com/evmos/ethermint/tests" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) var execTypes = []struct { diff --git a/app/ante/handler_options.go b/app/ante/handler_options.go index 7a24125d34..79271e3ddd 100644 --- a/app/ante/handler_options.go +++ b/app/ante/handler_options.go @@ -11,7 +11,7 @@ import ( ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante" ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC diff --git a/app/ante/interfaces.go b/app/ante/interfaces.go index 666e9cb0ce..216b0aa4f0 100644 --- a/app/ante/interfaces.go +++ b/app/ante/interfaces.go @@ -9,9 +9,9 @@ import ( "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/params" - "github.com/tharsis/ethermint/x/evm/statedb" - evmtypes "github.com/tharsis/ethermint/x/evm/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/evm/statedb" + evmtypes "github.com/evmos/ethermint/x/evm/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" ) // EVMKeeper defines the expected keeper interface used on the Eth AnteHandler diff --git a/app/ante/reject_msgs.go b/app/ante/reject_msgs.go index fafb159ed3..ce752cc09b 100644 --- a/app/ante/reject_msgs.go +++ b/app/ante/reject_msgs.go @@ -3,7 +3,7 @@ package ante import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // RejectMessagesDecorator prevents invalid msg types from being executed diff --git a/app/ante/sigs_test.go b/app/ante/sigs_test.go index f07d0986ba..0c7b0539c8 100644 --- a/app/ante/sigs_test.go +++ b/app/ante/sigs_test.go @@ -3,9 +3,9 @@ package ante_test import ( "math/big" - "github.com/tharsis/ethermint/tests" - "github.com/tharsis/ethermint/x/evm/statedb" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/tests" + "github.com/evmos/ethermint/x/evm/statedb" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) func (suite AnteTestSuite) TestSignatures() { diff --git a/app/ante/utils_test.go b/app/ante/utils_test.go index 3fd62f1200..acf1ce4da7 100644 --- a/app/ante/utils_test.go +++ b/app/ante/utils_test.go @@ -11,8 +11,8 @@ import ( types2 "github.com/cosmos/cosmos-sdk/x/bank/types" types3 "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/ethereum/eip712" - "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/ethereum/eip712" + "github.com/evmos/ethermint/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -31,13 +31,13 @@ import ( authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/tharsis/ethermint/app" - ante "github.com/tharsis/ethermint/app/ante" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/tests" - "github.com/tharsis/ethermint/x/evm/statedb" - evmtypes "github.com/tharsis/ethermint/x/evm/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/app" + ante "github.com/evmos/ethermint/app/ante" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/tests" + "github.com/evmos/ethermint/x/evm/statedb" + evmtypes "github.com/evmos/ethermint/x/evm/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" ) diff --git a/app/app.go b/app/app.go index c7c57393c0..c0acf7d426 100644 --- a/app/app.go +++ b/app/app.go @@ -94,18 +94,18 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" // unnamed import of statik for swagger UI support - _ "github.com/tharsis/ethermint/client/docs/statik" - - "github.com/tharsis/ethermint/app/ante" - srvflags "github.com/tharsis/ethermint/server/flags" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm" - evmrest "github.com/tharsis/ethermint/x/evm/client/rest" - evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" - evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/ethermint/x/feemarket" - feemarketkeeper "github.com/tharsis/ethermint/x/feemarket/keeper" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + _ "github.com/evmos/ethermint/client/docs/statik" + + "github.com/evmos/ethermint/app/ante" + srvflags "github.com/evmos/ethermint/server/flags" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm" + evmrest "github.com/evmos/ethermint/x/evm/client/rest" + evmkeeper "github.com/evmos/ethermint/x/evm/keeper" + evmtypes "github.com/evmos/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/feemarket" + feemarketkeeper "github.com/evmos/ethermint/x/feemarket/keeper" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" // Force-load the tracer engines to trigger registration due to Go-Ethereum v1.10.15 changes _ "github.com/ethereum/go-ethereum/eth/tracers/js" diff --git a/app/app_test.go b/app/app_test.go index 6ddf51284f..f23467671f 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -13,7 +13,7 @@ import ( "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "github.com/tharsis/ethermint/encoding" + "github.com/evmos/ethermint/encoding" ) func TestEthermintAppExport(t *testing.T) { diff --git a/app/benchmark_test.go b/app/benchmark_test.go index a88712e7fb..f7fac75810 100644 --- a/app/benchmark_test.go +++ b/app/benchmark_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/cosmos/cosmos-sdk/simapp" + "github.com/evmos/ethermint/encoding" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "github.com/tharsis/ethermint/encoding" ) func BenchmarkEthermintApp_ExportAppStateAndValidators(b *testing.B) { diff --git a/app/export.go b/app/export.go index f2cb346aba..a14d15c1c8 100644 --- a/app/export.go +++ b/app/export.go @@ -13,7 +13,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/tharsis/ethermint/encoding" + "github.com/evmos/ethermint/encoding" ) // NewDefaultGenesisState generates the default state for the application. diff --git a/app/simulation_test.go b/app/simulation_test.go index 98ef022290..9d563e2cd4 100644 --- a/app/simulation_test.go +++ b/app/simulation_test.go @@ -28,11 +28,11 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" ibchost "github.com/cosmos/ibc-go/v3/modules/core/24-host" + evmenc "github.com/evmos/ethermint/encoding" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - evmenc "github.com/tharsis/ethermint/encoding" ) // MakeEncodingConfig creates the EncodingConfig diff --git a/app/utils.go b/app/utils.go index 95fb576fc9..de4d402768 100644 --- a/app/utils.go +++ b/app/utils.go @@ -12,21 +12,21 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/tharsis/ethermint/encoding" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/encoding" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + "github.com/evmos/ethermint/crypto/ethsecp256k1" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" ) // DefaultConsensusParams defines the default Tendermint consensus params used in diff --git a/app/utils_test.go b/app/utils_test.go index 6029e059af..d355b16da3 100644 --- a/app/utils_test.go +++ b/app/utils_test.go @@ -14,17 +14,19 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - ethermint "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + ethermint "github.com/evmos/ethermint/types" "github.com/cosmos/cosmos-sdk/simapp" sdk "github.com/cosmos/cosmos-sdk/types" ) -var maxTestingAccounts = 100 -var seed = int64(233) +var ( + maxTestingAccounts = 100 + seed = int64(233) +) func TestRandomGenesisAccounts(t *testing.T) { r := rand.New(rand.NewSource(seed)) diff --git a/client/config.go b/client/config.go index 6edb08bff8..56e6e118b7 100644 --- a/client/config.go +++ b/client/config.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" - ethermint "github.com/tharsis/ethermint/types" + ethermint "github.com/evmos/ethermint/types" ) // InitConfig adds the chain-id, encoding and output flags to the persistent flag set. @@ -26,7 +26,7 @@ func InitConfig(cmd *cobra.Command) error { _, err = os.Stat(configFile) if err != nil && !os.IsNotExist(err) { // Immediately return if the error isn't related to the file not existing. - // See issue https://github.com/tharsis/ethermint/issues/539 + // See issue https://github.com/evmos/ethermint/issues/539 return err } if err == nil { diff --git a/client/docs/statik/init.go b/client/docs/statik/init.go index 49c0d09e9d..15c11ef622 100644 --- a/client/docs/statik/init.go +++ b/client/docs/statik/init.go @@ -1,3 +1,3 @@ package statik -// This just for fixing the error in importing empty github.com/tharsis/ethermint/client/docs/statik +// This just for fixing the error in importing empty github.com/evmos/ethermint/client/docs/statik diff --git a/client/export.go b/client/export.go index 64975fa78f..dd304dbb8c 100644 --- a/client/export.go +++ b/client/export.go @@ -14,8 +14,8 @@ import ( "github.com/spf13/cobra" "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/crypto/hd" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/hd" ) // UnsafeExportEthKeyCommand exports a key with the given name as a private key in hex format. diff --git a/client/import.go b/client/import.go index baa761953e..5b6efa3431 100644 --- a/client/import.go +++ b/client/import.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/crypto/hd" + "github.com/evmos/ethermint/crypto/hd" ) // UnsafeImportKeyCommand imports private keys from a keyfile. diff --git a/client/keys.go b/client/keys.go index 06bc345c56..691c9a3de9 100644 --- a/client/keys.go +++ b/client/keys.go @@ -11,8 +11,8 @@ import ( "github.com/tendermint/tendermint/libs/cli" "github.com/cosmos/cosmos-sdk/crypto/keyring" - clientkeys "github.com/tharsis/ethermint/client/keys" - "github.com/tharsis/ethermint/crypto/hd" + clientkeys "github.com/evmos/ethermint/client/keys" + "github.com/evmos/ethermint/crypto/hd" ) // KeyCommands registers a sub-tree of commands to interact with diff --git a/client/keys/add.go b/client/keys/add.go index d765a22899..d9080b0484 100644 --- a/client/keys/add.go +++ b/client/keys/add.go @@ -7,7 +7,7 @@ import ( "fmt" "sort" - etherminthd "github.com/tharsis/ethermint/crypto/hd" + etherminthd "github.com/evmos/ethermint/crypto/hd" bip39 "github.com/cosmos/go-bip39" "github.com/spf13/cobra" diff --git a/client/testnet.go b/client/testnet.go index 3a518df986..6cc12b7ec7 100644 --- a/client/testnet.go +++ b/client/testnet.go @@ -37,13 +37,13 @@ import ( mintypes "github.com/cosmos/cosmos-sdk/x/mint/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/tharsis/ethermint/crypto/hd" - "github.com/tharsis/ethermint/server/config" - srvflags "github.com/tharsis/ethermint/server/flags" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/hd" + "github.com/evmos/ethermint/server/config" + srvflags "github.com/evmos/ethermint/server/flags" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tharsis/ethermint/testutil/network" + "github.com/evmos/ethermint/testutil/network" ) var ( diff --git a/cmd/config/config.go b/cmd/config/config.go index c9220a3a07..8fcce595ac 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -3,7 +3,7 @@ package config import ( sdk "github.com/cosmos/cosmos-sdk/types" - ethermint "github.com/tharsis/ethermint/types" + ethermint "github.com/evmos/ethermint/types" ) const ( diff --git a/cmd/config/config_test.go b/cmd/config/config_test.go index 187031a2eb..7970828b5d 100644 --- a/cmd/config/config_test.go +++ b/cmd/config/config_test.go @@ -3,8 +3,8 @@ package config import ( "testing" + ethermint "github.com/evmos/ethermint/types" "github.com/stretchr/testify/require" - ethermint "github.com/tharsis/ethermint/types" "github.com/cosmos/cosmos-sdk/crypto/hd" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/cmd/ethermintd/cmd_test.go b/cmd/ethermintd/cmd_test.go index 3fe91e5adf..eb0482a21f 100644 --- a/cmd/ethermintd/cmd_test.go +++ b/cmd/ethermintd/cmd_test.go @@ -10,8 +10,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/tharsis/ethermint/app" - ethermintd "github.com/tharsis/ethermint/cmd/ethermintd" + "github.com/evmos/ethermint/app" + ethermintd "github.com/evmos/ethermint/cmd/ethermintd" ) func TestInitCmd(t *testing.T) { diff --git a/cmd/ethermintd/flags.go b/cmd/ethermintd/flags.go index 098bc0639c..ed835f5905 100644 --- a/cmd/ethermintd/flags.go +++ b/cmd/ethermintd/flags.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/tharsis/ethermint/version" + "github.com/evmos/ethermint/version" ) const ( diff --git a/cmd/ethermintd/genaccounts.go b/cmd/ethermintd/genaccounts.go index 1ceee6362b..0f4784dfad 100644 --- a/cmd/ethermintd/genaccounts.go +++ b/cmd/ethermintd/genaccounts.go @@ -20,9 +20,9 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/tharsis/ethermint/crypto/hd" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/hd" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) const ( diff --git a/cmd/ethermintd/main.go b/cmd/ethermintd/main.go index f67973af1b..a506678990 100644 --- a/cmd/ethermintd/main.go +++ b/cmd/ethermintd/main.go @@ -7,8 +7,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/app" - cmdcfg "github.com/tharsis/ethermint/cmd/config" + "github.com/evmos/ethermint/app" + cmdcfg "github.com/evmos/ethermint/cmd/config" ) func main() { diff --git a/cmd/ethermintd/root.go b/cmd/ethermintd/root.go index 277bf1b5f3..0470d5d934 100644 --- a/cmd/ethermintd/root.go +++ b/cmd/ethermintd/root.go @@ -30,15 +30,15 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/tharsis/ethermint/app" - ethermintclient "github.com/tharsis/ethermint/client" - "github.com/tharsis/ethermint/client/debug" - "github.com/tharsis/ethermint/crypto/hd" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/server" - servercfg "github.com/tharsis/ethermint/server/config" - srvflags "github.com/tharsis/ethermint/server/flags" - ethermint "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/app" + ethermintclient "github.com/evmos/ethermint/client" + "github.com/evmos/ethermint/client/debug" + "github.com/evmos/ethermint/crypto/hd" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/server" + servercfg "github.com/evmos/ethermint/server/config" + srvflags "github.com/evmos/ethermint/server/flags" + ethermint "github.com/evmos/ethermint/types" ) const EnvPrefix = "ETHERMINT" diff --git a/crypto/codec/amino.go b/crypto/codec/amino.go index 06a8339748..80edab9ad4 100644 --- a/crypto/codec/amino.go +++ b/crypto/codec/amino.go @@ -7,7 +7,7 @@ import ( cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/ethsecp256k1" ) // RegisterCrypto registers all crypto dependency types with the provided Amino diff --git a/crypto/codec/codec.go b/crypto/codec/codec.go index 86451e20bf..0f77f59377 100644 --- a/crypto/codec/codec.go +++ b/crypto/codec/codec.go @@ -4,7 +4,7 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/ethsecp256k1" ) // RegisterInterfaces register the Ethermint key concrete types. diff --git a/crypto/hd/algorithm.go b/crypto/hd/algorithm.go index 53b92a0c6f..4453fb3260 100644 --- a/crypto/hd/algorithm.go +++ b/crypto/hd/algorithm.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/ethsecp256k1" ) const ( diff --git a/crypto/hd/algorithm_test.go b/crypto/hd/algorithm_test.go index 8d2eda772b..3dd7bb27eb 100644 --- a/crypto/hd/algorithm_test.go +++ b/crypto/hd/algorithm_test.go @@ -13,8 +13,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptocodec "github.com/tharsis/ethermint/crypto/codec" - ethermint "github.com/tharsis/ethermint/types" + cryptocodec "github.com/evmos/ethermint/crypto/codec" + ethermint "github.com/evmos/ethermint/types" ) func init() { diff --git a/crypto/hd/benchmark_test.go b/crypto/hd/benchmark_test.go index 0ad376cec0..1a2bf19d24 100644 --- a/crypto/hd/benchmark_test.go +++ b/crypto/hd/benchmark_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/cosmos/cosmos-sdk/crypto/keyring" - ethermint "github.com/tharsis/ethermint/types" + ethermint "github.com/evmos/ethermint/types" ) func BenchmarkEthSecp256k1Algo_Derive(b *testing.B) { diff --git a/docs/api/proto-docs.md b/docs/api/proto-docs.md index aa381a6667..477748145c 100644 --- a/docs/api/proto-docs.md +++ b/docs/api/proto-docs.md @@ -1,5 +1,6 @@ # Protobuf Documentation + ## Table of Contents @@ -84,47 +85,34 @@ - [Scalar Value Types](#scalar-value-types) - -

Top

## ethermint/crypto/v1/ethsecp256k1/keys.proto - - ### PrivKey + PrivKey defines a type alias for an ecdsa.PrivateKey that implements Tendermint's PrivateKey interface. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `key` | [bytes](#bytes) | | | - - - - - ### PubKey + PubKey defines a type alias for an ecdsa.PublicKey that implements Tendermint's PubKey interface. It represents the 33-byte compressed public key format. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `key` | [bytes](#bytes) | | | - - - - @@ -133,44 +121,35 @@ key format. - -

Top

## ethermint/evm/v1/evm.proto - - ### AccessTuple -AccessTuple is the element type of an access list. +AccessTuple is the element type of an access list. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | hex formatted ethereum address | | `storage_keys` | [string](#string) | repeated | hex formatted hashes of the storage keys | - - - - - ### ChainConfig -ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values -instead of *big.Int. +ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values +instead of*big.Int. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `homestead_block` | [string](#string) | | Homestead switch block (nil no fork, 0 = already homestead) | | `dao_fork_block` | [string](#string) | | TheDAO hard-fork switch block (nil no fork) | | `dao_fork_support` | [bool](#bool) | | Whether the nodes supports or opposes the DAO hard-fork | -| `eip150_block` | [string](#string) | | EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) | +| `eip150_block` | [string](#string) | | EIP150 implements the Gas price changes () EIP150 HF block (nil no fork) | | `eip150_hash` | [string](#string) | | EIP150 HF hash (needed for header only clients as only gas pricing changed) | | `eip155_block` | [string](#string) | | EIP155Block HF block | | `eip158_block` | [string](#string) | | EIP158 HF block | @@ -184,19 +163,14 @@ instead of *big.Int. | `arrow_glacier_block` | [string](#string) | | Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) | | `merge_fork_block` | [string](#string) | | EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in merge proceedings) | - - - - - ### Log + Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address of the contract that generated the event | @@ -209,16 +183,11 @@ the node. | `index` | [uint64](#uint64) | | index of the log in the block | | `removed` | [bool](#bool) | | The Removed field is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs through a filter query. | - - - - - ### Params -Params defines the EVM module parameters +Params defines the EVM module parameters | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -229,32 +198,22 @@ Params defines the EVM module parameters | `chain_config` | [ChainConfig](#ethermint.evm.v1.ChainConfig) | | chain config defines the EVM chain configuration parameters | | `reject_unprotected_tx` | [bool](#bool) | | reject replay-unprotected transactions | - - - - - ### State -State represents a single Storage key value pair item. +State represents a single Storage key value pair item. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `key` | [string](#string) | | | | `value` | [string](#string) | | | - - - - - ### TraceConfig -TraceConfig holds extra parameters to trace functions. +TraceConfig holds extra parameters to trace functions. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -269,34 +228,24 @@ TraceConfig holds extra parameters to trace functions. | `enable_memory` | [bool](#bool) | | enable memory capture | | `enable_return_data` | [bool](#bool) | | enable return data capture | - - - - - ### TransactionLogs + TransactionLogs define the logs generated from a transaction execution with a given hash. It it used for import/export data as transactions are not persisted on blockchain state after an upgrade. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `hash` | [string](#string) | | | | `logs` | [Log](#ethermint.evm.v1.Log) | repeated | | - - - - - ### TxResult -TxResult stores results of Tx execution. +TxResult stores results of Tx execution. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -307,10 +256,6 @@ TxResult stores results of Tx execution. | `reverted` | [bool](#bool) | | reverted flag is set to true when the call has been reverted | | `gas_used` | [uint64](#uint64) | | gas_used notes the amount of gas consumed while execution | - - - - @@ -319,49 +264,36 @@ TxResult stores results of Tx execution. - -

Top

## ethermint/evm/v1/genesis.proto - - ### GenesisAccount + 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. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address defines an ethereum hex formated address of an account | | `code` | [string](#string) | | code defines the hex bytes of the account code. | | `storage` | [State](#ethermint.evm.v1.State) | repeated | storage defines the set of state key values for the account. | - - - - - ### GenesisState -GenesisState defines the evm module's genesis state. +GenesisState defines the evm module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `accounts` | [GenesisAccount](#ethermint.evm.v1.GenesisAccount) | repeated | accounts is an array containing the ethereum genesis accounts. | | `params` | [Params](#ethermint.evm.v1.Params) | | params defines all the parameters of the module. | - - - - @@ -370,20 +302,16 @@ GenesisState defines the evm module's genesis state. - -

Top

## ethermint/evm/v1/tx.proto - - ### AccessListTx -AccessListTx is the data of EIP-2930 access list transactions. +AccessListTx is the data of EIP-2930 access list transactions. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -399,16 +327,11 @@ AccessListTx is the data of EIP-2930 access list transactions. | `r` | [bytes](#bytes) | | r defines the signature value | | `s` | [bytes](#bytes) | | s define the signature value | - - - - - ### DynamicFeeTx -DynamicFeeTx is the data of EIP-1559 dinamic fee transactions. +DynamicFeeTx is the data of EIP-1559 dinamic fee transactions. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -425,28 +348,17 @@ DynamicFeeTx is the data of EIP-1559 dinamic fee transactions. | `r` | [bytes](#bytes) | | r defines the signature value | | `s` | [bytes](#bytes) | | s define the signature value | - - - - - ### ExtensionOptionsEthereumTx - - - - - - ### LegacyTx + LegacyTx is the transaction data of regular Ethereum transactions. NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the RejectUnprotectedTx parameter is enabled. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `nonce` | [uint64](#uint64) | | nonce corresponds to the account nonce (transaction sequence). | @@ -459,16 +371,11 @@ NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the Re | `r` | [bytes](#bytes) | | r defines the signature value | | `s` | [bytes](#bytes) | | s define the signature value | - - - - - ### MsgEthereumTx -MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. +MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -479,39 +386,30 @@ caches | | `hash` | [string](#string) | | transaction hash in hex format | | `from` | [string](#string) | | ethereum signer address in hex format. This address value is checked against the address derived from the signature (V, R, S) using the secp256k1 elliptic curve | - - - - - ### MsgEthereumTxResponse -MsgEthereumTxResponse defines the Msg/EthereumTx response type. +MsgEthereumTxResponse defines the Msg/EthereumTx response type. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `hash` | [string](#string) | | ethereum transaction hash in hex format. This hash differs from the Tendermint sha256 hash of the transaction bytes. See https://github.com/tendermint/tendermint/issues/6539 for reference | +| `hash` | [string](#string) | | ethereum transaction hash in hex format. This hash differs from the Tendermint sha256 hash of the transaction bytes. See for reference | | `logs` | [Log](#ethermint.evm.v1.Log) | repeated | logs contains the transaction hash and the proto-compatible ethereum logs. | | `ret` | [bytes](#bytes) | | returned data from evm function (result or data supplied with revert opcode) | | `vm_error` | [string](#string) | | vm error is the error returned by vm execution | | `gas_used` | [uint64](#uint64) | | gas consumed by the transaction | - - - - - ### Msg + Msg defines the evm Msg service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -520,66 +418,47 @@ Msg defines the evm Msg service. - -

Top

## ethermint/evm/v1/query.proto - - ### EstimateGasResponse -EstimateGasResponse defines EstimateGas response +EstimateGasResponse defines EstimateGas response | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `gas` | [uint64](#uint64) | | the estimated gas | - - - - - ### EthCallRequest -EthCallRequest defines EthCall request +EthCallRequest defines EthCall request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `args` | [bytes](#bytes) | | same json format as the json rpc api. | | `gas_cap` | [uint64](#uint64) | | the default gas cap to be used | - - - - - ### QueryAccountRequest -QueryAccountRequest is the request type for the Query/Account RPC method. +QueryAccountRequest is the request type for the Query/Account RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address is the ethereum hex address to query the account for. | - - - - - ### QueryAccountResponse -QueryAccountResponse is the response type for the Query/Account RPC method. +QueryAccountResponse is the response type for the Query/Account RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -587,194 +466,131 @@ QueryAccountResponse is the response type for the Query/Account RPC method. | `code_hash` | [string](#string) | | code hash is the hex-formatted code bytes from the EOA. | | `nonce` | [uint64](#uint64) | | nonce is the account's sequence number. | - - - - - ### QueryBalanceRequest -QueryBalanceRequest is the request type for the Query/Balance RPC method. +QueryBalanceRequest is the request type for the Query/Balance RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address is the ethereum hex address to query the balance for. | - - - - - ### QueryBalanceResponse -QueryBalanceResponse is the response type for the Query/Balance RPC method. +QueryBalanceResponse is the response type for the Query/Balance RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `balance` | [string](#string) | | balance is the balance of the EVM denomination. | - - - - - ### QueryBaseFeeRequest + QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee. - - - - - ### QueryBaseFeeResponse -BaseFeeResponse returns the EIP1559 base fee. +BaseFeeResponse returns the EIP1559 base fee. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `base_fee` | [string](#string) | | | - - - - - ### QueryCodeRequest -QueryCodeRequest is the request type for the Query/Code RPC method. +QueryCodeRequest is the request type for the Query/Code RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address is the ethereum hex address to query the code for. | - - - - - ### QueryCodeResponse + QueryCodeResponse is the response type for the Query/Code RPC method. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `code` | [bytes](#bytes) | | code represents the code bytes from an ethereum address. | - - - - - ### QueryCosmosAccountRequest + QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address is the ethereum hex address to query the account for. | - - - - - ### QueryCosmosAccountResponse + QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `cosmos_address` | [string](#string) | | cosmos_address is the cosmos address of the account. | | `sequence` | [uint64](#uint64) | | sequence is the account's sequence number. | | `account_number` | [uint64](#uint64) | | account_number is the account numbert | - - - - - ### QueryParamsRequest -QueryParamsRequest defines the request type for querying x/evm parameters. - - - - +QueryParamsRequest defines the request type for querying x/evm parameters. ### QueryParamsResponse -QueryParamsResponse defines the response type for querying x/evm parameters. +QueryParamsResponse defines the response type for querying x/evm parameters. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#ethermint.evm.v1.Params) | | params define the evm module parameters. | - - - - - ### QueryStorageRequest -QueryStorageRequest is the request type for the Query/Storage RPC method. +QueryStorageRequest is the request type for the Query/Storage RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address is the ethereum hex address to query the storage state for. | | `key` | [string](#string) | | key defines the key of the storage state | - - - - - ### QueryStorageResponse + QueryStorageResponse is the response type for the Query/Storage RPC method. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `value` | [string](#string) | | key defines the storage state value hash associated with the given key. | - - - - - ### QueryTraceBlockRequest -QueryTraceBlockRequest defines TraceTx request +QueryTraceBlockRequest defines TraceTx request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -784,31 +600,21 @@ QueryTraceBlockRequest defines TraceTx request | `block_hash` | [string](#string) | | block hex hash | | `block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | block time | - - - - - ### QueryTraceBlockResponse -QueryTraceBlockResponse defines TraceBlock response +QueryTraceBlockResponse defines TraceBlock response | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `data` | [bytes](#bytes) | | | - - - - - ### QueryTraceTxRequest -QueryTraceTxRequest defines TraceTx request +QueryTraceTxRequest defines TraceTx request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -819,101 +625,72 @@ QueryTraceTxRequest defines TraceTx request | `block_hash` | [string](#string) | | block hex hash of requested transaction | | `block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | block time of requested transaction | - - - - - ### QueryTraceTxResponse -QueryTraceTxResponse defines TraceTx response +QueryTraceTxResponse defines TraceTx response | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `data` | [bytes](#bytes) | | response serialized in bytes | - - - - - ### QueryTxLogsRequest -QueryTxLogsRequest is the request type for the Query/TxLogs RPC method. +QueryTxLogsRequest is the request type for the Query/TxLogs RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `hash` | [string](#string) | | hash is the ethereum transaction hex hash to query the logs for. | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | - - - - - ### QueryTxLogsResponse -QueryTxLogs is the response type for the Query/TxLogs RPC method. +QueryTxLogs is the response type for the Query/TxLogs RPC method. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `logs` | [Log](#ethermint.evm.v1.Log) | repeated | logs represents the ethereum logs generated from the given transaction. | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | - - - - - ### QueryValidatorAccountRequest + QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `cons_address` | [string](#string) | | cons_address is the validator cons address to query the account for. | - - - - - ### QueryValidatorAccountResponse + QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `account_address` | [string](#string) | | account_address is the cosmos address of the account in bech32 format. | | `sequence` | [uint64](#uint64) | | sequence is the account's sequence number. | | `account_number` | [uint64](#uint64) | | account_number is the account number | - - - - - ### Query + Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -933,20 +710,16 @@ Query defines the gRPC querier service. - -

Top

## ethermint/feemarket/v1/feemarket.proto - - ### Params -Params defines the EVM module parameters +Params defines the EVM module parameters | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -958,10 +731,6 @@ Params defines the EVM module parameters | `min_gas_price` | [string](#string) | | min_gas_price defines the minimum gas price value for cosmos and eth transactions | | `min_gas_multiplier` | [string](#string) | | min gas denominator bounds the minimum gasUsed to be charged to senders based on GasLimit | - - - - @@ -970,30 +739,22 @@ Params defines the EVM module parameters - -

Top

## ethermint/feemarket/v1/genesis.proto - - ### GenesisState -GenesisState defines the feemarket module's genesis state. +GenesisState defines the feemarket module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#ethermint.feemarket.v1.Params) | | params defines all the paramaters of the module. | | `block_gas` | [uint64](#uint64) | | block gas is the amount of gas wanted on the last block before the upgrade. Zero by default. | - - - - @@ -1002,101 +763,71 @@ GenesisState defines the feemarket module's genesis state. - -

Top

## ethermint/feemarket/v1/query.proto - - ### QueryBaseFeeRequest + QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee. - - - - - ### QueryBaseFeeResponse -BaseFeeResponse returns the EIP1559 base fee. +BaseFeeResponse returns the EIP1559 base fee. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `base_fee` | [string](#string) | | | - - - - - ### QueryBlockGasRequest + QueryBlockGasRequest defines the request type for querying the EIP1559 base fee. - - - - - ### QueryBlockGasResponse -QueryBlockGasResponse returns block gas used for a given height. +QueryBlockGasResponse returns block gas used for a given height. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `gas` | [int64](#int64) | | | - - - - - ### QueryParamsRequest -QueryParamsRequest defines the request type for querying x/evm parameters. - - - - +QueryParamsRequest defines the request type for querying x/evm parameters. ### QueryParamsResponse -QueryParamsResponse defines the response type for querying x/evm parameters. +QueryParamsResponse defines the response type for querying x/evm parameters. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#ethermint.feemarket.v1.Params) | | params define the evm module parameters. | - - - - - ### Query + Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -1107,31 +838,23 @@ Query defines the gRPC querier service. - -

Top

## ethermint/types/v1/account.proto - - ### EthAccount + EthAccount implements the authtypes.AccountI interface and embeds an authtypes.BaseAccount type. It is compatible with the auth AccountKeeper. - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `base_account` | [cosmos.auth.v1beta1.BaseAccount](#cosmos.auth.v1beta1.BaseAccount) | | | | `code_hash` | [string](#string) | | | - - - - @@ -1140,31 +863,21 @@ authtypes.BaseAccount type. It is compatible with the auth AccountKeeper. - -

Top

## ethermint/types/v1/web3.proto - - ### ExtensionOptionsWeb3Tx - - | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `typed_data_chain_id` | [uint64](#uint64) | | typed data chain id used only in EIP712 Domain and should match Ethereum network ID in a Web3 provider (e.g. Metamask). | | `fee_payer` | [string](#string) | | fee payer is an account address for the fee payer. It will be validated during EIP712 signature checking. | | `fee_payer_sig` | [bytes](#bytes) | | fee payer sig is a signature data from the fee paying account, allows to perform fee delegation when using EIP712 Domain. | - - - - @@ -1173,8 +886,6 @@ authtypes.BaseAccount type. It is compatible with the auth AccountKeeper. - - ## Scalar Value Types | .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | @@ -1194,4 +905,3 @@ authtypes.BaseAccount type. It is compatible with the auth AccountKeeper. | bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | | string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | | bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | - diff --git a/docs/architecture/PROCESS.md b/docs/architecture/PROCESS.md index ca905672f5..1f1d6b7fe3 100644 --- a/docs/architecture/PROCESS.md +++ b/docs/architecture/PROCESS.md @@ -14,11 +14,11 @@ ADR creation is an **iterative** process. Instead of trying to solve all decisio 2. Once the motivation is validated, a GitHub Pull Request (PR) is created with a new document based on the `adr-template.md`. -3. An ADR doesn't have to arrive to `master` with an _accepted_ status in a single PR. If the motivation is clear and the solution is sound, we SHOULD be able to merge it and keep a _proposed_ status. It's preferable to have an iterative approach rather than long, not merged Pull Requests. +3. An ADR doesn't have to arrive to `master` with an *accepted* status in a single PR. If the motivation is clear and the solution is sound, we SHOULD be able to merge it and keep a *proposed* status. It's preferable to have an iterative approach rather than long, not merged Pull Requests. -4. If a _proposed_ ADR is merged, then it should clearly document outstanding issues either in ADR document notes or in a GitHub Issue. +4. If a *proposed* ADR is merged, then it should clearly document outstanding issues either in ADR document notes or in a GitHub Issue. -5. The PR SHOULD always be merged. In the case of a faulty ADR, we still prefer to merge it with a _rejected_ status. The only time the ADR SHOULD NOT be merged is if the author abandons it. +5. The PR SHOULD always be merged. In the case of a faulty ADR, we still prefer to merge it with a *rejected* status. The only time the ADR SHOULD NOT be merged is if the author abandons it. 6. Merged ADRs SHOULD NOT be pruned. @@ -53,4 +53,4 @@ DRAFT -> PROPOSED -> LAST CALL yyyy-mm-dd -> ACCEPTED | REJECTED -> SUPERSEDED b ## Language used in ADR + The context/background should be written in the present tense. -+ Avoid using a first, personal form. \ No newline at end of file ++ Avoid using a first, personal form. diff --git a/encoding/codec/codec.go b/encoding/codec/codec.go index 957d00a1e3..c9600cd4d7 100644 --- a/encoding/codec/codec.go +++ b/encoding/codec/codec.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/std" sdk "github.com/cosmos/cosmos-sdk/types" - cryptocodec "github.com/tharsis/ethermint/crypto/codec" - ethermint "github.com/tharsis/ethermint/types" + cryptocodec "github.com/evmos/ethermint/crypto/codec" + ethermint "github.com/evmos/ethermint/types" ) // RegisterLegacyAminoCodec registers Interfaces from types, crypto, and SDK std. diff --git a/encoding/config.go b/encoding/config.go index 8e778954f7..83eb652930 100644 --- a/encoding/config.go +++ b/encoding/config.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/auth/tx" - enccodec "github.com/tharsis/ethermint/encoding/codec" + enccodec "github.com/evmos/ethermint/encoding/codec" ) // MakeConfig creates an EncodingConfig for testing diff --git a/encoding/config_test.go b/encoding/config_test.go index bcd086ccc8..5a90f18438 100644 --- a/encoding/config_test.go +++ b/encoding/config_test.go @@ -8,10 +8,10 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/app" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/tests" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/app" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/tests" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) func TestTxEncoding(t *testing.T) { diff --git a/go.mod b/go.mod index 88ebe01c4d..a922c470d1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/tharsis/ethermint +module github.com/evmos/ethermint go 1.17 diff --git a/go.sum b/go.sum index 9c2028cd5b..3092b9e2ab 100644 --- a/go.sum +++ b/go.sum @@ -41,8 +41,6 @@ cloud.google.com/go/bigtable v1.2.0/go.mod h1:JcVAOl45lrTmQfLj7T6TxyMzIN/3FGGcFm cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= -cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= -cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= @@ -178,7 +176,6 @@ github.com/btcsuite/btcd v0.0.0-20190115013929-ed77733ec07d/go.mod h1:d3C0AkH6BR github.com/btcsuite/btcd v0.0.0-20190315201642-aa6e0f35703c/go.mod h1:DrZx5ec/dmnfpw9KyYoQyYo7d0KEvTkk/5M/vbZjAr8= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= github.com/btcsuite/btcd v0.21.0-beta/go.mod h1:ZSWyehm27aAuS9bvkATT+Xte3hjHZ+MRgMY/8NJ7K94= -github.com/btcsuite/btcd v0.22.0-beta/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= github.com/btcsuite/btcd v0.22.1 h1:CnwP9LM/M9xuRrGSCGeMVs9iv09uMqwsVX7EeIpgV2c= github.com/btcsuite/btcd v0.22.1/go.mod h1:wqgTSL29+50LRkmOVknEdmt8ZojIzhuWvgu/iptuN7Y= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= @@ -205,7 +202,6 @@ github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QH github.com/cenkalti/backoff/v4 v4.1.1 h1:G2HAfAmvm/GcKan2oOQpBXOd2tT2G57ZnZGWa1PxPBQ= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -225,10 +221,6 @@ github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4 github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9/go.mod h1:1MxXX1Ux4x6mqPmjkUgTP1CdXIBXKX7T+Jk9Gxrmx+U= github.com/cloudflare/cloudflare-go v0.14.0/go.mod h1:EnwdgGMaFOruiPZRFSgn+TsQ3hQ7C/YWzIGLeu5c304= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/coinbase/rosetta-sdk-go v0.7.0 h1:lmTO/JEpCvZgpbkOITL95rA80CPKb5CtMzLaqF2mCNg= @@ -255,7 +247,6 @@ github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfc github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44= github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU= -github.com/cosmos/cosmos-sdk v0.45.4/go.mod h1:WOqtDxN3eCCmnYLVla10xG7lEXkFjpTaqm2a2WasgCc= github.com/cosmos/cosmos-sdk v0.45.5-0.20220523154235-2921a1c3c918 h1:adHQCXXYYLO+VxH9aSifiKofXwOwRUBx0lxny5fKQCg= github.com/cosmos/cosmos-sdk v0.45.5-0.20220523154235-2921a1c3c918/go.mod h1:WOqtDxN3eCCmnYLVla10xG7lEXkFjpTaqm2a2WasgCc= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= @@ -333,21 +324,17 @@ github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c/go.mod h1:YO35OhQPt github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= github.com/ethereum/go-ethereum v1.9.25/go.mod h1:vMkFiYLHI4tgPw4k2j4MHKoovchFE8plZ0M9VMk4/oM= github.com/ethereum/go-ethereum v1.10.4/go.mod h1:nEE0TP5MtxGzOMd7egIrbPJMQBnhVU3ELNxhBglIzhg= github.com/ethereum/go-ethereum v1.10.16 h1:3oPrumn0bCW/idjcxMn5YYVCdK7VzJYIvwGZUGLEaoc= github.com/ethereum/go-ethereum v1.10.16/go.mod h1:Anj6cxczl+AHy63o4X9O8yWNHuN5wMpfb8MAnHkWn7Y= github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c h1:8ISkoahWXwZR41ois5lSJBSVw4D0OV19Ht/JSTzvSv0= -github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 h1:7HZCaLC5+BZpmbhCOZJ293Lz68O7PYrF2EzeiFMwCLk= -github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/fatih/color v1.3.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= @@ -367,7 +354,6 @@ github.com/franela/goblin v0.0.0-20210519012713-85d372ac71e2/go.mod h1:VzmDKDJVZ github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= -github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= @@ -382,7 +368,6 @@ github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= github.com/gin-gonic/gin v1.7.0 h1:jGB9xAJQ12AIGNB4HguylppmDK1Am9ppF7XnGXXJuoU= -github.com/gin-gonic/gin v1.7.0/go.mod h1:jD2toBW3GZUr5UMcdrwQA10I7RuaFOl/SGeDjXkfUtY= github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= @@ -501,7 +486,6 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= -github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa h1:Q75Upo5UN4JbPFURXZ8nLKYUvF85dyFRop/vQ0Rv+64= @@ -524,7 +508,6 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= @@ -541,10 +524,8 @@ github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pf github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= -github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= @@ -596,7 +577,6 @@ github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= @@ -647,10 +627,8 @@ github.com/huin/goupnp v1.0.1-0.20210310174557-0ca763054c88/go.mod h1:nNs7wvRfN1 github.com/huin/goupnp v1.0.2 h1:RfGLP+h3mvisuWEyybxNq5Eft3NWhHLPeUN72kpKZoI= github.com/huin/goupnp v1.0.2/go.mod h1:0dxJBVBHqTMjIUMkESDTNgOOx/Mw5wYIfyFmdzSamkM= github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/improbable-eng/grpc-web v0.14.1/go.mod h1:zEjGHa8DAlkoOXmswrNvhUGEYQA9UI7DhrGeHR1DMGU= github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ= github.com/improbable-eng/grpc-web v0.15.0/go.mod h1:1sy9HKV4Jt9aEs9JSnkWlRJPuPtwNr0l57L4f878wP8= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= @@ -676,7 +654,6 @@ github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1C github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jhump/protoreflect v1.9.0 h1:npqHz788dryJiR/l6K/RUQAyh2SwV91+d1dnh4RjO9w= -github.com/jhump/protoreflect v1.9.0/go.mod h1:7GcYQDdMU/O/BBrl/cX6PNHpXh6cenjd8pneu5yW7Tg= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= @@ -726,7 +703,6 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= -github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -747,10 +723,8 @@ github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoR github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77/go.mod h1:5ELEyG+X8f+meRWHuqUOewBOhvHkl7M76pdGEansxW4= -github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= @@ -850,7 +824,6 @@ github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/neilotoole/errgroup v0.1.5/go.mod h1:Q2nLGf+594h0CLBs/Mbg6qOr7GtqDK7C2S41udRnToE= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nishanths/predeclared v0.0.0-20200524104333-86fad755b4d3/go.mod h1:nt3d53pc1VYcphSCIaYAJtnPYnr3Zyn8fMq2wvPGPso= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= @@ -868,8 +841,6 @@ github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108 github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.16.2/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvwxz1E= github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= -github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/ginkgo/v2 v2.1.4 h1:GNapqRSid3zijZ9H77KrgVG4/8KqiyRsxcSxe+7ApXY= github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= @@ -877,7 +848,6 @@ github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= @@ -907,11 +877,6 @@ github.com/openzipkin/zipkin-go v0.2.5/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= github.com/otiai10/copy v1.6.0 h1:IinKAryFFuPONZ7cm6T6E2QX/vcJwSnlaA5lfoaXIiQ= -github.com/otiai10/copy v1.6.0/go.mod h1:XWfuS3CrI0R6IE0FbgHsEazaXO8G0LpMp9o8tos0x4E= -github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= -github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= -github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= -github.com/otiai10/mint v1.3.2/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= @@ -942,7 +907,6 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -958,8 +922,6 @@ github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3O github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.8.0/go.mod h1:O9VU6huf47PktckDQfMTX0Y8tY0/7TSWwj+ITvv0TnM= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.12.2 h1:51L9cDoUHVrXx4zWYlcLQIZ+d+VXHgqnYKkIuq4g/34= github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= @@ -1013,7 +975,6 @@ github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6So github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= -github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rs/cors v0.0.0-20160617231935-a62a804a8a00/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.2 h1:KCooALfAYGs415Cwu5ABvv9n9509fSiG5SQJn/AQo4U= @@ -1026,9 +987,7 @@ github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/sagikazarmark/crypt v0.4.0/go.mod h1:ALv2SRj7GxYV4HO9elxH9nS6M9gW+xDNxqmyJ6RfDFM= github.com/sagikazarmark/crypt v0.5.0/go.mod h1:l+nzl7KWh51rpzp2h7t4MZWyiEWdhNpOAnclKvg+mdA= -github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa h1:0U2s5loxrTy6/VgfVoLuVLFJcURKLH49ie0zSch7gh4= github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= @@ -1058,8 +1017,6 @@ github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasO github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo= github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= @@ -1083,7 +1040,6 @@ github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DM github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.10.1/go.mod h1:IGlFPqhNAPKRxohIzWpI5QEy4kuI7tcl5WvR+8qy1rU= github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUsX7Zk= github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= @@ -1127,7 +1083,6 @@ github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tendermint/tendermint v0.34.14/go.mod h1:FrwVm3TvsVicI9Z7FlucHV6Znfd5KBc/Lpp69cCwtk0= -github.com/tendermint/tendermint v0.34.19/go.mod h1:R5+wgIwSxMdKQcmOaeudL0Cjkr3HDkhpcdum6VeU3R4= github.com/tendermint/tendermint v0.34.20-0.20220517115723-e6f071164839 h1:84fLknaRpFmZ33teqQSKq5tksqPDk90vhbz53Ngp4a8= github.com/tendermint/tendermint v0.34.20-0.20220517115723-e6f071164839/go.mod h1:Rlthqx2Hq440neL9pfBGV1TJGqqTqT++bvkL1yvpytY= github.com/tendermint/tm-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw= @@ -1180,7 +1135,6 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/zondax/hid v0.9.0 h1:eiT3P6vNxAEVxXMw66eZUAAnU2zD33JBkfG/EnfAKl8= github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= @@ -1190,19 +1144,12 @@ go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/api/v3 v3.5.2/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= -go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/pkg/v3 v3.5.2/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs= go.etcd.io/etcd/client/v2 v2.305.2/go.mod h1:2D7ZejHVMIfog1221iLSYlQRzrtECw3kz4I4VAQm3qI= -go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU= go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= -go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= @@ -1212,7 +1159,6 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -1238,7 +1184,6 @@ golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -1256,9 +1201,7 @@ golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210915214749-c084706c2272/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e h1:T8NU3HyQ8ClP4SEE+KbFlg6n0NhuTsN4MyznaarGsZM= @@ -1305,8 +1248,6 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1365,17 +1306,14 @@ golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210903162142-ad29c8ab022f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211208012354-db4efeb81f4b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 h1:NWy5+hlRbC7HK+PmcXVUmW1IMyFce7to56IUvhUFm7Y= golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1513,7 +1451,6 @@ golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1522,10 +1459,8 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= @@ -1596,10 +1531,8 @@ golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWc golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200717024301-6ddee64345a6/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= @@ -1618,13 +1551,11 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= @@ -1669,9 +1600,6 @@ google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQ google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= -google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= -google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= -google.golang.org/api v0.81.0/go.mod h1:FA6Mb/bZxj706H2j+j2d6mHEEaHBmbbWnkfvmorOCko= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1752,7 +1680,6 @@ google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ6 google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211223182754-3ac035c7e7cb/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= @@ -1761,12 +1688,6 @@ google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220602131408-e326c6e8e9c8 h1:qRu95HZ148xXw+XeZ3dvqe85PxH4X8+jIo0iRPKcEnM= google.golang.org/genproto v0.0.0-20220602131408-e326c6e8e9c8/go.mod h1:yKyY4AMRwFiC8yMMNaMi+RkCnjZJt9LoWuvhXjMs+To= google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o= @@ -1782,7 +1703,6 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.25.1-0.20200805231151-a709e31e5d12/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= @@ -1801,7 +1721,6 @@ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= @@ -1826,7 +1745,6 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= diff --git a/networks/local/ethermintnode/Dockerfile b/networks/local/ethermintnode/Dockerfile index 041890632b..3fbf0b3e5d 100644 --- a/networks/local/ethermintnode/Dockerfile +++ b/networks/local/ethermintnode/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get upgrade -y && \ apt-get install -y $PACKAGES # Set working directory for the build -WORKDIR /go/src/github.com/tharsis/ethermint +WORKDIR /go/src/github.com/evmos/ethermint # Add source files COPY . . @@ -22,8 +22,8 @@ WORKDIR / RUN apt-get update # Copy over binaries from the build-env -COPY --from=build-env /go/src/github.com/tharsis/ethermint/build/ethermintd / -COPY --from=build-env /go/src/github.com/tharsis/ethermint/scripts/start-docker.sh / +COPY --from=build-env /go/src/github.com/evmos/ethermint/build/ethermintd / +COPY --from=build-env /go/src/github.com/evmos/ethermint/scripts/start-docker.sh / EXPOSE 26656 26657 1317 8545 8546 diff --git a/proto/ethermint/crypto/v1/ethsecp256k1/keys.proto b/proto/ethermint/crypto/v1/ethsecp256k1/keys.proto index 788382abf8..4bde4739bc 100644 --- a/proto/ethermint/crypto/v1/ethsecp256k1/keys.proto +++ b/proto/ethermint/crypto/v1/ethsecp256k1/keys.proto @@ -3,7 +3,7 @@ package ethermint.crypto.v1.ethsecp256k1; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/ethermint/crypto/ethsecp256k1"; +option go_package = "github.com/evmos/ethermint/crypto/ethsecp256k1"; // PubKey defines a type alias for an ecdsa.PublicKey that implements // Tendermint's PubKey interface. It represents the 33-byte compressed public diff --git a/proto/ethermint/evm/v1/evm.proto b/proto/ethermint/evm/v1/evm.proto index d65b367c78..a0f867bcee 100644 --- a/proto/ethermint/evm/v1/evm.proto +++ b/proto/ethermint/evm/v1/evm.proto @@ -3,7 +3,7 @@ package ethermint.evm.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/ethermint/x/evm/types"; +option go_package = "github.com/evmos/ethermint/x/evm/types"; // Params defines the EVM module parameters message Params { diff --git a/proto/ethermint/evm/v1/genesis.proto b/proto/ethermint/evm/v1/genesis.proto index 65d27321d9..196bbd23a9 100644 --- a/proto/ethermint/evm/v1/genesis.proto +++ b/proto/ethermint/evm/v1/genesis.proto @@ -4,7 +4,7 @@ package ethermint.evm.v1; import "gogoproto/gogo.proto"; import "ethermint/evm/v1/evm.proto"; -option go_package = "github.com/tharsis/ethermint/x/evm/types"; +option go_package = "github.com/evmos/ethermint/x/evm/types"; // GenesisState defines the evm module's genesis state. message GenesisState { diff --git a/proto/ethermint/evm/v1/query.proto b/proto/ethermint/evm/v1/query.proto index 7a875e1639..537bc7cf63 100644 --- a/proto/ethermint/evm/v1/query.proto +++ b/proto/ethermint/evm/v1/query.proto @@ -8,7 +8,7 @@ import "ethermint/evm/v1/evm.proto"; import "ethermint/evm/v1/tx.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/tharsis/ethermint/x/evm/types"; +option go_package = "github.com/evmos/ethermint/x/evm/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/ethermint/evm/v1/tx.proto b/proto/ethermint/evm/v1/tx.proto index 7e88873b74..5804276da5 100644 --- a/proto/ethermint/evm/v1/tx.proto +++ b/proto/ethermint/evm/v1/tx.proto @@ -7,7 +7,7 @@ import "google/protobuf/any.proto"; import "cosmos_proto/cosmos.proto"; import "ethermint/evm/v1/evm.proto"; -option go_package = "github.com/tharsis/ethermint/x/evm/types"; +option go_package = "github.com/evmos/ethermint/x/evm/types"; // Msg defines the evm Msg service. service Msg { diff --git a/proto/ethermint/feemarket/v1/feemarket.proto b/proto/ethermint/feemarket/v1/feemarket.proto index df6f3ed5b1..8508ec715f 100644 --- a/proto/ethermint/feemarket/v1/feemarket.proto +++ b/proto/ethermint/feemarket/v1/feemarket.proto @@ -3,7 +3,7 @@ package ethermint.feemarket.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/ethermint/x/feemarket/types"; +option go_package = "github.com/evmos/ethermint/x/feemarket/types"; // Params defines the EVM module parameters message Params { diff --git a/proto/ethermint/feemarket/v1/genesis.proto b/proto/ethermint/feemarket/v1/genesis.proto index dd23631b9e..e3307844fb 100644 --- a/proto/ethermint/feemarket/v1/genesis.proto +++ b/proto/ethermint/feemarket/v1/genesis.proto @@ -4,7 +4,7 @@ package ethermint.feemarket.v1; import "gogoproto/gogo.proto"; import "ethermint/feemarket/v1/feemarket.proto"; -option go_package = "github.com/tharsis/ethermint/x/feemarket/types"; +option go_package = "github.com/evmos/ethermint/x/feemarket/types"; // GenesisState defines the feemarket module's genesis state. message GenesisState { diff --git a/proto/ethermint/feemarket/v1/query.proto b/proto/ethermint/feemarket/v1/query.proto index b960808d88..f8b672b026 100644 --- a/proto/ethermint/feemarket/v1/query.proto +++ b/proto/ethermint/feemarket/v1/query.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "ethermint/feemarket/v1/feemarket.proto"; -option go_package = "github.com/tharsis/ethermint/x/feemarket/types"; +option go_package = "github.com/evmos/ethermint/x/feemarket/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/ethermint/types/v1/account.proto b/proto/ethermint/types/v1/account.proto index 6beffb273e..4a3a5d5d78 100644 --- a/proto/ethermint/types/v1/account.proto +++ b/proto/ethermint/types/v1/account.proto @@ -5,7 +5,7 @@ import "cosmos/auth/v1beta1/auth.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/ethermint/types"; +option go_package = "github.com/evmos/ethermint/types"; // EthAccount implements the authtypes.AccountI interface and embeds an // authtypes.BaseAccount type. It is compatible with the auth AccountKeeper. diff --git a/proto/ethermint/types/v1/web3.proto b/proto/ethermint/types/v1/web3.proto index 7bcab06d6a..df6bf65b22 100644 --- a/proto/ethermint/types/v1/web3.proto +++ b/proto/ethermint/types/v1/web3.proto @@ -3,7 +3,7 @@ package ethermint.types.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/ethermint/types"; +option go_package = "github.com/evmos/ethermint/types"; message ExtensionOptionsWeb3Tx { option (gogoproto.goproto_getters) = false; diff --git a/rpc/apis.go b/rpc/apis.go index 4eb0438e47..15e056cd7c 100644 --- a/rpc/apis.go +++ b/rpc/apis.go @@ -10,16 +10,16 @@ import ( "github.com/ethereum/go-ethereum/rpc" - "github.com/tharsis/ethermint/rpc/backend" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/debug" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/eth" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/eth/filters" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/miner" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/net" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/personal" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/txpool" - "github.com/tharsis/ethermint/rpc/namespaces/ethereum/web3" - "github.com/tharsis/ethermint/rpc/types" + "github.com/evmos/ethermint/rpc/backend" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/debug" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/eth" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/eth/filters" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/miner" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/net" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/personal" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/txpool" + "github.com/evmos/ethermint/rpc/namespaces/ethereum/web3" + "github.com/evmos/ethermint/rpc/types" rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" ) diff --git a/rpc/backend/backend.go b/rpc/backend/backend.go index 98fc55d96c..4736568745 100644 --- a/rpc/backend/backend.go +++ b/rpc/backend/backend.go @@ -13,12 +13,12 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/rpc" + "github.com/evmos/ethermint/rpc/types" + "github.com/evmos/ethermint/server/config" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/tendermint/tendermint/libs/log" tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/tharsis/ethermint/rpc/types" - "github.com/tharsis/ethermint/server/config" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" ) // BackendI implements the Cosmos and EVM backend. diff --git a/rpc/backend/evm_backend.go b/rpc/backend/evm_backend.go index d5d8a84a86..925774b3a6 100644 --- a/rpc/backend/evm_backend.go +++ b/rpc/backend/evm_backend.go @@ -26,10 +26,10 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/tharsis/ethermint/rpc/types" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/rpc/types" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" ) var bAttributeKeyEthereumBloom = []byte(evmtypes.AttributeKeyEthereumBloom) diff --git a/rpc/backend/utils.go b/rpc/backend/utils.go index 019806f8af..5c4c9ec4a6 100644 --- a/rpc/backend/utils.go +++ b/rpc/backend/utils.go @@ -20,8 +20,8 @@ import ( "github.com/tendermint/tendermint/libs/log" tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/tharsis/ethermint/rpc/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/rpc/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // ExceedBlockGasLimitError defines the error message when tx execution exceeds the block gas limit. diff --git a/rpc/namespaces/ethereum/debug/api.go b/rpc/namespaces/ethereum/debug/api.go index 6cf5272b5d..f4b91d9d64 100644 --- a/rpc/namespaces/ethereum/debug/api.go +++ b/rpc/namespaces/ethereum/debug/api.go @@ -16,7 +16,7 @@ import ( "github.com/davecgh/go-spew/spew" tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/cosmos/cosmos-sdk/client" stderrors "github.com/pkg/errors" @@ -27,9 +27,9 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/consensus/ethash" "github.com/ethereum/go-ethereum/rlp" + "github.com/evmos/ethermint/rpc/backend" + rpctypes "github.com/evmos/ethermint/rpc/types" "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/ethermint/rpc/backend" - rpctypes "github.com/tharsis/ethermint/rpc/types" ) // HandlerT keeps track of the cpu profiler and trace execution diff --git a/rpc/namespaces/ethereum/eth/api.go b/rpc/namespaces/ethereum/eth/api.go index 07add625ac..ed11f08e37 100644 --- a/rpc/namespaces/ethereum/eth/api.go +++ b/rpc/namespaces/ethereum/eth/api.go @@ -7,7 +7,7 @@ import ( "math" "math/big" - "github.com/tharsis/ethermint/ethereum/eip712" + "github.com/evmos/ethermint/ethereum/eip712" "github.com/ethereum/go-ethereum/signer/core/apitypes" @@ -35,11 +35,11 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/crypto/hd" - "github.com/tharsis/ethermint/rpc/backend" - rpctypes "github.com/tharsis/ethermint/rpc/types" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/hd" + "github.com/evmos/ethermint/rpc/backend" + rpctypes "github.com/evmos/ethermint/rpc/types" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec. @@ -625,7 +625,7 @@ func (e *PublicAPI) Resend(ctx context.Context, args evmtypes.TransactionArgs, g } for _, tx := range pending { - // FIXME does Resend api possible at all? https://github.com/tharsis/ethermint/issues/905 + // FIXME does Resend api possible at all? https://github.com/evmos/ethermint/issues/905 p, err := evmtypes.UnwrapEthereumMsg(tx, common.Hash{}) if err != nil { // not valid ethereum tx diff --git a/rpc/namespaces/ethereum/eth/filters/api.go b/rpc/namespaces/ethereum/eth/filters/api.go index 745876f58c..00a13e96c4 100644 --- a/rpc/namespaces/ethereum/eth/filters/api.go +++ b/rpc/namespaces/ethereum/eth/filters/api.go @@ -7,7 +7,7 @@ import ( "time" "github.com/cosmos/cosmos-sdk/client" - "github.com/tharsis/ethermint/rpc/types" + "github.com/evmos/ethermint/rpc/types" "github.com/tendermint/tendermint/libs/log" @@ -20,7 +20,7 @@ import ( "github.com/ethereum/go-ethereum/eth/filters" "github.com/ethereum/go-ethereum/rpc" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // Backend defines the methods requided by the PublicFilterAPI backend diff --git a/rpc/namespaces/ethereum/eth/filters/filter_system.go b/rpc/namespaces/ethereum/eth/filters/filter_system.go index 02685ca80e..a990074e50 100644 --- a/rpc/namespaces/ethereum/eth/filters/filter_system.go +++ b/rpc/namespaces/ethereum/eth/filters/filter_system.go @@ -22,8 +22,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/rpc/ethereum/pubsub" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/rpc/ethereum/pubsub" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) var ( diff --git a/rpc/namespaces/ethereum/eth/filters/filters.go b/rpc/namespaces/ethereum/eth/filters/filters.go index 80e5d36dc2..531dff4d3b 100644 --- a/rpc/namespaces/ethereum/eth/filters/filters.go +++ b/rpc/namespaces/ethereum/eth/filters/filters.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "math/big" - "github.com/tharsis/ethermint/rpc/types" + "github.com/evmos/ethermint/rpc/types" "github.com/pkg/errors" "github.com/tendermint/tendermint/libs/log" diff --git a/rpc/namespaces/ethereum/miner/api.go b/rpc/namespaces/ethereum/miner/api.go index ee3299b9a8..8c5f192292 100644 --- a/rpc/namespaces/ethereum/miner/api.go +++ b/rpc/namespaces/ethereum/miner/api.go @@ -21,9 +21,9 @@ import ( "github.com/tendermint/tendermint/libs/log" tmtypes "github.com/tendermint/tendermint/types" - "github.com/tharsis/ethermint/rpc/backend" - rpctypes "github.com/tharsis/ethermint/rpc/types" - "github.com/tharsis/ethermint/server/config" + "github.com/evmos/ethermint/rpc/backend" + rpctypes "github.com/evmos/ethermint/rpc/types" + "github.com/evmos/ethermint/server/config" ) // API is the private miner prefixed set of APIs in the Miner JSON-RPC spec. diff --git a/rpc/namespaces/ethereum/net/api.go b/rpc/namespaces/ethereum/net/api.go index a8e679ef3f..b183d8a89a 100644 --- a/rpc/namespaces/ethereum/net/api.go +++ b/rpc/namespaces/ethereum/net/api.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/client" + ethermint "github.com/evmos/ethermint/types" rpcclient "github.com/tendermint/tendermint/rpc/client" - ethermint "github.com/tharsis/ethermint/types" ) // PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec. diff --git a/rpc/namespaces/ethereum/personal/api.go b/rpc/namespaces/ethereum/personal/api.go index 0f39bc152d..a10ac38149 100644 --- a/rpc/namespaces/ethereum/personal/api.go +++ b/rpc/namespaces/ethereum/personal/api.go @@ -6,12 +6,12 @@ import ( "os" "time" - "github.com/tharsis/ethermint/rpc/backend" + "github.com/evmos/ethermint/rpc/backend" "github.com/cosmos/cosmos-sdk/client" - "github.com/tharsis/ethermint/crypto/hd" - ethermint "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/crypto/hd" + ethermint "github.com/evmos/ethermint/types" "github.com/tendermint/tendermint/libs/log" @@ -24,8 +24,8 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // PrivateAccountAPI is the personal_ prefixed set of APIs in the Web3 JSON-RPC spec. diff --git a/rpc/namespaces/ethereum/txpool/api.go b/rpc/namespaces/ethereum/txpool/api.go index 8d4725c89c..22771abfc6 100644 --- a/rpc/namespaces/ethereum/txpool/api.go +++ b/rpc/namespaces/ethereum/txpool/api.go @@ -5,11 +5,11 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/tharsis/ethermint/rpc/types" + "github.com/evmos/ethermint/rpc/types" ) // PublicAPI offers and API for the transaction pool. It only operates on data that is non-confidential. -// NOTE: For more info about the current status of this endpoints see https://github.com/tharsis/ethermint/issues/124 +// NOTE: For more info about the current status of this endpoints see https://github.com/evmos/ethermint/issues/124 type PublicAPI struct { logger log.Logger } diff --git a/rpc/namespaces/ethereum/web3/api.go b/rpc/namespaces/ethereum/web3/api.go index 04fbee76bc..7dd9988571 100644 --- a/rpc/namespaces/ethereum/web3/api.go +++ b/rpc/namespaces/ethereum/web3/api.go @@ -1,7 +1,7 @@ package web3 import ( - "github.com/tharsis/ethermint/version" + "github.com/evmos/ethermint/version" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/crypto" diff --git a/rpc/types/block.go b/rpc/types/block.go index 0f407f9086..8977f9ea1c 100644 --- a/rpc/types/block.go +++ b/rpc/types/block.go @@ -17,7 +17,7 @@ import ( grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - ethermint "github.com/tharsis/ethermint/types" + ethermint "github.com/evmos/ethermint/types" ) // BlockNumber represents decoding hex string to block values diff --git a/rpc/types/events.go b/rpc/types/events.go index 68324b1dad..db50301eac 100644 --- a/rpc/types/events.go +++ b/rpc/types/events.go @@ -6,8 +6,8 @@ import ( "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" abci "github.com/tendermint/tendermint/abci/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" ) // EventFormat is the format version of the events. diff --git a/rpc/types/events_test.go b/rpc/types/events_test.go index 55f8a361ff..c946a97f30 100644 --- a/rpc/types/events_test.go +++ b/rpc/types/events_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/ethereum/go-ethereum/common" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" ) func TestParseTxResult(t *testing.T) { @@ -25,7 +25,8 @@ func TestParseTxResult(t *testing.T) { response abci.ResponseDeliverTx expTxs []*ParsedTx // expected parse result, nil means expect error. }{ - {"format 1 events", + { + "format 1 events", abci.ResponseDeliverTx{ GasUsed: 21000, Events: []abci.Event{ @@ -87,7 +88,8 @@ func TestParseTxResult(t *testing.T) { }, }, }, - {"format 2 events", + { + "format 2 events", abci.ResponseDeliverTx{ GasUsed: 21000, Events: []abci.Event{ @@ -133,7 +135,8 @@ func TestParseTxResult(t *testing.T) { }, }, }, - {"format 1 events, failed", + { + "format 1 events, failed", abci.ResponseDeliverTx{ GasUsed: 21000, Events: []abci.Event{ @@ -164,7 +167,8 @@ func TestParseTxResult(t *testing.T) { }, nil, }, - {"format 1 events, failed", + { + "format 1 events, failed", abci.ResponseDeliverTx{ GasUsed: 21000, Events: []abci.Event{ @@ -195,7 +199,8 @@ func TestParseTxResult(t *testing.T) { }, nil, }, - {"format 2 events failed", + { + "format 2 events failed", abci.ResponseDeliverTx{ GasUsed: 21000, Events: []abci.Event{ @@ -213,7 +218,8 @@ func TestParseTxResult(t *testing.T) { }, nil, }, - {"format 2 events failed", + { + "format 2 events failed", abci.ResponseDeliverTx{ GasUsed: 21000, Events: []abci.Event{ diff --git a/rpc/types/query_client.go b/rpc/types/query_client.go index b11ba3f7d7..6268e5f799 100644 --- a/rpc/types/query_client.go +++ b/rpc/types/query_client.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" - evmtypes "github.com/tharsis/ethermint/x/evm/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" ) // QueryClient defines a gRPC Client used for: diff --git a/rpc/types/utils.go b/rpc/types/utils.go index e6eaa9154c..15da24489a 100644 --- a/rpc/types/utils.go +++ b/rpc/types/utils.go @@ -12,8 +12,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - evmtypes "github.com/tharsis/ethermint/x/evm/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" diff --git a/rpc/websockets.go b/rpc/websockets.go index dd1cc4e094..e859d91904 100644 --- a/rpc/websockets.go +++ b/rpc/websockets.go @@ -26,11 +26,11 @@ import ( rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" tmtypes "github.com/tendermint/tendermint/types" - "github.com/tharsis/ethermint/rpc/ethereum/pubsub" - rpcfilters "github.com/tharsis/ethermint/rpc/namespaces/ethereum/eth/filters" - "github.com/tharsis/ethermint/rpc/types" - "github.com/tharsis/ethermint/server/config" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/rpc/ethereum/pubsub" + rpcfilters "github.com/evmos/ethermint/rpc/namespaces/ethereum/eth/filters" + "github.com/evmos/ethermint/rpc/types" + "github.com/evmos/ethermint/server/config" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) type WebsocketsServer interface { diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 9f62213397..cba0247da2 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -40,5 +40,5 @@ $(find "$(pwd)/proto" -maxdepth 5 -name '*.proto') # go mod tidy # move proto files to the right places -cp -r github.com/tharsis/ethermint/* ./ +cp -r github.com/evmos/ethermint/* ./ rm -rf github.com diff --git a/server/json_rpc.go b/server/json_rpc.go index 244ad4dc98..49779c9cdf 100644 --- a/server/json_rpc.go +++ b/server/json_rpc.go @@ -12,9 +12,9 @@ import ( "github.com/cosmos/cosmos-sdk/server/types" ethlog "github.com/ethereum/go-ethereum/log" ethrpc "github.com/ethereum/go-ethereum/rpc" - "github.com/tharsis/ethermint/rpc" + "github.com/evmos/ethermint/rpc" - "github.com/tharsis/ethermint/server/config" + "github.com/evmos/ethermint/server/config" ) // StartJSONRPC starts the JSON-RPC server diff --git a/server/start.go b/server/start.go index 028938a523..75282274a2 100644 --- a/server/start.go +++ b/server/start.go @@ -41,9 +41,9 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - ethdebug "github.com/tharsis/ethermint/rpc/namespaces/ethereum/debug" - "github.com/tharsis/ethermint/server/config" - srvflags "github.com/tharsis/ethermint/server/flags" + ethdebug "github.com/evmos/ethermint/rpc/namespaces/ethereum/debug" + "github.com/evmos/ethermint/server/config" + srvflags "github.com/evmos/ethermint/server/flags" ) // StartCmd runs the service passed in, either stand-alone or in-process with diff --git a/tests/e2e/integration_test.go b/tests/e2e/integration_test.go index 60398de336..6ae14a5f0e 100644 --- a/tests/e2e/integration_test.go +++ b/tests/e2e/integration_test.go @@ -10,10 +10,10 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" codectypes "github.com/cosmos/cosmos-sdk/codec/types" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/tharsis/ethermint/rpc/types" + "github.com/evmos/ethermint/rpc/types" sdk "github.com/cosmos/cosmos-sdk/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" // . "github.com/onsi/ginkgo/v2" // . "github.com/onsi/gomega" @@ -28,9 +28,9 @@ import ( "github.com/ethereum/go-ethereum/ethclient/gethclient" "github.com/ethereum/go-ethereum/rpc" - "github.com/tharsis/ethermint/server/config" - "github.com/tharsis/ethermint/testutil/network" - ethermint "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/server/config" + "github.com/evmos/ethermint/testutil/network" + ethermint "github.com/evmos/ethermint/types" ) // var _ = Describe("E2e", func() { diff --git a/tests/importer/importer_test.go b/tests/importer/importer_test.go index e141f40a2a..4b6d5173e3 100644 --- a/tests/importer/importer_test.go +++ b/tests/importer/importer_test.go @@ -9,15 +9,15 @@ import ( "testing" "time" - "github.com/tharsis/ethermint/app" + "github.com/evmos/ethermint/app" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" sdk "github.com/cosmos/cosmos-sdk/types" - evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" - "github.com/tharsis/ethermint/x/evm/statedb" + evmkeeper "github.com/evmos/ethermint/x/evm/keeper" + "github.com/evmos/ethermint/x/evm/statedb" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/consensus/ethash" @@ -28,12 +28,12 @@ import ( ethparams "github.com/ethereum/go-ethereum/params" ethrlp "github.com/ethereum/go-ethereum/rlp" + "github.com/evmos/ethermint/crypto/ethsecp256k1" "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/crypto/tmhash" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmversion "github.com/tendermint/tendermint/proto/tendermint/version" "github.com/tendermint/tendermint/version" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" ) var ( diff --git a/tests/rpc/rpc_pending_test.go b/tests/rpc/rpc_pending_test.go index 282e854b76..4dc79764d0 100644 --- a/tests/rpc/rpc_pending_test.go +++ b/tests/rpc/rpc_pending_test.go @@ -16,7 +16,7 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/stretchr/testify/require" - rpctypes "github.com/tharsis/ethermint/rpc/types" + rpctypes "github.com/evmos/ethermint/rpc/types" ) // func TestMain(m *testing.M) { diff --git a/tests/rpc/rpc_test.go b/tests/rpc/rpc_test.go index e55f886732..daf6a75a8c 100644 --- a/tests/rpc/rpc_test.go +++ b/tests/rpc/rpc_test.go @@ -17,9 +17,9 @@ import ( "github.com/stretchr/testify/require" - rpctypes "github.com/tharsis/ethermint/rpc/types" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + rpctypes "github.com/evmos/ethermint/rpc/types" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" diff --git a/tests/signer.go b/tests/signer.go index b90ecd6d7e..c675480f9c 100644 --- a/tests/signer.go +++ b/tests/signer.go @@ -10,7 +10,7 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/ethsecp256k1" ) // NewAddrKey generates an Ethereum address and its corresponding private key. diff --git a/tests/solidity/README.md b/tests/solidity/README.md index 8e6c5bf9ca..8d7da0dcd4 100644 --- a/tests/solidity/README.md +++ b/tests/solidity/README.md @@ -16,7 +16,7 @@ Increasingly difficult tests are provided: To run the tests, you can use the `test-helper.js` utility to test all suites under `ganache` or `ethermint` network. The `test-helper.js` will help you spawn an `ethermintd` process before running the tests. -You can simply run `yarn test --network ethermint` to run all tests with ethermint network, or you can run `yarn test --network ganache` to use ganache shipped with truffle. In most cases, there two networks should produce identical test results. +You can simply run `yarn test --network ethermint` to run all tests with ethermint network, or you can run `yarn test --network ganache` to use ganache shipped with truffle. In most cases, there two networks should produce identical test results. If you only want to run a few test cases, append the name of tests following by the command line. For example, use `yarn test --network ethermint basic` to run the `basic` test under `ethermint` network. @@ -32,13 +32,12 @@ You will now have three ethereum accounts unlocked in the test node: - `0xddd64b4712f7c8f1ace3c145c950339eddaf221d` (User 1) - `0x0f54f47bf9b8e317b214ccd6a7c3e38b893cd7f0` (user 2) - Keep the terminal window open, go into any of the tests and run `yarn test-ethermint`. You should see `ethermintd` accepting transactions and producing blocks. You should be able to query for any transaction via: - `ethermintd query tx ` - `curl localhost:8545 -H "Content-Type:application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":[""],"id":1}'` -From here, in your other available terminal, +From here, in your other available terminal, And obviously more, via the Ethereum JSON-RPC API). When in doubt, you can also run the tests against a Ganache instance via `yarn test-ganache`, to make sure they are behaving correctly. @@ -48,11 +47,11 @@ When in doubt, you can also run the tests against a Ganache instance via `yarn t The [`init-test-node.sh`](./init-test-node.sh) script sets up ethermint with the following accounts: - `ethm10jmp6sgh4cc6zt3e8gw05wavvejgr5pwtu750w` (Validator) - - `0x7cB61D4117AE31a12E393a1Cfa3BaC666481D02E` + - `0x7cB61D4117AE31a12E393a1Cfa3BaC666481D02E` - `ethm1cml96vmptgw99syqrrz8az79xer2pcgp767p9e` (User 1) - - `0xC6Fe5D33615a1C52c08018c47E8Bc53646A0E101` + - `0xC6Fe5D33615a1C52c08018c47E8Bc53646A0E101` - `ethm1jcltmuhplrdcwp7stlr4hlhlhgd4htqhgjpff2` (user 2) - - `0x963EBDf2e1f8DB8707D05FC75bfeFFBa1B5BaC17` + - `0x963EBDf2e1f8DB8707D05FC75bfeFFBa1B5BaC17` Each with roughly 100 ETH available (1e18 photon). diff --git a/testutil/fund.go b/testutil/fund.go index bcf73684fc..99c601c31d 100644 --- a/testutil/fund.go +++ b/testutil/fund.go @@ -3,7 +3,7 @@ package testutil import ( sdk "github.com/cosmos/cosmos-sdk/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) // FundAccount is a utility function that funds an account by minting and diff --git a/testutil/network/network.go b/testutil/network/network.go index 5d23a55e79..2b68374ae4 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -48,13 +48,13 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/tharsis/ethermint/crypto/hd" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/server/config" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/hd" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/server/config" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tharsis/ethermint/app" + "github.com/evmos/ethermint/app" ) // package-wide network lock to only allow one test network at a time diff --git a/testutil/network/network_test.go b/testutil/network/network_test.go index 6f9b19a5a2..ab15dc410e 100644 --- a/testutil/network/network_test.go +++ b/testutil/network/network_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/tharsis/ethermint/testutil/network" + "github.com/evmos/ethermint/testutil/network" ) type IntegrationTestSuite struct { diff --git a/testutil/network/util.go b/testutil/network/util.go index cf41f2bebe..c588577064 100644 --- a/testutil/network/util.go +++ b/testutil/network/util.go @@ -28,8 +28,8 @@ import ( mintypes "github.com/cosmos/cosmos-sdk/x/mint/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/tharsis/ethermint/server" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/server" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) func startInProcess(cfg Config, val *Validator) error { diff --git a/types/account_test.go b/types/account_test.go index 7571e9bdfe..9afac71ebc 100644 --- a/types/account_test.go +++ b/types/account_test.go @@ -12,10 +12,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - cryptocodec "github.com/tharsis/ethermint/crypto/codec" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - ethermintcodec "github.com/tharsis/ethermint/encoding/codec" - "github.com/tharsis/ethermint/types" + cryptocodec "github.com/evmos/ethermint/crypto/codec" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + ethermintcodec "github.com/evmos/ethermint/encoding/codec" + "github.com/evmos/ethermint/types" ) func init() { diff --git a/types/validation_test.go b/types/validation_test.go index ee60a19f45..d88cd7fc9e 100644 --- a/types/validation_test.go +++ b/types/validation_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/ethereum/go-ethereum/common" + "github.com/evmos/ethermint/tests" "github.com/stretchr/testify/require" - "github.com/tharsis/ethermint/tests" ) func TestIsEmptyHash(t *testing.T) { diff --git a/x/README.md b/x/README.md index 7a1ec07893..be1fbf6c8d 100644 --- a/x/README.md +++ b/x/README.md @@ -7,4 +7,4 @@ order: 0 Here are the modules required in Ethermint : - [EVM](evm/spec/README.md) - Implement the EVM as a Cosmos SDK module. -- [Fee Market](feemarket/spec/README.md) - Define a global variable fee for Cosmos transactions based on EIP-1559. \ No newline at end of file +- [Fee Market](feemarket/spec/README.md) - Define a global variable fee for Cosmos transactions based on EIP-1559. diff --git a/x/evm/atlas/atlas-v0.3.1.md b/x/evm/atlas/atlas-v0.3.1.md index 9d76996273..d38bd46374 100644 --- a/x/evm/atlas/atlas-v0.3.1.md +++ b/x/evm/atlas/atlas-v0.3.1.md @@ -11,9 +11,9 @@ The `x/evm` module is responsible for executing Ethereum Virtual Machine (EVM) s "github.com/cosmos/cosmos-sdk/x/auth" "github.com/cosmos/cosmos-sdk/x/bank" - "github.com/tharsis/ethermint/app/ante" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm" + "github.com/evmos/ethermint/app/ante" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm" ) ``` diff --git a/x/evm/atlas/atlas.toml b/x/evm/atlas/atlas.toml index 51abaca417..224d07260d 100644 --- a/x/evm/atlas/atlas.toml +++ b/x/evm/atlas/atlas.toml @@ -1,6 +1,6 @@ [module] description = "The evm module executes Ethereum Virtual Machine (EVM) state transitions." -homepage = "https://github.com/tharsis/ethermint" +homepage = "https://github.com/evmos/ethermint" keywords = [ "evm", "ethereum", @@ -10,7 +10,7 @@ keywords = [ name = "x/evm" [bug_tracker] -url = "https://github.com/tharsis/ethermint/issues" +url = "https://github.com/evmos/ethermint/issues" [[authors]] name = "fedekunze" @@ -29,6 +29,6 @@ name = "araskachoi" [version] documentation = "https://raw.githubusercontent.com/tharsis/ethermint/main/x/evm/atlas/atlas-v0.3.1.md" -repo = "https://github.com/tharsis/ethermint/releases/tag/v0.3.1" +repo = "https://github.com/evmos/ethermint/releases/tag/v0.3.1" sdk_compat = "v0.39.x" version = "v0.3.1" \ No newline at end of file diff --git a/x/evm/client/cli/query.go b/x/evm/client/cli/query.go index edb802b370..252705f6f5 100644 --- a/x/evm/client/cli/query.go +++ b/x/evm/client/cli/query.go @@ -1,13 +1,13 @@ package cli import ( + rpctypes "github.com/evmos/ethermint/rpc/types" "github.com/spf13/cobra" - rpctypes "github.com/tharsis/ethermint/rpc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // GetQueryCmd returns the parent command for all x/bank CLi query commands. diff --git a/x/evm/client/cli/tx.go b/x/evm/client/cli/tx.go index 0fc0d17882..13e9051b91 100644 --- a/x/evm/client/cli/tx.go +++ b/x/evm/client/cli/tx.go @@ -12,8 +12,8 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - rpctypes "github.com/tharsis/ethermint/rpc/types" - "github.com/tharsis/ethermint/x/evm/types" + rpctypes "github.com/evmos/ethermint/rpc/types" + "github.com/evmos/ethermint/x/evm/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/evm/client/rest/rest.go b/x/evm/client/rest/rest.go index e296cc85e4..f7de95ee4e 100644 --- a/x/evm/client/rest/rest.go +++ b/x/evm/client/rest/rest.go @@ -16,8 +16,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/rest" authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - rpctypes "github.com/tharsis/ethermint/rpc/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + rpctypes "github.com/evmos/ethermint/rpc/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/x/evm/genesis.go b/x/evm/genesis.go index 00c45d463a..a4440c6141 100644 --- a/x/evm/genesis.go +++ b/x/evm/genesis.go @@ -10,9 +10,9 @@ import ( "github.com/ethereum/go-ethereum/crypto" abci "github.com/tendermint/tendermint/abci/types" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/keeper" - "github.com/tharsis/ethermint/x/evm/types" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/keeper" + "github.com/evmos/ethermint/x/evm/types" ) // InitGenesis initializes genesis state based on exported genesis diff --git a/x/evm/genesis_test.go b/x/evm/genesis_test.go index 9a35390bc8..4be1c74ced 100644 --- a/x/evm/genesis_test.go +++ b/x/evm/genesis_test.go @@ -6,10 +6,10 @@ import ( "github.com/ethereum/go-ethereum/common" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/x/evm" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/x/evm" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" ) func (suite *EvmTestSuite) TestInitGenesis() { diff --git a/x/evm/handler.go b/x/evm/handler.go index 150a403102..609a93c8e6 100644 --- a/x/evm/handler.go +++ b/x/evm/handler.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // NewHandler returns a handler for Ethermint type messages. diff --git a/x/evm/handler_test.go b/x/evm/handler_test.go index cb381e13b3..38c212cb74 100644 --- a/x/evm/handler_test.go +++ b/x/evm/handler_test.go @@ -14,7 +14,7 @@ import ( "github.com/cosmos/cosmos-sdk/simapp" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/common" @@ -29,13 +29,13 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/app" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/tests" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/app" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/tests" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" "github.com/tendermint/tendermint/crypto/tmhash" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" diff --git a/x/evm/keeper/benchmark_test.go b/x/evm/keeper/benchmark_test.go index c4461f86ba..231c7a9cfa 100644 --- a/x/evm/keeper/benchmark_test.go +++ b/x/evm/keeper/benchmark_test.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/types" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/types" ) func SetupContract(b *testing.B) (*KeeperTestSuite, common.Address) { diff --git a/x/evm/keeper/grpc_query.go b/x/evm/keeper/grpc_query.go index 04ee1d357d..0115790690 100644 --- a/x/evm/keeper/grpc_query.go +++ b/x/evm/keeper/grpc_query.go @@ -24,9 +24,9 @@ import ( "github.com/ethereum/go-ethereum/core/vm" ethparams "github.com/ethereum/go-ethereum/params" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/evm/keeper/grpc_query_test.go b/x/evm/keeper/grpc_query_test.go index 47e9c49619..0812e0336c 100644 --- a/x/evm/keeper/grpc_query_test.go +++ b/x/evm/keeper/grpc_query_test.go @@ -10,14 +10,14 @@ import ( "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" ethparams "github.com/ethereum/go-ethereum/params" - "github.com/tharsis/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/statedb" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/server/config" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/server/config" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/types" ) // Not valid Ethereum address diff --git a/x/evm/keeper/hooks.go b/x/evm/keeper/hooks.go index 6499655574..fc1c740516 100644 --- a/x/evm/keeper/hooks.go +++ b/x/evm/keeper/hooks.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) var _ types.EvmHooks = MultiEvmHooks{} diff --git a/x/evm/keeper/hooks_test.go b/x/evm/keeper/hooks_test.go index b471f13a2e..b635cf4cd4 100644 --- a/x/evm/keeper/hooks_test.go +++ b/x/evm/keeper/hooks_test.go @@ -9,9 +9,9 @@ import ( "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/x/evm/keeper" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/keeper" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" ) // LogRecordHook records all the logs diff --git a/x/evm/keeper/keeper.go b/x/evm/keeper/keeper.go index 740bee10f7..f3044aa319 100644 --- a/x/evm/keeper/keeper.go +++ b/x/evm/keeper/keeper.go @@ -15,9 +15,9 @@ import ( "github.com/ethereum/go-ethereum/params" "github.com/tendermint/tendermint/libs/log" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" ) // Keeper grants access to the EVM module state and implements the go-ethereum StateDB interface. diff --git a/x/evm/keeper/keeper_test.go b/x/evm/keeper/keeper_test.go index af5975d2e5..c8cc420d2c 100644 --- a/x/evm/keeper/keeper_test.go +++ b/x/evm/keeper/keeper_test.go @@ -20,17 +20,17 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" tmjson "github.com/tendermint/tendermint/libs/json" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - - "github.com/tharsis/ethermint/app" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/server/config" - "github.com/tharsis/ethermint/tests" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + + "github.com/evmos/ethermint/app" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/server/config" + "github.com/evmos/ethermint/tests" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" diff --git a/x/evm/keeper/migrations.go b/x/evm/keeper/migrations.go index bad89100f6..a629925ef2 100644 --- a/x/evm/keeper/migrations.go +++ b/x/evm/keeper/migrations.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - v2 "github.com/tharsis/ethermint/x/evm/migrations/v2" + v2 "github.com/evmos/ethermint/x/evm/migrations/v2" ) // Migrator is a struct for handling in-place store migrations. diff --git a/x/evm/keeper/msg_server.go b/x/evm/keeper/msg_server.go index cc893666b3..8329f040cb 100644 --- a/x/evm/keeper/msg_server.go +++ b/x/evm/keeper/msg_server.go @@ -14,7 +14,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/evm/keeper/params.go b/x/evm/keeper/params.go index dbf0a0fcc8..f9de24bfaf 100644 --- a/x/evm/keeper/params.go +++ b/x/evm/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // GetParams returns the total set of evm parameters. diff --git a/x/evm/keeper/params_test.go b/x/evm/keeper/params_test.go index 9cc6577fe2..59598bd6ac 100644 --- a/x/evm/keeper/params_test.go +++ b/x/evm/keeper/params_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) func (suite *KeeperTestSuite) TestParams() { diff --git a/x/evm/keeper/state_transition.go b/x/evm/keeper/state_transition.go index fbc56538fa..1c4b4b29e9 100644 --- a/x/evm/keeper/state_transition.go +++ b/x/evm/keeper/state_transition.go @@ -11,9 +11,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" @@ -420,7 +420,7 @@ func (k *Keeper) ApplyMessageWithConfig(ctx sdk.Context, msg core.Message, trace // calculate a minimum amount of gas to be charged to sender if GasLimit // is considerably higher than GasUsed to stay more aligned with Tendermint gas mechanics - // for more info https://github.com/tharsis/ethermint/issues/1085 + // for more info https://github.com/evmos/ethermint/issues/1085 gasLimit := sdk.NewDec(int64(msg.Gas())) minGasMultiplier := k.GetMinGasMultiplier(ctx) minimumGasUsed := gasLimit.Mul(minGasMultiplier) diff --git a/x/evm/keeper/state_transition_benchmark_test.go b/x/evm/keeper/state_transition_benchmark_test.go index 9b4f912d6d..a1987a547b 100644 --- a/x/evm/keeper/state_transition_benchmark_test.go +++ b/x/evm/keeper/state_transition_benchmark_test.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/params" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/stretchr/testify/require" - evmtypes "github.com/tharsis/ethermint/x/evm/types" ) var templateAccessListTx = ðtypes.AccessListTx{ diff --git a/x/evm/keeper/state_transition_test.go b/x/evm/keeper/state_transition_test.go index 37314ccbb5..08237f25d2 100644 --- a/x/evm/keeper/state_transition_test.go +++ b/x/evm/keeper/state_transition_test.go @@ -11,12 +11,12 @@ import ( "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/params" + "github.com/evmos/ethermint/tests" + "github.com/evmos/ethermint/x/evm/keeper" + "github.com/evmos/ethermint/x/evm/types" "github.com/tendermint/tendermint/crypto/tmhash" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/tharsis/ethermint/tests" - "github.com/tharsis/ethermint/x/evm/keeper" - "github.com/tharsis/ethermint/x/evm/types" ) func (suite *KeeperTestSuite) TestGetHashFn() { diff --git a/x/evm/keeper/statedb.go b/x/evm/keeper/statedb.go index 1dbd6f9b72..a70d1427d6 100644 --- a/x/evm/keeper/statedb.go +++ b/x/evm/keeper/statedb.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" - ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + ethermint "github.com/evmos/ethermint/types" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" ) var _ statedb.Keeper = &Keeper{} diff --git a/x/evm/keeper/statedb_benchmark_test.go b/x/evm/keeper/statedb_benchmark_test.go index 834a816155..ade6e83efc 100644 --- a/x/evm/keeper/statedb_benchmark_test.go +++ b/x/evm/keeper/statedb_benchmark_test.go @@ -10,7 +10,7 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/tests" + "github.com/evmos/ethermint/tests" ) func BenchmarkCreateAccountNew(b *testing.B) { diff --git a/x/evm/keeper/statedb_test.go b/x/evm/keeper/statedb_test.go index 65a985bd6f..52b29e20a5 100644 --- a/x/evm/keeper/statedb_test.go +++ b/x/evm/keeper/statedb_test.go @@ -15,9 +15,9 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/tests" - "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/tests" + "github.com/evmos/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/types" ) func (suite *KeeperTestSuite) TestCreateAccount() { diff --git a/x/evm/keeper/utils.go b/x/evm/keeper/utils.go index fd37cec1bf..894d76b6a6 100644 --- a/x/evm/keeper/utils.go +++ b/x/evm/keeper/utils.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/x/evm/keeper/utils_test.go b/x/evm/keeper/utils_test.go index e892102033..7684b7a2f0 100644 --- a/x/evm/keeper/utils_test.go +++ b/x/evm/keeper/utils_test.go @@ -7,8 +7,8 @@ import ( "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" ethparams "github.com/ethereum/go-ethereum/params" - evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" - evmtypes "github.com/tharsis/ethermint/x/evm/types" + evmkeeper "github.com/evmos/ethermint/x/evm/keeper" + evmtypes "github.com/evmos/ethermint/x/evm/types" ) func (suite *KeeperTestSuite) TestCheckSenderBalance() { diff --git a/x/evm/migrations/v2/migrate.go b/x/evm/migrations/v2/migrate.go index 04d8ab37e3..3841bf2cf4 100644 --- a/x/evm/migrations/v2/migrate.go +++ b/x/evm/migrations/v2/migrate.go @@ -3,7 +3,7 @@ package v2 import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // MigrateStore add the default RejectUnprotected parameter. diff --git a/x/evm/migrations/v2/migrate_test.go b/x/evm/migrations/v2/migrate_test.go index bc9f8aa2e5..016ea9ca17 100644 --- a/x/evm/migrations/v2/migrate_test.go +++ b/x/evm/migrations/v2/migrate_test.go @@ -10,12 +10,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/tharsis/ethermint/encoding" + "github.com/evmos/ethermint/encoding" - "github.com/tharsis/ethermint/app" - v2 "github.com/tharsis/ethermint/x/evm/migrations/v2" - v2types "github.com/tharsis/ethermint/x/evm/migrations/v2/types" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/app" + v2 "github.com/evmos/ethermint/x/evm/migrations/v2" + v2types "github.com/evmos/ethermint/x/evm/migrations/v2/types" + "github.com/evmos/ethermint/x/evm/types" ) func TestMigrateStore(t *testing.T) { diff --git a/x/evm/migrations/v2/types/chain_config.go b/x/evm/migrations/v2/types/chain_config.go index d0f2134afa..2d74db6ec6 100644 --- a/x/evm/migrations/v2/types/chain_config.go +++ b/x/evm/migrations/v2/types/chain_config.go @@ -10,7 +10,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/params" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // EthereumConfig returns an Ethereum ChainConfig for EVM state transitions. diff --git a/x/evm/migrations/v2/types/params.go b/x/evm/migrations/v2/types/params.go index eb798e85e0..d7fe8c8837 100644 --- a/x/evm/migrations/v2/types/params.go +++ b/x/evm/migrations/v2/types/params.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/ethereum/go-ethereum/core/vm" - "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/types" ) var _ paramtypes.ParamSet = &Params{} diff --git a/x/evm/module.go b/x/evm/module.go index c90b31b313..064988680e 100644 --- a/x/evm/module.go +++ b/x/evm/module.go @@ -19,10 +19,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/tharsis/ethermint/x/evm/client/cli" - "github.com/tharsis/ethermint/x/evm/keeper" - "github.com/tharsis/ethermint/x/evm/simulation" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/client/cli" + "github.com/evmos/ethermint/x/evm/keeper" + "github.com/evmos/ethermint/x/evm/simulation" + "github.com/evmos/ethermint/x/evm/types" ) var ( diff --git a/x/evm/simulation/decoder.go b/x/evm/simulation/decoder.go index 5f646851b0..ec2cdf4230 100644 --- a/x/evm/simulation/decoder.go +++ b/x/evm/simulation/decoder.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/evm/simulation/decoder_test.go b/x/evm/simulation/decoder_test.go index 2dbd85c66b..f4e5372b12 100644 --- a/x/evm/simulation/decoder_test.go +++ b/x/evm/simulation/decoder_test.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // TestDecodeStore tests that evm simulation decoder decodes the key value pairs as expected. diff --git a/x/evm/simulation/genesis.go b/x/evm/simulation/genesis.go index 73110b89d7..00132925c9 100644 --- a/x/evm/simulation/genesis.go +++ b/x/evm/simulation/genesis.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) const ( diff --git a/x/evm/simulation/genesis_test.go b/x/evm/simulation/genesis_test.go index b45e35396d..90e5ab6eb1 100644 --- a/x/evm/simulation/genesis_test.go +++ b/x/evm/simulation/genesis_test.go @@ -11,8 +11,8 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/tharsis/ethermint/x/evm/simulation" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/simulation" + "github.com/evmos/ethermint/x/evm/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/evm/simulation/operations.go b/x/evm/simulation/operations.go index d0ad101c70..7e6608ea06 100644 --- a/x/evm/simulation/operations.go +++ b/x/evm/simulation/operations.go @@ -24,10 +24,10 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/tests" - "github.com/tharsis/ethermint/x/evm/keeper" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/tests" + "github.com/evmos/ethermint/x/evm/keeper" + "github.com/evmos/ethermint/x/evm/types" ) const ( diff --git a/x/evm/simulation/params.go b/x/evm/simulation/params.go index e7b9914374..1ebc811e69 100644 --- a/x/evm/simulation/params.go +++ b/x/evm/simulation/params.go @@ -9,7 +9,7 @@ import ( amino "github.com/cosmos/cosmos-sdk/codec" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/evm/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/evm/simulation/params_test.go b/x/evm/simulation/params_test.go index a67d0c9d21..9c6ad371ad 100644 --- a/x/evm/simulation/params_test.go +++ b/x/evm/simulation/params_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/tharsis/ethermint/x/evm/simulation" + "github.com/evmos/ethermint/x/evm/simulation" ) // TestParamChanges tests the paramChanges are generated as expected. diff --git a/x/evm/spec/01_concepts.md b/x/evm/spec/01_concepts.md index 4d7f4f8bec..c96162d571 100644 --- a/x/evm/spec/01_concepts.md +++ b/x/evm/spec/01_concepts.md @@ -32,12 +32,12 @@ Smart contracts are just like regular accounts on the blockchain, which addition The EVM operates as a stack-based machine. It's main architecture components consist of: -- Virtual ROM: contract code is pulled into this read only memory when processing txs -- Machine state (volatile): changes as the EVM runs and is wiped clean after processing each tx - - Program counter (PC) - - Gas: keeps track of how much gas is used - - Stack and Memory: compute state changes -- Access to account storage (persistent) +* Virtual ROM: contract code is pulled into this read only memory when processing txs +* Machine state (volatile): changes as the EVM runs and is wiped clean after processing each tx + * Program counter (PC) + * Gas: keeps track of how much gas is used + * Stack and Memory: compute state changes +* Access to account storage (persistent) ### State Transitions with Smart Contracts @@ -51,10 +51,10 @@ Smart contracts can also call other smart contracts. Each call to a new contract For further reading, please refer to: -- [EVM](https://eth.wiki/concepts/evm/evm) -- [EVM Architecture](https://cypherpunks-core.github.io/ethereumbook/13evm.html#evm_architecture) -- [What is Ethereum](https://ethdocs.org/en/latest/introduction/what-is-ethereum.html#what-is-ethereum) -- [Opcodes](https://www.ethervm.io/) +* [EVM](https://eth.wiki/concepts/evm/evm) +* [EVM Architecture](https://cypherpunks-core.github.io/ethereumbook/13evm.html#evm_architecture) +* [What is Ethereum](https://ethdocs.org/en/latest/introduction/what-is-ethereum.html#what-is-ethereum) +* [Opcodes](https://www.ethervm.io/) ## Ethermint as Geth implementation @@ -78,14 +78,13 @@ In the Geth implementation, calling the endpoint roughly goes through the follow 6. [`evm.Call()`](https://github.com/ethereum/go-ethereum/blob/d575a2d3bc76dfbdefdd68b6cffff115542faf75/core/vm/evm.go#L168) runs the interpreter `evm.interpreter.Run()` to execute the message. If the execution fails, the state is reverted to a snapshot taken before the execution and gas is consumed. 7. [`Run()`](https://github.com/ethereum/go-ethereum/blob/d575a2d3bc76dfbdefdd68b6cffff115542faf75/core/vm/interpreter.go#L116) performs a loop to execute the opcodes. - The ethermint implementatiom is similar and makes use of the gRPC query client which is included in the Cosmos SDK: 1. `eth_call` request is transformed to call the `func (e *PublicAPI) Call` function using the `eth` namespace -2. [`Call()`](https://github.com/tharsis/ethermint/blob/main/rpc/namespaces/ethereum/eth/api.go#L639) calls `doCall()` -3. [`doCall()`](https://github.com/tharsis/ethermint/blob/main/rpc/namespaces/ethereum/eth/api.go#L656) transforms the arguments into a `EthCallRequest` and calls `EthCall()` using the query client of the evm module. -4. [`EthCall()`](https://github.com/tharsis/ethermint/blob/main/x/evm/keeper/grpc_query.go#L212) transforms the arguments into a `ethtypes.message` and calls `ApplyMessageWithConfig() -5. [`ApplyMessageWithConfig()`](https://github.com/tharsis/ethermint/blob/d5598932a7f06158b7a5e3aa031bbc94eaaae32c/x/evm/keeper/state_transition.go#L341) instantiates an EVM and either `Create()`s a new contract or `Call()`s a contract using the Geth implementation. +2. [`Call()`](https://github.com/evmos/ethermint/blob/main/rpc/namespaces/ethereum/eth/api.go#L639) calls `doCall()` +3. [`doCall()`](https://github.com/evmos/ethermint/blob/main/rpc/namespaces/ethereum/eth/api.go#L656) transforms the arguments into a `EthCallRequest` and calls `EthCall()` using the query client of the evm module. +4. [`EthCall()`](https://github.com/evmos/ethermint/blob/main/x/evm/keeper/grpc_query.go#L212) transforms the arguments into a `ethtypes.message` and calls `ApplyMessageWithConfig() +5. [`ApplyMessageWithConfig()`](https://github.com/evmos/ethermint/blob/d5598932a7f06158b7a5e3aa031bbc94eaaae32c/x/evm/keeper/state_transition.go#L341) instantiates an EVM and either `Create()`s a new contract or `Call()`s a contract using the Geth implementation. ### StateDB @@ -110,5 +109,3 @@ Bloom is the bloom filter value in bytes for each block that can be used for fil ::: tip 👉 **Note**: Since they are not stored on state, Transaction Logs and Block Blooms are not persisted after upgrades. A user must use an archival node after upgrades in order to obtain legacy chain events. ::: - - diff --git a/x/evm/spec/02_state.md b/x/evm/spec/02_state.md index 7b6d7197e8..72302b4cd2 100644 --- a/x/evm/spec/02_state.md +++ b/x/evm/spec/02_state.md @@ -28,55 +28,55 @@ The `StateDB` interface is implemented by the `StateDB` in the `x/evm/statedb` m ```go // github.com/ethereum/go-ethereum/core/vm/interface.go type StateDB interface { - CreateAccount(common.Address) - - SubBalance(common.Address, *big.Int) - AddBalance(common.Address, *big.Int) - GetBalance(common.Address) *big.Int - - GetNonce(common.Address) uint64 - SetNonce(common.Address, uint64) - - GetCodeHash(common.Address) common.Hash - GetCode(common.Address) []byte - SetCode(common.Address, []byte) - GetCodeSize(common.Address) int - - AddRefund(uint64) - SubRefund(uint64) - GetRefund() uint64 - - GetCommittedState(common.Address, common.Hash) common.Hash - GetState(common.Address, common.Hash) common.Hash - SetState(common.Address, common.Hash, common.Hash) - - Suicide(common.Address) bool - HasSuicided(common.Address) bool - - // Exist reports whether the given account exists in state. - // Notably this should also return true for suicided accounts. - Exist(common.Address) bool - // Empty returns whether the given account is empty. Empty - // is defined according to EIP161 (balance = nonce = code = 0). - Empty(common.Address) bool - - PrepareAccessList(sender common.Address, dest *common.Address, precompiles []common.Address, txAccesses types.AccessList) - AddressInAccessList(addr common.Address) bool - SlotInAccessList(addr common.Address, slot common.Hash) (addressOk bool, slotOk bool) - // AddAddressToAccessList adds the given address to the access list. This operation is safe to perform - // even if the feature/fork is not active yet - AddAddressToAccessList(addr common.Address) - // AddSlotToAccessList adds the given (address,slot) to the access list. This operation is safe to perform - // even if the feature/fork is not active yet - AddSlotToAccessList(addr common.Address, slot common.Hash) - - RevertToSnapshot(int) - Snapshot() int - - AddLog(*types.Log) - AddPreimage(common.Hash, []byte) - - ForEachStorage(common.Address, func(common.Hash, common.Hash) bool) error + CreateAccount(common.Address) + + SubBalance(common.Address, *big.Int) + AddBalance(common.Address, *big.Int) + GetBalance(common.Address) *big.Int + + GetNonce(common.Address) uint64 + SetNonce(common.Address, uint64) + + GetCodeHash(common.Address) common.Hash + GetCode(common.Address) []byte + SetCode(common.Address, []byte) + GetCodeSize(common.Address) int + + AddRefund(uint64) + SubRefund(uint64) + GetRefund() uint64 + + GetCommittedState(common.Address, common.Hash) common.Hash + GetState(common.Address, common.Hash) common.Hash + SetState(common.Address, common.Hash, common.Hash) + + Suicide(common.Address) bool + HasSuicided(common.Address) bool + + // Exist reports whether the given account exists in state. + // Notably this should also return true for suicided accounts. + Exist(common.Address) bool + // Empty returns whether the given account is empty. Empty + // is defined according to EIP161 (balance = nonce = code = 0). + Empty(common.Address) bool + + PrepareAccessList(sender common.Address, dest *common.Address, precompiles []common.Address, txAccesses types.AccessList) + AddressInAccessList(addr common.Address) bool + SlotInAccessList(addr common.Address, slot common.Hash) (addressOk bool, slotOk bool) + // AddAddressToAccessList adds the given address to the access list. This operation is safe to perform + // even if the feature/fork is not active yet + AddAddressToAccessList(addr common.Address) + // AddSlotToAccessList adds the given (address,slot) to the access list. This operation is safe to perform + // even if the feature/fork is not active yet + AddSlotToAccessList(addr common.Address, slot common.Hash) + + RevertToSnapshot(int) + Snapshot() int + + AddLog(*types.Log) + AddPreimage(common.Hash, []byte) + + ForEachStorage(common.Address, func(common.Hash, common.Hash) bool) error } ``` @@ -137,10 +137,10 @@ marked as suicided. Supports a transaction type that contains an [access list](https://eips.ethereum.org/EIPS/eip-2930), a list of addresses, and storage keys that the transaction plans to access. The access list state is kept in memory and discarded after the transaction committed. - `PrepareAccessList()` handles the preparatory steps for executing a state transition with regards to both EIP-2929 and EIP-2930. This method should only be called if Yolov3/Berlin/2929+2930 is applicable at the current number. - - Add sender to access list (EIP-2929) - - Add destination to access list (EIP-2929) - - Add precompiles to access list (EIP-2929) - - Add the contents of the optional tx access list (EIP-2930) + - Add sender to access list (EIP-2929) + - Add destination to access list (EIP-2929) + - Add precompiles to access list (EIP-2929) + - Add the contents of the optional tx access list (EIP-2930) - `AddressInAccessList()` returns true if the address is registered. - `SlotInAccessList()` checks if the address and the slots are registered. - `AddAddressToAccessList()` adds the given address to the access list. If the address is already in the access list, this function performs a no-op. @@ -173,40 +173,40 @@ To support the interface functionality, it imports 4 module Keepers: ```go type Keeper struct { - // Protobuf codec - cdc codec.BinaryCodec - // Store key required for the EVM Prefix KVStore. It is required by: - // - storing account's Storage State - // - storing account's Code - // - storing Bloom filters by block height. Needed for the Web3 API. - // For the full list, check the module specification - storeKey sdk.StoreKey - - // key to access the transient store, which is reset on every block during Commit - transientKey sdk.StoreKey - - // module specific parameter space that can be configured through governance - paramSpace paramtypes.Subspace - // access to account state - accountKeeper types.AccountKeeper - // update balance and accounting operations with coins - bankKeeper types.BankKeeper - // access historical headers for EVM state transition execution - stakingKeeper types.StakingKeeper - // fetch EIP1559 base fee and parameters - feeMarketKeeper types.FeeMarketKeeper - - // chain ID number obtained from the context's chain id - eip155ChainID *big.Int - - // Tracer used to collect execution traces from the EVM transaction execution - tracer string - // trace EVM state transition execution. This value is obtained from the `--trace` flag. - // For more info check https://geth.ethereum.org/docs/dapp/tracing - debug bool - - // EVM Hooks for tx post-processing - hooks types.EvmHooks + // Protobuf codec + cdc codec.BinaryCodec + // Store key required for the EVM Prefix KVStore. It is required by: + // - storing account's Storage State + // - storing account's Code + // - storing Bloom filters by block height. Needed for the Web3 API. + // For the full list, check the module specification + storeKey sdk.StoreKey + + // key to access the transient store, which is reset on every block during Commit + transientKey sdk.StoreKey + + // module specific parameter space that can be configured through governance + paramSpace paramtypes.Subspace + // access to account state + accountKeeper types.AccountKeeper + // update balance and accounting operations with coins + bankKeeper types.BankKeeper + // access historical headers for EVM state transition execution + stakingKeeper types.StakingKeeper + // fetch EIP1559 base fee and parameters + feeMarketKeeper types.FeeMarketKeeper + + // chain ID number obtained from the context's chain id + eip155ChainID *big.Int + + // Tracer used to collect execution traces from the EVM transaction execution + tracer string + // trace EVM state transition execution. This value is obtained from the `--trace` flag. + // For more info check https://geth.ethereum.org/docs/dapp/tracing + debug bool + + // EVM Hooks for tx post-processing + hooks types.EvmHooks } ``` diff --git a/x/evm/spec/03_state_transitions.md b/x/evm/spec/03_state_transitions.md index ddd7ba7078..73caf55ebd 100644 --- a/x/evm/spec/03_state_transitions.md +++ b/x/evm/spec/03_state_transitions.md @@ -41,17 +41,17 @@ The `anteHandler` is run for every transaction. It checks if the `Tx` is an Ethe - `EthValidateBasicDecorator(evmKeeper)` validates the fields of a Ethereum type Cosmos `Tx` msg - `EthSigVerificationDecorator(evmKeeper)` validates that the registered chain id is the same as the one on the message, and that the signer address matches the one defined on the message. It's not skipped for RecheckTx, because it set `From` address which is critical from other ante handler to work. Failure in RecheckTx will prevent tx to be included into block, especially when CheckTx succeed, in which case user won't see the error message. - `EthAccountVerificationDecorator(ak, bankKeeper, evmKeeper)` that the sender balance is greater than the total transaction cost. The account will be set to store if it doesn't exist, i.e cannot be found on store. This AnteHandler decorator will fail if: - - any of the msgs is not a MsgEthereumTx - - from address is empty - - account balance is lower than the transaction cost + - any of the msgs is not a MsgEthereumTx + - from address is empty + - account balance is lower than the transaction cost - `EthNonceVerificationDecorator(ak)` validates that the transaction nonces are valid and equivalent to the sender account’s current nonce. - `EthGasConsumeDecorator(evmKeeper)` validates that the Ethereum tx message has enough to cover intrinsic gas (during CheckTx only) and that the sender has enough balance to pay for the gas cost. Intrinsic gas for a transaction is the amount of gas that the transaction uses before the transaction is executed. The gas is a constant value plus any cost incurred by additional bytes of data supplied with the transaction. This AnteHandler decorator will fail if: - - the transaction contains more than one message - - the message is not a MsgEthereumTx - - sender account cannot be found - - transaction's gas limit is lower than the intrinsic gas - - user doesn't have enough balance to deduct the transaction fees (gas_limit * gas_price) - - transaction or block gas meter runs out of gas + - the transaction contains more than one message + - the message is not a MsgEthereumTx + - sender account cannot be found + - transaction's gas limit is lower than the intrinsic gas + - user doesn't have enough balance to deduct the transaction fees (gas_limit * gas_price) + - transaction or block gas meter runs out of gas - `CanTransferDecorator(evmKeeper, feeMarketKeeper)` creates an EVM from the message and calls the BlockContext CanTransfer function to see if the address can execute the transaction. - `EthIncrementSenderSequenceDecorator(ak)` handles incrementing the sequence of the signer (i.e sender). If the transaction is a contract creation, the nonce will be incremented during the transaction execution and not within this AnteHandler decorator. diff --git a/x/evm/spec/04_transactions.md b/x/evm/spec/04_transactions.md index 39f6279dfb..d3609dda23 100644 --- a/x/evm/spec/04_transactions.md +++ b/x/evm/spec/04_transactions.md @@ -12,16 +12,16 @@ An EVM state transition can be achieved by using the `MsgEthereumTx`. This messa ```go type MsgEthereumTx struct { - // inner transaction data - Data *types.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - // encoded storage size of the transaction - Size_ float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"-"` - // transaction hash in hex format - Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty" rlp:"-"` - // ethereum signer address in hex format. This address value is checked - // against the address derived from the signature (V, R, S) using the - // secp256k1 elliptic curve - From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` + // inner transaction data + Data *types.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + // encoded storage size of the transaction + Size_ float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"-"` + // transaction hash in hex format + Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty" rlp:"-"` + // ethereum signer address in hex format. This address value is checked + // against the address derived from the signature (V, R, S) using the + // secp256k1 elliptic curve + From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` } ``` @@ -46,35 +46,35 @@ The `MsgEthreumTx` can be converted to the go-ethereum `Transaction` and `Messag ```go // AsTransaction creates an Ethereum Transaction type from the msg fields func (msg MsgEthereumTx) AsTransaction() *ethtypes.Transaction { - txData, err := UnpackTxData(msg.Data) - if err != nil { - return nil - } + txData, err := UnpackTxData(msg.Data) + if err != nil { + return nil + } - return ethtypes.NewTx(txData.AsEthereumData()) + return ethtypes.NewTx(txData.AsEthereumData()) } // AsMessage returns the transaction as a core.Message. func (tx *Transaction) AsMessage(s Signer, baseFee *big.Int) (Message, error) { - msg := Message{ - nonce: tx.Nonce(), - gasLimit: tx.Gas(), - gasPrice: new(big.Int).Set(tx.GasPrice()), - gasFeeCap: new(big.Int).Set(tx.GasFeeCap()), - gasTipCap: new(big.Int).Set(tx.GasTipCap()), - to: tx.To(), - amount: tx.Value(), - data: tx.Data(), - accessList: tx.AccessList(), - isFake: false, - } - // If baseFee provided, set gasPrice to effectiveGasPrice. - if baseFee != nil { - msg.gasPrice = math.BigMin(msg.gasPrice.Add(msg.gasTipCap, baseFee), msg.gasFeeCap) - } - var err error - msg.from, err = Sender(s, tx) - return msg, err + msg := Message{ + nonce: tx.Nonce(), + gasLimit: tx.Gas(), + gasPrice: new(big.Int).Set(tx.GasPrice()), + gasFeeCap: new(big.Int).Set(tx.GasFeeCap()), + gasTipCap: new(big.Int).Set(tx.GasTipCap()), + to: tx.To(), + amount: tx.Value(), + data: tx.Data(), + accessList: tx.AccessList(), + isFake: false, + } + // If baseFee provided, set gasPrice to effectiveGasPrice. + if baseFee != nil { + msg.gasPrice = math.BigMin(msg.gasPrice.Add(msg.gasTipCap, baseFee), msg.gasFeeCap) + } + var err error + msg.from, err = Sender(s, tx) + return msg, err } ``` @@ -91,26 +91,26 @@ In order for the signature verification to be valid, the `TxData` must contain // The function will fail if the sender address is not defined for the msg or if // the sender is not registered on the keyring func (msg *MsgEthereumTx) Sign(ethSigner ethtypes.Signer, keyringSigner keyring.Signer) error { - from := msg.GetFrom() - if from.Empty() { - return fmt.Errorf("sender address not defined for message") - } - - tx := msg.AsTransaction() - txHash := ethSigner.Hash(tx) - - sig, _, err := keyringSigner.SignByAddress(from, txHash.Bytes()) - if err != nil { - return err - } - - tx, err = tx.WithSignature(ethSigner, sig) - if err != nil { - return err - } - - msg.FromEthereumTx(tx) - return nil + from := msg.GetFrom() + if from.Empty() { + return fmt.Errorf("sender address not defined for message") + } + + tx := msg.AsTransaction() + txHash := ethSigner.Hash(tx) + + sig, _, err := keyringSigner.SignByAddress(from, txHash.Bytes()) + if err != nil { + return err + } + + tx, err = tx.WithSignature(ethSigner, sig) + if err != nil { + return err + } + + msg.FromEthereumTx(tx) + return nil } ``` @@ -128,24 +128,24 @@ The transaction data of regular Ethereum transactions. ```go type LegacyTx struct { - // nonce corresponds to the account nonce (transaction sequence). - Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` - // gas price defines the value for each gas unit - GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` - // gas defines the gas limit defined for the transaction. - GasLimit uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` - // hex formatted address of the recipient - To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` - // value defines the unsigned integer value of the transaction amount. - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - // input defines the data payload bytes of the transaction. - Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` - // v defines the signature value - V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` - // r defines the signature value - R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` - // s define the signature value - S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"` + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas price defines the value for each gas unit + GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` + // gas defines the gas limit defined for the transaction. + GasLimit uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` + // hex formatted address of the recipient + To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` + // value defines the unsigned integer value of the transaction amount. + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + // input defines the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + // v defines the signature value + V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"` } ``` @@ -162,29 +162,29 @@ The transaction data of EIP-1559 dynamic fee transactions. ```go type DynamicFeeTx struct { - // destination EVM chain ID - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` - // nonce corresponds to the account nonce (transaction sequence). - Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - // gas tip cap defines the max value for the gas tip - GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` - // gas fee cap defines the max value for the gas fee - GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` - // gas defines the gas limit defined for the transaction. - GasLimit uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` - // hex formatted address of the recipient - To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` - // value defines the the transaction amount. - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - // input defines the data payload bytes of the transaction. - Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` - Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` - // v defines the signature value - V []byte `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"` - // r defines the signature value - R []byte `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"` - // s define the signature value - S []byte `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"` + // destination EVM chain ID + ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas tip cap defines the max value for the gas tip + GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` + // gas fee cap defines the max value for the gas fee + GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` + // gas defines the gas limit defined for the transaction. + GasLimit uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` + // hex formatted address of the recipient + To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` + // value defines the the transaction amount. + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + // input defines the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + // v defines the signature value + V []byte `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"` } ``` @@ -204,27 +204,27 @@ The transaction data of EIP-2930 access list transactions. ```go type AccessListTx struct { - // destination EVM chain ID - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` - // nonce corresponds to the account nonce (transaction sequence). - Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - // gas price defines the value for each gas unit - GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` - // gas defines the gas limit defined for the transaction. - GasLimit uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` - // hex formatted address of the recipient - To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` - // value defines the unsigned integer value of the transaction amount. - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - // input defines the data payload bytes of the transaction. - Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` - Accesses AccessList `protobuf:"bytes,8,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` - // v defines the signature value - V []byte `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"` - // r defines the signature value - R []byte `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"` - // s define the signature value - S []byte `protobuf:"bytes,11,opt,name=s,proto3" json:"s,omitempty"` + // destination EVM chain ID + ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas price defines the value for each gas unit + GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` + // gas defines the gas limit defined for the transaction. + GasLimit uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` + // hex formatted address of the recipient + To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` + // value defines the unsigned integer value of the transaction amount. + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + // input defines the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` + Accesses AccessList `protobuf:"bytes,8,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + // v defines the signature value + V []byte `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,11,opt,name=s,proto3" json:"s,omitempty"` } ``` diff --git a/x/evm/spec/07_events.md b/x/evm/spec/07_events.md index 0a749899db..8e93e3b69f 100644 --- a/x/evm/spec/07_events.md +++ b/x/evm/spec/07_events.md @@ -22,7 +22,6 @@ The `x/evm` module emits the Cosmos SDK events after a state execution. The EVM | message | `"action"` | `"ethereum"` | | message | `"module"` | `"evm"` | - Additionally, the EVM module emits an event during `EndBlock` for the filter query block bloom. ## ABCI diff --git a/x/evm/spec/08_params.md b/x/evm/spec/08_params.md index 213e36cca0..b82b7f61bb 100644 --- a/x/evm/spec/08_params.md +++ b/x/evm/spec/08_params.md @@ -77,4 +77,3 @@ By default, all block configuration fields but `ConstantinopleBlock`, are enable | MuirGlacierBlock | 0 | | BerlinBlock | 0 | | LondonBlock | 0 | - diff --git a/x/evm/spec/09_client.md b/x/evm/spec/09_client.md index 54f55c2dd7..c589f5812f 100644 --- a/x/evm/spec/09_client.md +++ b/x/evm/spec/09_client.md @@ -104,4 +104,4 @@ For an overview on the JSON-RPC methods and namespaces supported on Ethermint, | Verb | Method | Description | | ------ | --------------------------------- | ------------------------------- | | `gRPC` | `ethermint.evm.v1.Msg/EthereumTx` | Submit an Ethereum transactions | -| `POST` | `/ethermint/evm/v1/ethereum_tx` | Submit an Ethereum transactions | \ No newline at end of file +| `POST` | `/ethermint/evm/v1/ethereum_tx` | Submit an Ethereum transactions | diff --git a/x/evm/spec/README.md b/x/evm/spec/README.md index 978c997f8d..edae8ec8e0 100644 --- a/x/evm/spec/README.md +++ b/x/evm/spec/README.md @@ -17,7 +17,7 @@ The growth of EVM-based chains (e.g. Ethereum), however, has uncovered several s The `x/evm` module provides this EVM familiarity on a scalable, high-throughput Proof-of-Stake blockchain. It is built as a [Cosmos SDK module](https://docs.cosmos.network/master/building-modules/intro.html) which allows for the deployment of smart contracts, interaction with the EVM state machine (state transitions), and the use of EVM tooling. It can be used on Cosmos application-specific blockchains, which alleviate the aforementioned concerns through high transaction throughput via [Tendermint Core](https://github.com/tendermint/tendermint), fast transaction finality, and horizontal scalability via [IBC](https://ibcprotocol.org/). -The `x/evm` is part of the [ethermint library](https://pkg.go.dev/github.com/tharsis/ethermint). For an example of how Ethermint can be used on any Cosmos-SDK chain, please refer to [Evmos](https://www.github.com/tharsis/evmos). +The `x/evm` is part of the [ethermint library](https://pkg.go.dev/github.com/evmos/ethermint). For an example of how Ethermint can be used on any Cosmos-SDK chain, please refer to [Evmos](https://www.github.com/tharsis/evmos). ## Contents diff --git a/x/evm/statedb/mock_test.go b/x/evm/statedb/mock_test.go index 7031419d64..544cbfa1b4 100644 --- a/x/evm/statedb/mock_test.go +++ b/x/evm/statedb/mock_test.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/x/evm/statedb" + "github.com/evmos/ethermint/x/evm/statedb" ) var ( diff --git a/x/evm/statedb/statedb_test.go b/x/evm/statedb/statedb_test.go index ec390cfc78..3a491aa8cc 100644 --- a/x/evm/statedb/statedb_test.go +++ b/x/evm/statedb/statedb_test.go @@ -9,8 +9,8 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" + "github.com/evmos/ethermint/x/evm/statedb" "github.com/stretchr/testify/suite" - "github.com/tharsis/ethermint/x/evm/statedb" ) var ( diff --git a/x/evm/types/access_list_tx.go b/x/evm/types/access_list_tx.go index d318c426d0..a6fb9b71dd 100644 --- a/x/evm/types/access_list_tx.go +++ b/x/evm/types/access_list_tx.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/types" ) func newAccessListTx(tx *ethtypes.Transaction) (*AccessListTx, error) { diff --git a/x/evm/types/dynamic_fee_tx.go b/x/evm/types/dynamic_fee_tx.go index 76c621729b..d1656a386d 100644 --- a/x/evm/types/dynamic_fee_tx.go +++ b/x/evm/types/dynamic_fee_tx.go @@ -10,7 +10,7 @@ import ( "github.com/ethereum/go-ethereum/common/math" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/types" ) func newDynamicFeeTx(tx *ethtypes.Transaction) (*DynamicFeeTx, error) { diff --git a/x/evm/types/dynamic_fee_tx_test.go b/x/evm/types/dynamic_fee_tx_test.go index da8db93836..7c39fefb9d 100644 --- a/x/evm/types/dynamic_fee_tx_test.go +++ b/x/evm/types/dynamic_fee_tx_test.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + "github.com/evmos/ethermint/tests" "github.com/stretchr/testify/suite" - "github.com/tharsis/ethermint/tests" ) type TxDataTestSuite struct { diff --git a/x/evm/types/genesis.go b/x/evm/types/genesis.go index b71c85d04f..da6313b45b 100644 --- a/x/evm/types/genesis.go +++ b/x/evm/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - ethermint "github.com/tharsis/ethermint/types" + ethermint "github.com/evmos/ethermint/types" ) // Validate performs a basic validation of a GenesisAccount fields. diff --git a/x/evm/types/genesis_test.go b/x/evm/types/genesis_test.go index 4f260ee57a..300f59875a 100644 --- a/x/evm/types/genesis_test.go +++ b/x/evm/types/genesis_test.go @@ -6,7 +6,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/suite" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/crypto/ethsecp256k1" ) type GenesisTestSuite struct { diff --git a/x/evm/types/interfaces.go b/x/evm/types/interfaces.go index ddd7cccde2..f5e16f7fe8 100644 --- a/x/evm/types/interfaces.go +++ b/x/evm/types/interfaces.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" ) // AccountKeeper defines the expected account keeper interface diff --git a/x/evm/types/legacy_tx.go b/x/evm/types/legacy_tx.go index 1846d7be20..9f8014d135 100644 --- a/x/evm/types/legacy_tx.go +++ b/x/evm/types/legacy_tx.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/types" ) func newLegacyTx(tx *ethtypes.Transaction) (*LegacyTx, error) { diff --git a/x/evm/types/logs.go b/x/evm/types/logs.go index 4cf73c94dc..b21bece6c0 100644 --- a/x/evm/types/logs.go +++ b/x/evm/types/logs.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" - ethermint "github.com/tharsis/ethermint/types" + ethermint "github.com/evmos/ethermint/types" ) // NewTransactionLogs creates a new NewTransactionLogs instance. diff --git a/x/evm/types/logs_test.go b/x/evm/types/logs_test.go index ebfcba655c..143c323894 100644 --- a/x/evm/types/logs_test.go +++ b/x/evm/types/logs_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/tharsis/ethermint/tests" + "github.com/evmos/ethermint/tests" "github.com/ethereum/go-ethereum/common" ) diff --git a/x/evm/types/msg.go b/x/evm/types/msg.go index 7cec50c944..8bd40f5f4c 100644 --- a/x/evm/types/msg.go +++ b/x/evm/types/msg.go @@ -14,7 +14,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/signing" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" diff --git a/x/evm/types/msg_test.go b/x/evm/types/msg_test.go index dba487ef72..2bc02bdb25 100644 --- a/x/evm/types/msg_test.go +++ b/x/evm/types/msg_test.go @@ -12,16 +12,16 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/tests" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/tests" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/ethermint/app" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/x/evm/types" + "github.com/evmos/ethermint/app" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/x/evm/types" ) const invalidFromAddress = "0x0000" diff --git a/x/evm/types/params.go b/x/evm/types/params.go index 6743de9a50..7b3923b701 100644 --- a/x/evm/types/params.go +++ b/x/evm/types/params.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/ethereum/go-ethereum/core/vm" - "github.com/tharsis/ethermint/types" + "github.com/evmos/ethermint/types" ) var _ paramtypes.ParamSet = &Params{} diff --git a/x/evm/types/utils_test.go b/x/evm/types/utils_test.go index d3ec00e565..3804288f88 100644 --- a/x/evm/types/utils_test.go +++ b/x/evm/types/utils_test.go @@ -8,10 +8,10 @@ import ( "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/evmos/ethermint/app" + "github.com/evmos/ethermint/encoding" + evmtypes "github.com/evmos/ethermint/x/evm/types" proto "github.com/gogo/protobuf/proto" - "github.com/tharsis/ethermint/app" - "github.com/tharsis/ethermint/encoding" - evmtypes "github.com/tharsis/ethermint/x/evm/types" "github.com/stretchr/testify/require" diff --git a/x/feemarket/client/cli/query.go b/x/feemarket/client/cli/query.go index db51c1f0a7..8bbc50add3 100644 --- a/x/feemarket/client/cli/query.go +++ b/x/feemarket/client/cli/query.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/types" ) // GetQueryCmd returns the parent command for all x/feemarket CLI query commands. diff --git a/x/feemarket/genesis.go b/x/feemarket/genesis.go index 295789d56f..90cc1432c0 100644 --- a/x/feemarket/genesis.go +++ b/x/feemarket/genesis.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" abci "github.com/tendermint/tendermint/abci/types" - "github.com/tharsis/ethermint/x/feemarket/keeper" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/keeper" + "github.com/evmos/ethermint/x/feemarket/types" ) // InitGenesis initializes genesis state based on exported genesis diff --git a/x/feemarket/keeper/abci.go b/x/feemarket/keeper/abci.go index c76932ee34..cb23e77a7f 100644 --- a/x/feemarket/keeper/abci.go +++ b/x/feemarket/keeper/abci.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" + "github.com/evmos/ethermint/x/feemarket/types" abci "github.com/tendermint/tendermint/abci/types" - "github.com/tharsis/ethermint/x/feemarket/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" @@ -49,7 +49,7 @@ func (k *Keeper) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) { // to prevent BaseFee manipulation we limit the gasWanted so that // gasWanted = max(gasWanted * MinGasMultiplier, gasUsed) // this will be keep BaseFee protected from un-penalized manipulation - // more info here https://github.com/tharsis/ethermint/pull/1105#discussion_r888798925 + // more info here https://github.com/evmos/ethermint/pull/1105#discussion_r888798925 minGasMultiplier := k.GetParams(ctx).MinGasMultiplier limitedGasWanted := sdk.NewDec(int64(gasWanted)).Mul(minGasMultiplier) gasWanted = sdk.MaxDec(limitedGasWanted, sdk.NewDec(int64(gasUsed))).TruncateInt().Uint64() diff --git a/x/feemarket/keeper/grpc_query.go b/x/feemarket/keeper/grpc_query.go index d86e0fc9b7..96c21a0075 100644 --- a/x/feemarket/keeper/grpc_query.go +++ b/x/feemarket/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/feemarket/keeper/grpc_query_test.go b/x/feemarket/keeper/grpc_query_test.go index e2a7006e53..2f7c8fa571 100644 --- a/x/feemarket/keeper/grpc_query_test.go +++ b/x/feemarket/keeper/grpc_query_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" ethparams "github.com/ethereum/go-ethereum/params" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/types" ) func (suite *KeeperTestSuite) TestQueryParams() { diff --git a/x/feemarket/keeper/integration_test.go b/x/feemarket/keeper/integration_test.go index c9e7ae9b1b..581c7ddb52 100644 --- a/x/feemarket/keeper/integration_test.go +++ b/x/feemarket/keeper/integration_test.go @@ -17,19 +17,19 @@ import ( authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/tharsis/ethermint/app" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/tests" - "github.com/tharsis/ethermint/testutil" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/app" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/tests" + "github.com/evmos/ethermint/testutil" + "github.com/evmos/ethermint/x/feemarket/types" "github.com/cosmos/cosmos-sdk/simapp" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - evmtypes "github.com/tharsis/ethermint/x/evm/types" ) var _ = Describe("Ethermint App min gas prices settings: ", func() { diff --git a/x/feemarket/keeper/keeper.go b/x/feemarket/keeper/keeper.go index c73aa1cf84..bae38bdfb0 100644 --- a/x/feemarket/keeper/keeper.go +++ b/x/feemarket/keeper/keeper.go @@ -6,7 +6,7 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/types" ) // Keeper grants access to the Fee Market module state. diff --git a/x/feemarket/keeper/keeper_test.go b/x/feemarket/keeper/keeper_test.go index b66445ce90..daa7816758 100644 --- a/x/feemarket/keeper/keeper_test.go +++ b/x/feemarket/keeper/keeper_test.go @@ -21,13 +21,13 @@ import ( stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/tharsis/ethermint/app" - "github.com/tharsis/ethermint/crypto/ethsecp256k1" - "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/ethermint/tests" - ethermint "github.com/tharsis/ethermint/types" - evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/app" + "github.com/evmos/ethermint/crypto/ethsecp256k1" + "github.com/evmos/ethermint/encoding" + "github.com/evmos/ethermint/tests" + ethermint "github.com/evmos/ethermint/types" + evmtypes "github.com/evmos/ethermint/x/evm/types" + "github.com/evmos/ethermint/x/feemarket/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/x/feemarket/keeper/migrations.go b/x/feemarket/keeper/migrations.go index ff5d3491bf..9a16c8d92d 100644 --- a/x/feemarket/keeper/migrations.go +++ b/x/feemarket/keeper/migrations.go @@ -3,8 +3,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - v010 "github.com/tharsis/ethermint/x/feemarket/migrations/v010" - v011 "github.com/tharsis/ethermint/x/feemarket/migrations/v011" + v010 "github.com/evmos/ethermint/x/feemarket/migrations/v010" + v011 "github.com/evmos/ethermint/x/feemarket/migrations/v011" ) // Migrator is a struct for handling in-place store migrations. diff --git a/x/feemarket/keeper/migrations_test.go b/x/feemarket/keeper/migrations_test.go index 9c7f8ff274..9dbf82480d 100644 --- a/x/feemarket/keeper/migrations_test.go +++ b/x/feemarket/keeper/migrations_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "math/big" - "github.com/tharsis/ethermint/x/feemarket/keeper" - v010 "github.com/tharsis/ethermint/x/feemarket/migrations/v010" + "github.com/evmos/ethermint/x/feemarket/keeper" + v010 "github.com/evmos/ethermint/x/feemarket/migrations/v010" ) func (suite *KeeperTestSuite) TestMigration1To2() { diff --git a/x/feemarket/keeper/params.go b/x/feemarket/keeper/params.go index 5e7f2c62b0..1fb9e28f96 100644 --- a/x/feemarket/keeper/params.go +++ b/x/feemarket/keeper/params.go @@ -4,7 +4,7 @@ import ( "math/big" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/types" ) // GetParams returns the total set of fee market parameters. diff --git a/x/feemarket/keeper/params_test.go b/x/feemarket/keeper/params_test.go index 68decf1586..83543ec3d9 100644 --- a/x/feemarket/keeper/params_test.go +++ b/x/feemarket/keeper/params_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/types" ) func (suite *KeeperTestSuite) TestSetGetParams() { diff --git a/x/feemarket/migrations/v010/migrate.go b/x/feemarket/migrations/v010/migrate.go index 6db1f55838..4584c3e3a7 100644 --- a/x/feemarket/migrations/v010/migrate.go +++ b/x/feemarket/migrations/v010/migrate.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/tharsis/ethermint/x/feemarket/migrations/v010/types" - v09types "github.com/tharsis/ethermint/x/feemarket/migrations/v09/types" + "github.com/evmos/ethermint/x/feemarket/migrations/v010/types" + v09types "github.com/evmos/ethermint/x/feemarket/migrations/v09/types" ) // KeyPrefixBaseFeeV1 is the base fee key prefix used in version 1 diff --git a/x/feemarket/migrations/v010/migrate_test.go b/x/feemarket/migrations/v010/migrate_test.go index f87d77290d..8d2bb70968 100644 --- a/x/feemarket/migrations/v010/migrate_test.go +++ b/x/feemarket/migrations/v010/migrate_test.go @@ -10,14 +10,14 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/tharsis/ethermint/encoding" + "github.com/evmos/ethermint/encoding" - "github.com/tharsis/ethermint/app" - feemarketkeeper "github.com/tharsis/ethermint/x/feemarket/keeper" - v010 "github.com/tharsis/ethermint/x/feemarket/migrations/v010" - v09types "github.com/tharsis/ethermint/x/feemarket/migrations/v09/types" - "github.com/tharsis/ethermint/x/feemarket/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/app" + feemarketkeeper "github.com/evmos/ethermint/x/feemarket/keeper" + v010 "github.com/evmos/ethermint/x/feemarket/migrations/v010" + v09types "github.com/evmos/ethermint/x/feemarket/migrations/v09/types" + "github.com/evmos/ethermint/x/feemarket/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" ) func TestMigrateStore(t *testing.T) { diff --git a/x/feemarket/migrations/v011/migrate.go b/x/feemarket/migrations/v011/migrate.go index dd574c0b9a..33b5a4b0c7 100644 --- a/x/feemarket/migrations/v011/migrate.go +++ b/x/feemarket/migrations/v011/migrate.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - v010types "github.com/tharsis/ethermint/x/feemarket/migrations/v010/types" - "github.com/tharsis/ethermint/x/feemarket/types" + v010types "github.com/evmos/ethermint/x/feemarket/migrations/v010/types" + "github.com/evmos/ethermint/x/feemarket/types" ) // MigrateStore adds the MinGasPrice param with a value of 0 diff --git a/x/feemarket/migrations/v011/migrate_test.go b/x/feemarket/migrations/v011/migrate_test.go index 90da16d12d..727eb32414 100644 --- a/x/feemarket/migrations/v011/migrate_test.go +++ b/x/feemarket/migrations/v011/migrate_test.go @@ -10,13 +10,13 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/tharsis/ethermint/encoding" + "github.com/evmos/ethermint/encoding" - "github.com/tharsis/ethermint/app" - v010types "github.com/tharsis/ethermint/x/feemarket/migrations/v010/types" - v011 "github.com/tharsis/ethermint/x/feemarket/migrations/v011" - "github.com/tharsis/ethermint/x/feemarket/types" - feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/app" + v010types "github.com/evmos/ethermint/x/feemarket/migrations/v010/types" + v011 "github.com/evmos/ethermint/x/feemarket/migrations/v011" + "github.com/evmos/ethermint/x/feemarket/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" ) func init() { diff --git a/x/feemarket/module.go b/x/feemarket/module.go index 2a6fb30ccb..f16cd6ba50 100644 --- a/x/feemarket/module.go +++ b/x/feemarket/module.go @@ -19,10 +19,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/tharsis/ethermint/x/feemarket/client/cli" - "github.com/tharsis/ethermint/x/feemarket/keeper" - "github.com/tharsis/ethermint/x/feemarket/simulation" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/client/cli" + "github.com/evmos/ethermint/x/feemarket/keeper" + "github.com/evmos/ethermint/x/feemarket/simulation" + "github.com/evmos/ethermint/x/feemarket/types" ) var ( diff --git a/x/feemarket/simulation/genesis.go b/x/feemarket/simulation/genesis.go index 0266683c00..bae2c26d9e 100644 --- a/x/feemarket/simulation/genesis.go +++ b/x/feemarket/simulation/genesis.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/tharsis/ethermint/x/feemarket/types" + "github.com/evmos/ethermint/x/feemarket/types" ) // RandomizedGenState generates a random GenesisState for nft diff --git a/x/feemarket/spec/01_concepts.md b/x/feemarket/spec/01_concepts.md index 3605310690..405bc93a77 100644 --- a/x/feemarket/spec/01_concepts.md +++ b/x/feemarket/spec/01_concepts.md @@ -6,7 +6,7 @@ order: 1 ## Base fee -The base fee is a global base fee defined at the consensus level. It is adjusted for each block based on the total gas used in the previous block and gas target (block gas limit divided by elasticity multiplier) +The base fee is a global base fee defined at the consensus level. It is adjusted for each block based on the total gas used in the previous block and gas target (block gas limit divided by elasticity multiplier) - it increases when blocks are above the gas target - it decreases when blocks are below the gas target @@ -23,8 +23,6 @@ The transaction fee in Ethereum is calculated using the following the formula : In Cosmos SDK there is no notion of prioritization, thus the tip for an EIP-1559 transaction in Ethermint should be zero (`MaxPriorityFeePerGas` JSON-RPC endpoint returns `0`) - - ## EIP-1559 A transaction pricing mechanism introduced in Ethereum that includes fixed-per-block network fee that is burned and dynamically expands/contracts block sizes to deal with transient congestion. diff --git a/x/feemarket/spec/02_state.md b/x/feemarket/spec/02_state.md index 9720c0a4d5..13bb160ac3 100644 --- a/x/feemarket/spec/02_state.md +++ b/x/feemarket/spec/02_state.md @@ -8,7 +8,6 @@ The x/feemarket module keeps in the state variable needed to the fee calculation Only BlockGasUsed in previous block needs to be tracked in state for the next base fee calculation. - | | Description | Key | Value | Store | | ----------- | ------------------------------ | ---------------| ------------------- | --------- | | BlockGasUsed | gas used in the block | `[]byte{1}` | `[]byte{gas_used}` | KV | diff --git a/x/feemarket/spec/03_begin_block.md b/x/feemarket/spec/03_begin_block.md index 3db8ea5c79..25ea1d2f30 100644 --- a/x/feemarket/spec/03_begin_block.md +++ b/x/feemarket/spec/03_begin_block.md @@ -4,7 +4,7 @@ order: 3 # Begin block -The base fee is calculated at the beginning of each block. +The base fee is calculated at the beginning of each block. ## Base Fee @@ -15,6 +15,7 @@ We introduce two parameters : `NoBaseFee`and `EnableHeight` `NoBaseFee` controls the feemarket base fee value. If set to true, no calculation is done and the base fee returned by the keeper is zero. `EnableHeight` controls the height we start the calculation. + - If `NoBaseFee = false` and `height < EnableHeight`, the base fee value will be equal to `base_fee` defined in the genesis and the `BeginBlock` will return without further computation. - If `NoBaseFee = false` and `height >= EnableHeight`, the base fee is dynamically calculated upon each block at `BeginBlock`. @@ -28,7 +29,6 @@ To enable EIP1559 with the EVM, the following parameters should be set : - EnableHeight should be set to a positive integer >= upgrade height. It defines at which height the chain starts the base fee adjustment - LondonBlock evm's param should be set to a positive integer >= upgrade height. It defines at which height the chain start to accept EIP1559 transactions - ### Calculation The base fee is initialized at `EnableHeight` to the `InitialBaseFee` value defined in the genesis file. @@ -51,4 +51,4 @@ else: base_fee_delta = parent_base_fee * gas_used_delta / parent_gas_target / BASE_FEE_MAX_CHANGE_DENOMINATOR base_fee = parent_base_fee - base_fee_delta -``` \ No newline at end of file +``` diff --git a/x/feemarket/spec/04_end_block.md b/x/feemarket/spec/04_end_block.md index efef3573c9..4b95460b09 100644 --- a/x/feemarket/spec/04_end_block.md +++ b/x/feemarket/spec/04_end_block.md @@ -4,10 +4,10 @@ order: 4 # End block -The block_gas_used value is updated at the end of each block. +The block_gas_used value is updated at the end of each block. ## Block Gas Used The total gas used by current block is stored in the KVStore at `EndBlock`. -It is initialized to `block_gas` defined in the genesis. \ No newline at end of file +It is initialized to `block_gas` defined in the genesis. diff --git a/x/feemarket/spec/05_keeper.md b/x/feemarket/spec/05_keeper.md index 9fdc86894c..e2cb604aba 100644 --- a/x/feemarket/spec/05_keeper.md +++ b/x/feemarket/spec/05_keeper.md @@ -12,4 +12,4 @@ type Keeper interface { GetBaseFee(ctx sdk.Context) *big.Int } -``` \ No newline at end of file +``` diff --git a/x/feemarket/spec/08_client.md b/x/feemarket/spec/08_client.md index f42270c897..3c8c9d2575 100644 --- a/x/feemarket/spec/08_client.md +++ b/x/feemarket/spec/08_client.md @@ -77,7 +77,6 @@ subspace: feemarket value: "2" ``` - ## gRPC ### Queries diff --git a/x/feemarket/spec/10_future_improvements.md b/x/feemarket/spec/10_future_improvements.md index ca73f9ccab..fdbc30cad8 100644 --- a/x/feemarket/spec/10_future_improvements.md +++ b/x/feemarket/spec/10_future_improvements.md @@ -4,4 +4,3 @@ order: 9 --> # Future Improvements - The feemarket module has been designed mainly to support EIP-1559 on EVM-based chain on cosmos, supporting non-EVM chain could be done as a future improvements. - diff --git a/x/feemarket/spec/README.md b/x/feemarket/spec/README.md index 5d4de798aa..97f3904368 100644 --- a/x/feemarket/spec/README.md +++ b/x/feemarket/spec/README.md @@ -13,13 +13,11 @@ This document specifies the feemarket module which allows to define a global tra This module has been designed to support EIP1559 in cosmos-sdk. -The `MempoolFeeDecorator` in `x/auth` module needs to be overrided to check the `baseFee` along with the `minimal-gas-prices` allowing to implement a global fee mechanism which vary depending on the network activity. +The `MempoolFeeDecorator` in `x/auth` module needs to be overrided to check the `baseFee` along with the `minimal-gas-prices` allowing to implement a global fee mechanism which vary depending on the network activity. For more reference to EIP1559: -https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md - - + ## Contents @@ -31,4 +29,4 @@ https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md 6. **[Events](06_events.md)** 7. **[Params](07_params.md)** 8. **[Client](08_client.md)** -9. **[Future Improvements](09_future_improvements.md)** \ No newline at end of file +9. **[Future Improvements](09_future_improvements.md)**