Commit Graph

18433 Commits

Author SHA1 Message Date
Kevin Li
2e5de478a6 api: ethrpc: fix a potential panic when querying block info (#9593) 2022-11-09 19:47:44 +02:00
imxyb
53c7d9c18f fix:add UnmarshalJSON for EthNonce (#9589) 2022-11-09 19:47:44 +02:00
Raúl Kripalani
672744ad1d upgrade go-jsonrpc to v0.1.9. 2022-11-09 19:47:43 +02:00
raulk
0bd5f1d4a4 Eth JSON-RPC: eth_estimateGas: fix gas estimation by actually making it run. (#9564) 2022-11-09 19:47:25 +02:00
Steven Allen
49da019bd0 fix: allow EthCall.From to be nil (#9556) 2022-11-09 19:47:25 +02:00
Steven Allen
b3b9da5bbc fix: avoid returning an error when getting embryo state (#9550)
We need to add full FEVM state support, but that will require merging
master. This is enough for now.

fixes https://github.com/filecoin-project/ref-fvm/issues/1022
2022-11-09 19:47:24 +02:00
Steven Allen
ea54499f24 fix: allow deploying from f1/f3 accounts (#9554)
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:47:24 +02:00
Steven Allen
6337d594fa fix: evm: use CREATE not CREATE2 for EVM contract deployment (#9553)
Also updates the actors to accommodate this change, and fix a bug in
looking up addresses for f4 actors.
2022-11-09 19:47:23 +02:00
Raúl Kripalani
dc5fc9ded4 fix eth_feeHistory. 2022-11-09 19:47:07 +02:00
Raúl Kripalani
78dd7a246a fix gas estimation.
Make it use GasEstimateMessageGas, which applies overestimation
by default. This accounts for inclusion costs.
2022-11-09 19:47:07 +02:00
Raúl Kripalani
ab5f0216f6 fix message sending logic. 2022-11-09 19:47:07 +02:00
Raúl Kripalani
32617a61df fix eth_feeHistory: add missing param. 2022-11-09 19:47:06 +02:00
Raúl Kripalani
323ff1b55e make eth_getCode return nil if the target is not an EVM smart contract. 2022-11-09 19:46:24 +02:00
Raúl Kripalani
6d5ec6aff8 fix address recovery from pubkey. 2022-11-09 19:46:24 +02:00
Raúl Kripalani
9017e5de52 fix signature validation logic. 2022-11-09 19:46:24 +02:00
Kevin Li
64afdfc642 api: ethrpc: implement eth_feeHistory (#9539)
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:46:22 +02:00
Raúl Kripalani
c0cbcda1c2 update go-jsonrpc dependency.
To include https://github.com/filecoin-project/go-jsonrpc/pull/83.
2022-11-09 19:45:52 +02:00
Raúl Kripalani
a58e87b173 fixes to Eth JSON-RPC API. 2022-11-09 19:43:02 +02:00
Raúl Kripalani
0cff785068 fix lotus state evm commands to use EAM. 2022-11-09 19:42:56 +02:00
Steven Allen
98e7623480 fix: evm: decode params/return in cli (#9536) 2022-11-09 19:40:31 +02:00
Steven Allen
7f81780ffb hack: allow sending from f4 addresses (#9533) 2022-11-09 19:40:02 +02:00
Kevin Li
e17e92775c api: ethrpc: fix eth_getCode, eth_getTransactionReceipt (#9530) 2022-11-09 19:40:00 +02:00
Steven Allen
56b238980b feat: use f4 eth addresses wherever possible (#9532)
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:39:50 +02:00
Steven Allen
aa0e6c17b9 Eth TX Encoding (#9531) 2022-11-09 19:39:49 +02:00
Raúl Kripalani
57a515f7a8 genesis: instantiate EAM at id 10. 2022-11-09 19:38:19 +02:00
Melanie Riise
7e7fff1dc5 Eth JSON-RPC API: Add EAM as contract creator (#9528) 2022-11-09 19:33:25 +02:00
Raúl Kripalani
98e534cc77 add support for f4 addresses in the Eth JSON-RPC and signature. 2022-11-09 19:33:23 +02:00
Raúl Kripalani
17e9e97064 Eth JSON-RPC API: support f4 addresses. 2022-11-09 19:32:43 +02:00
Steven Allen
420bd34888 fix(api): eth/id address conversion (#9511) 2022-11-09 19:30:40 +02:00
Kevin Li
e109be4c6a fix lint 2022-11-09 19:30:27 +02:00
Kevin Li
16ee7d07a8 fix: EthGetTransactionCount should not return error 2022-11-09 19:30:27 +02:00
Kevin Li
2741c961b7 Revert "fix: EthGetTransactionCount should not return error"
This reverts commit ea73fd5b1901c614e7c376fad5952fcbea8d5207.
2022-11-09 19:30:25 +02:00
Kevin Li
ccbf57165f fix: EthGetTransactionCount should not return error 2022-11-09 19:30:16 +02:00
vyzo
b9ed239cf4 add --hex option to create-evm-actor 2022-11-09 19:30:08 +02:00
vyzo
61de2f4a4a fix eth api issues with evm constructor changes 2022-11-09 19:30:08 +02:00
vyzo
2cda4547d6 fix evm constructor input data 2022-11-09 19:30:08 +02:00
vyzo
a2a9147790 thread epoch timestamp through vmopts 2022-11-09 19:30:08 +02:00
raulk
ee83dceef0 Eth JSON-RPC API: implement eth_getCode and eth_getStorageAt (#9397) 2022-11-09 19:30:06 +02:00
Kevin Li
6c7fd94aa7 api: ethrpc: implement eth_sendRawTransaction (#9334)
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:28:17 +02:00
Kevin Li
b53d5924a1 feat: ethrpc: implement call, estimateGas, getTransactionCount (#9306) 2022-11-09 19:25:40 +02:00
Kevin Li
e5bb5b7430 feat: ethrpc: implement EthBlock and EthTx structs (#9287)
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:23:49 +02:00
Kevin Li
4652d8559f api: ethrpc: implement a few ethereum JSON-RPC API methods (#9208) 2022-11-09 19:23:11 +02:00
Steven Allen
ef90ba7cef feat: make actor debugging a build param
And enable for wallaby.

fix build.
2022-11-09 19:22:43 +02:00
Steven Allen
2500d98def feat: implement fvm gas tracing 2022-11-09 19:16:19 +02:00
vyzo
fc273bb79e add chain create-evm-actor and invoke-emv-actor commands 2022-11-09 19:14:23 +02:00
Patrick Deuse
2317111c85 wallaby files
bootstrap cp fail fix

add new wallaby genesis car

Wallaby testnet CAR for FVM M2.1 Selenium r02 (#9269)

add wallabynet.car rc3-copper (#9297)

add rc3-copper wallabynet.car

add rc4-iron wallabynet.car

add rcX-4.1 wallabynet.car

wallabynet car rc4-iron patch2 (#9514)

add rc567-alloy wallabynet.car

add rc567-p1 wallabynet.car (#9558)
2022-11-09 19:11:59 +02:00
Patrick Deuse
9ecc71ca4a testin' 2022-11-09 19:11:58 +02:00
Aayush
653e93c62a feat: add wallabynet 2022-11-09 19:11:58 +02:00
vyzo
3a23ae6ea4 params 2k: start at nv18, dont do shark upgrade 2022-11-09 18:44:36 +02:00
Ian Davis
de0c592a95 Port changes from https://github.com/filecoin-project/lotus/pull/9363 2022-11-09 15:33:10 +00:00