0g-chain/x/evmutil/keeper
Robert Pirtle ff709d73e1
feat(evmutil): add allow list for evm-convertible sdk denoms (#1590)
* add proto for allowed sdk denoms -> evm conversion

* add validation for AllowedNativeCoinERC20Token

* add validation for AllowedNativeCoinERC20Tokens

* add AllowedNativeDenoms into params & genesis

* add evmutil Params.Validate() test

* fix eip712 ante test

* update changelog

* update internal testnet genesis.json

* update state & param specs

updates to the sections describing functionality will be updated once
that functionality actually exists... :)

* update field decimal -> decimals

field now matches erc20 spec

* add validation decimals will cast to uint8

* add v2 store migration for evmutil

* create & register evmutil migrations

* adds migrator to evmutil's keeper
* sets up Migrate1To2 migration
* registers migration in module
* updates GetParams to properly handle historic block queries

* add unit test for GetParams with historic store
2023-05-19 16:01:46 -07:00
..
bank_keeper_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
bank_keeper.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
conversion_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
conversion.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
erc20_test.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
erc20.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
evm_test.go feat: upgrade to Cosmos v0.46 (#1477) 2023-04-03 20:08:45 -04:00
evm.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
grpc_query_test.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
grpc_query.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
invariants_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
invariants.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
keeper_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
keeper.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
migrations.go feat(evmutil): add allow list for evm-convertible sdk denoms (#1590) 2023-05-19 16:01:46 -07:00
msg_server_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
msg_server.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
params_test.go feat(evmutil): add allow list for evm-convertible sdk denoms (#1590) 2023-05-19 16:01:46 -07:00
params.go feat(evmutil): add allow list for evm-convertible sdk denoms (#1590) 2023-05-19 16:01:46 -07:00