laconicd-deprecated/app/ante
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
..
ante_test.go !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
ante.go imp: NewAnteHandler returns error if input not valid (#1173) 2022-07-19 06:50:31 +02:00
doc.go ante: switch ethAnteHandler to use AnteDecorators (#252) 2020-04-17 18:32:01 -04:00
eip712.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
eth_test.go imp(evm): rename RejectUnprotectedTx to AllowUnprotectedTxs (#1142) 2022-06-22 12:51:14 +02:00
eth.go !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
fee_market_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
fee_market.go ante: refactor (#1113) 2022-06-06 10:15:10 +02:00
fees_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
fees.go bug(feemarket): set lower bound of base fee to min gas price param (#1135) 2022-06-22 12:57:16 +02:00
handler_options.go imp: NewAnteHandler returns error if input not valid (#1173) 2022-07-19 06:50:31 +02:00
interfaces.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
reject_msgs.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
sigs_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
utils_test.go !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00