laconicd-deprecated/x/evm/types
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
..
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 refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
access_list.go all: cleanup imports (#524) 2021-09-03 18:06:36 +00:00
chain_config_test.go tests: improve x/evm/types coverage (#1302) 2022-09-01 07:59:01 -07:00
chain_config.go chore (deps): Update geth version to v1.10.25 (#1413) 2022-11-16 12:59:12 -05:00
codec_test.go all: linter (#532) 2021-09-05 11:03:06 +00:00
codec.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
compiled_contract.go Integration tests (#913) 2022-01-20 22:05:02 +00:00
config.go evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +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 refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01: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 refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
events.go impr: support batch eth txs (#901) 2022-01-14 10:37:33 +01:00
evm.pb.go fix: protogen scripts were not correctly implemented (#1466) 2022-11-17 12:35:54 +01:00
genesis_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
genesis.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
genesis.pb.go fix: protogen scripts were not correctly implemented (#1466) 2022-11-17 12:35:54 +01:00
interfaces.go !feat(deps): Upgrade cosmos-sdk to v0.46.0 (#1168) 2022-07-28 15:43:49 +02:00
key.go impr: support batch eth txs (#901) 2022-01-14 10:37:33 +01:00
legacy_tx_test.go tests: improve x/evm/types coverage (#1302) 2022-09-01 07:59:01 -07:00
legacy_tx.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
logs_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
logs.go imp(tests): prune node integration tests (#1212) 2022-08-08 10:17:10 +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 refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00
params_test.go imp(feemarket): update BaseFee based on GasWanted (#1105) 2022-06-05 09:22:33 +00:00
params.go imp(evm): rename RejectUnprotectedTx to AllowUnprotectedTxs (#1142) 2022-06-22 12:51:14 +02:00
query.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
query.pb.go fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05: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 refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01: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: Gofumpt (#1298) 2022-08-26 10:30:55 +00:00
tx_args_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
tx_args.go !feat(deps): Upgrade cosmos-sdk to v0.46.0 (#1168) 2022-07-28 15:43:49 +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 imp(tests): prune node integration tests (#1212) 2022-08-08 10:17:10 +02:00
tx.go evm: add returnValue message on tracing (#962) 2022-03-02 02:14:21 +00:00
tx.pb.go fix: protogen scripts were not correctly implemented (#1466) 2022-11-17 12:35:54 +01:00
tx.pb.gw.go fix: protogen scripts were not correctly implemented (#1466) 2022-11-17 12:35:54 +01:00
utils_test.go refactor: optimize AnteHandler gas consumption (#1388) 2022-10-19 18:21:59 +02:00
utils.go refactor(all): refactor errors import to use cosmossdk.io (#1456) 2022-11-14 20:40:14 +01:00