laconicd-deprecated/x/evm
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
..
client/cli chore(cli): apply google CLI Syntax for required and optional args (#1417) 2022-10-31 17:47:57 +00:00
keeper fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
migrations refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
simulation chore: Gofumpt (#1298) 2022-08-26 10:30:55 +00:00
spec chore(cli): apply google CLI Syntax for required and optional args (#1417) 2022-10-31 17:47:57 +00:00
statedb refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
types fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
vm imp(evm): stateless custom precompiles (#1272) 2022-09-15 13:54:02 +02:00
genesis_test.go fix(evm): skip hash check when the code has been deleted (#1320) 2022-10-19 12:29:24 +00:00
genesis.go fix(evm): skip hash check when the code has been deleted (#1320) 2022-10-19 12:29:24 +00:00
handler_test.go chore: Gofumpt (#1298) 2022-08-26 10:30:55 +00:00
handler.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
module.go imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00