laconicd-deprecated/rpc/backend
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
..
mocks tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
account_info_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
account_info.go fix(rpc): different result from eth_getProof comparing with Ethereum (#1431) 2022-11-06 09:27:33 +01:00
backend_suite_test.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
backend.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
blocks_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
blocks.go chore (deps): Update geth version to v1.10.25 (#1413) 2022-11-16 12:59:12 -05:00
call_tx_test.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
call_tx.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
chain_info_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
chain_info.go chore (deps): Update geth version to v1.10.25 (#1413) 2022-11-16 12:59:12 -05:00
client_test.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
evm_query_client_test.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
feemarket_query_client_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
filters_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
filters.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
node_info_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
node_info.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
sign_tx_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
sign_tx.go chore (deps): Update geth version to v1.10.25 (#1413) 2022-11-16 12:59:12 -05:00
tracing_test.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
tracing.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
tx_info_test.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
tx_info.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00
utils_test.go fix(rpc): different result from eth_getProof comparing with Ethereum (#1431) 2022-11-06 09:27:33 +01:00
utils.go tests: Add unit tests for rpc client endpoints (#1409) 2022-11-17 01:35:15 +00:00