lotus/chain/types
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
..
ethtypes fix: Eth API: accept input data in call arguments under field 'input' (#11505) 2024-01-06 15:42:52 -08:00
mock chore: fix imports 2022-06-14 17:00:51 +02:00
testdata Add golden test for exp function 2020-06-23 16:33:10 +02:00
actor.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
bigint_test.go fix make gen 2022-08-29 16:25:30 +02:00
bigint.go Adjust various CLI display ratios to arbitrary precision 2021-05-25 14:09:01 +02:00
blockheader_test.go fix make gen 2022-08-29 16:25:30 +02:00
blockheader.go chore: refactor: drop unused IsTicketWinner (#10801) 2023-05-02 11:22:02 -07:00
blockmsg_test.go add go linter - "unused" (#11235) 2023-09-05 12:19:43 -10:00
blockmsg.go Adding extra data check on DecodeBlockMsg 2023-05-12 21:32:44 +02:00
cbor_gen.go make gen 2023-09-23 17:54:44 -04:00
electionproof_test.go fix make gen 2022-08-29 16:25:30 +02:00
electionproof.go chore: refactor: drop unused IsTicketWinner (#10801) 2023-05-02 11:22:02 -07:00
event.go feat: fvm: apply a max length when decoding events 2023-07-08 11:05:01 -04:00
execresult.go fix exec traces with new ffi 2023-09-19 11:58:13 +02:00
fil_test.go fix make gen 2022-08-29 16:25:30 +02:00
fil.go lp: fix: migrate 0 panic 2023-11-24 11:00:32 -06:00
fullblock.go refactoring to accomodate the bls message changes in the spec 2019-08-01 18:19:22 -07:00
keystore.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
logs.go Structure logs 2019-10-11 02:00:04 +02:00
message_fuzz.go feat: expose ChainGetPath on the gateway 2021-08-30 16:43:21 -07:00
message_receipt_cbor.go Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
message_receipt_test.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
message_receipt.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
message_test.go fix make gen 2022-08-29 16:25:30 +02:00
message.go fix: Eth JSON-RPC api: handle messages with gasFeeCap less than baseFee (#10614) 2023-04-24 16:03:04 +01:00
mpool.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
percent_test.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
percent.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
signature_test.go fix make gen 2022-08-29 16:25:30 +02:00
signedmessage.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
state.go define StateTreeVersion5 for NetworkVersion18 2022-11-09 08:30:42 +02:00
tipset_key_test.go fix make gen 2022-08-29 16:25:30 +02:00
tipset_key.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
tipset.go feat: stmgr: skip tipset execution when possible 2023-03-10 13:21:17 -08:00
types_test.go fix make gen 2022-08-29 16:25:30 +02:00
vmcontext.go add go linter - "unused" (#11235) 2023-09-05 12:19:43 -10:00