laconicd-deprecated/rpc
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 !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
ethereum/pubsub rpc: refactor rpc packages and backend to support cosmos namespace (#1070) 2022-05-02 06:26:24 +00:00
namespaces/ethereum !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
types !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
apis.go imp(rpc): restrict unprotected txs on the node RPC (#1143) 2022-06-22 12:50:36 +02:00
doc.go rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
websockets.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00