snissn
23eaee49d4
clean up test for recursive delegate call count. improved readability ( #10195 )
2023-02-06 13:32:39 -08:00
snissn
1ab53051f7
improve evm error handling in itests ( #10161 )
2023-02-06 10:17:15 -10:00
Łukasz Magiera
91d0e41444
Merge pull request #10193 from filecoin-project/steb/fix-fevm-tests
...
itest: fix FEVM tests for upstream changes
2023-02-06 20:27:42 +01:00
Steven Allen
e0931f8f90
itest: fix remaining fevm failures
2023-02-06 11:01:49 -08:00
Steven Allen
d16b2902d4
itest: fix: test comment
2023-02-06 09:52:38 -08:00
Łukasz Magiera
a5043f45d3
Merge pull request #10190 from filecoin-project/fix/eth-block-unclehash
...
fix: ethtypes: Correct 'no uncles' hash in NewEthBlock
2023-02-06 18:45:51 +01:00
Steven Allen
6bf3a21158
itest: fix FEVM tests for upstream changes
2023-02-06 09:20:22 -08:00
Łukasz Magiera
5dc56841ea
fix: ethtypes: Correct 'no transactions' hash in NewEthBlock
2023-02-06 17:17:19 +01:00
Aayush Rajasekaran
725f22a344
Merge pull request #10173 from filecoin-project/gstuart/check-params
...
chore: cli: Confirm tooling that assumes knowledge of method params / returns don't break
2023-02-06 10:49:47 -05:00
Łukasz Magiera
424824019b
fix: ethtypes: Correct 'no uncles' hash in NewEthBlock
2023-02-06 14:38:48 +01:00
Łukasz Magiera
3e30e7a9ec
Merge pull request #10102 from filecoin-project/iand/eth-openrpc-validate
...
itests: validate responses from ethereum json-rpc api
2023-02-06 14:27:39 +01:00
Łukasz Magiera
bca48dd1eb
make gen
2023-02-06 10:46:24 +01:00
Łukasz Magiera
6851b6a523
Merge remote-tracking branch 'origin/release/v1.20.0' into fix/eth-orpc-validate
2023-02-06 10:41:52 +01:00
Aayush Rajasekaran
3d9c5e7bae
Merge pull request #10128 from filecoin-project/feat/eth-estimate-gas
...
feat: compute a better gas limit for recursive external contract calls
2023-02-05 13:52:03 -05:00
Travis Person
03b419e3d4
feat: compute a better gas limit for recursive external contract calls
2023-02-03 20:40:18 +00:00
raulk
b46258d0bf
feat: evm: align events implementation with FIP-0049 and FIP-0054. ( #10152 )
...
- Event keys are now t1, t2, t3, t4 for topics; and d for data.
- ref-fvm no longer stores events in the blockstore for us. It just
returns events to the client, who is now responsible for handling
them as it wishes / according to its configuration.
- Add a flag to VMOpts to have the events AMT be written in the blockstore.
- Add a flag to the ChainStore to advertise to the rest of the system
if the ChainStore is storing events.
- Enable that flag if the EthRPC is enabled (can also add an explicit
configuration flag if wanted).
2023-02-02 19:10:30 -08:00
Geoff Stuart
ffc1c33be0
Review fixes
2023-02-02 16:46:08 -05:00
Geoff Stuart
f05437d253
Check decoding params for new methods
2023-02-02 14:41:30 -05:00
Łukasz Magiera
0c33eab20a
Merge pull request #10180 from filecoin-project/feat/ethsub-addr
...
feat: ethrpc: Support filtering by address in subscribe
2023-02-02 18:23:43 +01:00
Geoff Stuart
3e009013df
Merge pull request #10177 from filecoin-project/fix/lite-node-ethrpc
...
fix: lite mode: Fix eth_ rpc in lite mode
2023-02-02 11:08:46 -05:00
Łukasz Magiera
8ce0b984b7
itests: Fix TestEthFilterAPIDisabledViaConfig
2023-02-02 15:59:55 +01:00
Łukasz Magiera
fe1e0974cb
feat: ethrpc: Support filtering by address in subscribe
2023-02-02 14:46:36 +01:00
Maciej Witowski
75f4810af1
Merge pull request #10168 from filecoin-project/maciej/test
...
Test: assert all fields returned from EthGetTransactionByHash have expected values
2023-02-02 14:14:21 +01:00
Łukasz Magiera
3d207de6aa
node builder: Use gateway eth module in lite mode
2023-02-02 13:39:40 +01:00
Łukasz Magiera
a6a2f0dbae
gateway: Support all EthModule methods
2023-02-02 13:37:31 +01:00
Geoff Stuart
b8c4fbaff0
Merge pull request #10062 from filecoin-project/iand/issue-9849-config
...
itests: verify eth filter api is disabled via config
2023-02-01 22:25:21 -05:00
Geoff Stuart
abf2140ecf
review fixes
2023-02-01 18:50:36 -05:00
Geoff Stuart
12ca08d9a6
Merge pull request #10081 from filecoin-project/steb/remove-dead-code
...
itests: remove dead code from DeployContract
2023-02-01 18:06:58 -05:00
Geoff Stuart
e200df4def
Merge pull request #10060 from filecoin-project/raulk/eth-check-tipsets-cmd
...
add a lotus-shed eth check-tipsets command.
2023-02-01 18:05:34 -05:00
Ian Davis
245be406d9
Fix merge conflicts
2023-02-01 16:41:01 +00:00
Maciej Witowski
90fced7cb2
Test: assert all fields returned from EthGetTransactionByHash have expected values
...
Related to https://github.com/filecoin-project/lotus/pull/10151#discussion_r1092358973
2023-02-01 17:38:09 +01:00
Ian Davis
d29a244064
Merge remote-tracking branch 'origin/release/v1.20.0' into iand/eth-openrpc-validate
2023-02-01 16:19:17 +00:00
Łukasz Magiera
ccb20d56ab
Merge pull request #10164 from filecoin-project/deps/jsonrpc-v0.2.1
...
deps: Update go-jsonrpc to v0.2.1
2023-02-01 14:38:50 +01:00
Łukasz Magiera
8d62cb22f9
deps: Update go-jsonrpc to v0.2.1
2023-02-01 14:07:24 +01:00
snissn
9060c474da
test: fevm: add in tests for deploying, destroying contracts, recursive calls, sending value ( #10082 )
...
adds the following tests to itests/fevm_test.go:
- recursive tests
- delegate call tests
- delegate call recursive tests
- revert tests
- destruct tests
- contract deploy address tests
- send value to contracts
- gas limit on value transfer tests
- sending value to destroyed contracts
adds the test to itests/fevm_address_test.go:
- deploy contract and confirm address is different second deploy
2023-01-31 19:13:13 -10:00
Jiaying Wang
a38e63998e
Merge pull request #10154 from filecoin-project/gstuart/re-add-not-serving-v0-api
...
fix: api: should not serve non v0 apis in v0
2023-01-31 19:18:12 -05:00
Jennifer Wang
5d87fc8278
fix: should not serve non v0 api in v1
2023-01-31 17:06:02 -05:00
Maciej Witowski
27465e5faf
Merge pull request #10151 from filecoin-project/maciej/1614
...
Eth JSON-RPC: from in eth_getTransactionByHash is not correctly popul…
2023-01-31 20:30:33 +01:00
Aayush
99b879d014
Add test for EthGetTransactionByHash
2023-01-31 12:55:46 -05:00
Maciej Witowski
dcbfca53d9
Improve the error message
2023-01-31 18:54:05 +01:00
Maciej Witowski
5f2ef98de6
Move assigning from
address to the API level
2023-01-31 18:28:12 +01:00
Maciej Witowski
070aca2b65
Eth JSON-RPC: from in eth_getTransactionByHash is not correctly populated #1614
2023-01-31 17:52:46 +01:00
Jiaying Wang
dc5f865d54
Merge pull request #10027 from filecoin-project/feat/correct-eth-sub
...
feat: rpc: correct `eth_subscribe` implementation
2023-01-31 09:44:59 -05:00
Łukasz Magiera
ad14d71978
eth rpc: Params are optional in eth_subscribe
2023-01-31 11:08:51 +01:00
Łukasz Magiera
9701b11641
ethtypes: Serialize EthFilterID/EthSubscriptionID correctly
2023-01-31 10:28:12 +01:00
Łukasz Magiera
965b1cf03c
itests: Fix TestEthSubscribeLogs
2023-01-31 10:28:12 +01:00
Łukasz Magiera
1286d76988
gateway: eth_subscribe support
2023-01-31 10:28:12 +01:00
Łukasz Magiera
6491becbe1
rpc: Switch eth_subscribe to reverse calls
2023-01-31 10:28:12 +01:00
Geoff Stuart
af72e6f6ac
Refactor: Unify EthTx to FilecoinMessage methods v2 ( #10095 )
...
* Refactor: Unify EthTx to FilecoinMessage methods
* Filecoin messages can again be converted to Eth Txs
* All BLS messages should calculated tx hash with unsigned message
* Refactor newEthTxReceipt
* fill in from and to for non-eth transactions
* Hoist nil check out of newEthTxFromMessageLookup
---------
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2023-01-30 18:40:14 +00:00
Geoff Stuart
6518122a2d
Merge pull request #10144 from filecoin-project/gstuart/sqlite-leak
...
fix: eth: plug sqlite leak
2023-01-30 12:13:26 -05:00