laconicd-deprecated/x/evm/keeper
yihuang ebc47af0bd
fix: chain-id in grpc query is not initialized without abci event (#1405)
* fix: chain-id in grpc query is not initialized without abci event

Closes: #1404

Solution:
- pass the chain-id from caller.

* Update CHANGELOG.md

* only override if input is not empty

* add comment to chain id

* pass chain-id to state transition

* Update x/evm/keeper/grpc_query.go

* Apply suggestions from code review

* fix golang lint

* update gomod2nix.toml

* fix unit tests

* update gomod2nix

* api breaking changelog

* add unit tests, and fix TraceBlock by the way

* Update CHANGELOG.md

* test --grpc-only mode in integration tests

* remove tmp var

* Update tests/integration_tests/test_grpc_only.py

* Update x/evm/keeper/grpc_query_test.go

Co-authored-by: mmsqe <tqd0800210105@gmail.com>

* fix linters

* fix nil pointer in tests

* fix conflicts

* fix conflicts

* fixes

* fix lint

* fix unit test

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
2022-11-18 13:19:09 -05:00
..
abci_test.go ime(evm): improve code coverage for EVM keeper (#1396) 2022-10-21 18:59:03 +02:00
abci.go evm: refactor statedb implementation (#729) 2022-01-05 08:28:27 +01:00
benchmark_test.go !feat(deps): Upgrade cosmos-sdk to v0.46.0 (#1168) 2022-07-28 15:43:49 +02:00
grpc_query_test.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
grpc_query.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
hooks_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
hooks.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
integration_test.go feat(ante, evm): set priority for eth transactions (#1214) 2022-08-05 15:00:31 +02:00
keeper_test.go fix(evm,rpc): coinbase should not be the current one in traceTransaction execution (#1392) 2022-10-21 19:58:29 -04:00
keeper.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
migrations_test.go ime(evm): improve code coverage for EVM keeper (#1396) 2022-10-21 18:59:03 +02:00
migrations.go imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00
msg_server_test.go ime(evm): improve code coverage for EVM keeper (#1396) 2022-10-21 18:59:03 +02:00
msg_server.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
params_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
params.go imp(ante): refactor for increased AnteHandler performance (#1393) 2022-10-20 13:40:25 +02:00
state_transition_benchmark_test.go ime(evm): improve code coverage for EVM keeper (#1396) 2022-10-21 18:59:03 +02:00
state_transition_test.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
state_transition.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
statedb_benchmark_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
statedb_test.go ime(evm): improve code coverage for EVM keeper (#1396) 2022-10-21 18:59:03 +02:00
statedb.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
utils_test.go ime(evm): improve code coverage for EVM keeper (#1396) 2022-10-21 18:59:03 +02:00
utils.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00