laconicd-deprecated/x/evm/types
Vladislav Varadinov 0f7bdceaa0
chore(evm): Deprecate x/params usage in x/evm (#1472)
* imp(evm): Migrate from old Cosmos SDK params module to new way of keeping params in module Keeper

* Updated changelog

* Apply changes from code review

* (impv): Added Shanghai and Cancun blocks to current types and latest migration

* (tests): Update unit tests to include Shanghai and Cancun blocks

* (fix) - ran golangci-lint on the entire project

* (fix) - remove deprecated params method

* (impv): added marshaling of booleans per individual param key

* (impv): added individual param getting and setting

* (impv): replaced getters with individual param

* (impv): added amino codec for MsgEthereumTx

* Added changes suggested in code review

* (fix): updated the migration files for v4

* (fix): fixed unit tests panic for incorrect interface

* (fix): updated module msg handler

* (fix): rename to original params getter method

* (refactor): registered implementation for the new msg

* (refactor): added correct amino codec for MsgUpdateParams and removed for MsgEthTx

* Applied changes from code review

* (fix): removed unnecessary duplicate

* (fix): removed params_legacy from the types and moved logic to migration

* (fix): Added v4 mocks to the migrations_test

* (fix): undo all the non related work regarding the Cancun and Shanghai blocks

* (fix): reverted linting the entire project - will make a separate PR for it

* Applied changes from review

* Applied changes from code review

* (fix): removed comments

* (fix): Ran formatter and fixed linting issues on unsed functions

* (fix): Linting issues resolved

* (fix): refactor migrations and added default EIPs

* (fix): Combined into one call

* (fix): Added more straightforward way to handle migration

* (fix): corrected migration test

* Applied changes from code review

* (fix): Linter fix

* (fix): Linter

* (fix): Lint proto files

* Apply suggestions from code review

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* (fix): Added new block to migration

* (fix): Added additional comments and formatted proto files

* (fix): Added name to unit test cases

* (fix): removed unused import

* Apply changes from code review

* (fix): typo

* (fix): remove HTTP endpoint exposure

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* applied changes from code review

* fix: extra line added in merge removed

* fix: applied changes from code review

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2023-01-04 16:28:45 +02:00
..
access_list_test.go evm: unit tests (#619) 2021-10-08 13:11:19 +02:00
access_list_tx_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
access_list_tx.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
access_list.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
chain_config_test.go fix(evm): Added Cancun and Shanghai blocks to ChainConfig (#1499) 2022-11-25 15:07:18 +01:00
chain_config.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
codec_test.go all: linter (#532) 2021-09-05 11:03:06 +00:00
codec.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
compiled_contract.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
dynamic_fee_tx_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
dynamic_fee_tx.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
ERC20Contract.json rpc: transaction receipt test (#678) 2021-10-20 21:00:17 +02:00
errors_test.go all: linter (#532) 2021-09-05 11:03:06 +00:00
errors.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
events.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
evm.pb.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
genesis_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
genesis.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
genesis.pb.go chore: Update linter and protogen configuration (#1478) 2022-11-25 11:02:20 +01:00
interfaces.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
key.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
legacy_tx_test.go tests: improve x/evm/types coverage (#1302) 2022-09-01 07:59:01 -07:00
legacy_tx.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
logs_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
logs.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
msg_test.go !feat(deps): Upgrade cosmos-sdk to v0.46.0 (#1168) 2022-07-28 15:43:49 +02:00
msg.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
params_test.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
params.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
query.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
query.pb.go chore: Update linter and protogen configuration (#1478) 2022-11-25 11:02:20 +01:00
query.pb.gw.go fix: protogen scripts were not correctly implemented (#1466) 2022-11-17 12:35:54 +01:00
SimpleStorageContract.json Integration tests (#913) 2022-01-20 22:05:02 +00:00
storage_test.go evm: update empty hash check for storage state (#1016) 2022-03-29 12:57:52 +00:00
storage.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
TestMessageCall.json tests: add message call benchmark (#717) 2021-11-08 13:04:49 +00:00
tracer_test.go imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00
tracer.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
tx_args_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
tx_args.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
tx_data_test.go !feat(deps): Upgrade cosmos-sdk to v0.46.0 (#1168) 2022-07-28 15:43:49 +02:00
tx_data.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
tx.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00
tx.pb.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
tx.pb.gw.go chore(evm): Deprecate x/params usage in x/evm (#1472) 2023-01-04 16:28:45 +02:00
utils_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
utils.go chore(all): add license to go files (#1558) 2022-12-16 11:48:38 +02:00