laconicd-deprecated/rpc/backend
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
..
backend.go fix(rpc): optimize eth_getBalance endpoint (#1169) 2022-07-11 15:04:45 +00:00
evm_backend.go !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
utils.go fix!: fix json-rpc failures for pruned nodes (#1126) 2022-06-22 13:26:20 +02:00