lotus/chain
Steven Allen 156a3a400c
fix: Eth API: accept input data in call arguments under field 'input' (#11505)
The correct name for this field is 'input' according to the Ethereum specs [0].
However, for the longest time, clients have been using 'data' and servers have been
lenient to accept both, preferring 'input' over 'data' when both appear.

Our lack of support for 'input' had gone unnoticed until go-ethereum decided
to adjust their ethclient implementation to issue eth_call and eth_estimateGas
requests with the 'input' field instead of 'data' [1]. This suddenly broke apps
using this client against Lotus' Eth API.

[0]: https://github.com/ethereum/execution-apis/blob/main/src/schemas/transaction.yaml#L33-L35
[1]: ethereum/go-ethereum#28078

Co-authored-by: raulk <raul.kripalani@gmail.com>
2024-01-06 15:42:52 -08:00
..
actors Merge branch 'master' into feat/sturdypost 2023-11-06 16:10:57 -06:00
beacon test: drand: switch tests to drand testnet (from devnet) (#11359) 2023-10-30 17:05:02 -07:00
consensus Merge remote-tracking branch 'origin/master' into chore/master-into-sturdy 2023-11-22 17:26:37 +01:00
ethhashlookup simplify transaction hash db queries, prevent fd leaks 2023-01-30 11:03:12 -05:00
events bump libp2p version to v0.30 2023-11-21 22:10:40 +08:00
exchange fix: exchange: explicitly cast the block message limit const (#11511) 2023-12-09 23:24:43 +09:00
gen Merge branch 'master' into feat/sturdypost 2023-11-06 16:10:57 -06:00
index Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
market master-to-sturdy 2023-09-21 10:37:02 -05:00
messagepool Merge branch 'master' into feat/sturdypost 2023-11-06 16:10:57 -06:00
messagesigner fix: Don't call WalletExport in msg signing flows 2023-02-10 02:37:59 +01:00
rand master-to-sturdy 2023-09-21 10:37:02 -05:00
state Merge branch 'master' into feat/sturdypost 2023-11-06 16:10:57 -06:00
stmgr bump libp2p version to v0.30 2023-11-21 22:10:40 +08:00
store feat: chain import: don't walk to genesis - 2-3x faster snapshot import (#11446) 2023-11-25 13:29:57 -08:00
sub Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
types fix: Eth API: accept input data in call arguments under field 'input' (#11505) 2024-01-06 15:42:52 -08:00
vectors lint, db timout, cfg rm 2023-09-29 11:56:10 -05:00
vm fix: nv21fix migration: correctly upgrade system actor 2023-11-09 14:14:41 -05:00
wallet NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
badtscache.go bump libp2p version to v0.30 2023-11-21 22:10:40 +08:00
block_receipt_tracker.go refactor: update cache to the new generic version (#10463) 2023-03-13 15:29:09 -07:00
checkpoint.go chore: fix imports 2022-06-14 17:00:51 +02:00
sync_manager_test.go fix make gen 2022-08-29 16:25:30 +02:00
sync_manager.go master-to-sturdy 2023-09-21 10:37:02 -05:00
sync_test.go add go linter - "unused" (#11235) 2023-09-05 12:19:43 -10:00
sync.go fix: sync: do not include incoming in return of syncFork (#11541) 2023-12-19 13:39:52 -08:00
syncstate.go Expose WorkerID 2020-10-28 20:22:07 +01:00
types_test.go fix make gen 2022-08-29 16:25:30 +02:00