laconicd-deprecated/x/evm/keeper
yihuang ffe78da36e
!fix(evm): Fix eth tx hashes in json-rpc responses (#1176)
* Fix eth tx hashes in json-rpc responses

Closes: #1175

- Remove Size_ field
- Validate From/Hash fields in ante handler
- Recompute tx hashes in json-rpc apis to cope with old blocks

Update CHANGELOG.md

remove Size_, validate Hash/From, add unit tests

update spec

Update CHANGELOG.md

Update app/ante/eth.go

populate From in SendRawTransaction

Apply suggestions from code review

keep Size_ field to avoid breaking tx format

* move some validation to ValidateBasic

* move validation to ValidateBasic

* make ToTransaction returns a valid msg

* restructure the protoTxProvider check

* add comment

* workaround tx hash issue in event parsing

* fix integration test

* fix unit test

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-07-19 15:12:48 +00:00
..
abci.go evm: refactor statedb implementation (#729) 2022-01-05 08:28:27 +01:00
benchmark_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
grpc_query_test.go fix: traceTransaction returns zero gas used (#1179) 2022-07-18 22:16:28 +02:00
grpc_query.go imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00
hooks_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
hooks.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
integration_test.go !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
keeper_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
keeper.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
migrations.go imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00
msg_server.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
params_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
params.go fix(rpc): fix panic on breaking EVM and feemarket params (#1188) 2022-07-19 17:00:43 +02:00
state_transition_benchmark_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
state_transition_test.go evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +02:00
state_transition.go fix: traceTransaction returns zero gas used (#1179) 2022-07-18 22:16:28 +02: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 all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
statedb.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
utils_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
utils.go evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +02:00