Commit Graph

648 Commits

Author SHA1 Message Date
Raúl Kripalani
46a50960d3 track remaining TODOs as TODO::FVM. 2023-01-13 01:44:39 +00:00
raulk
014d95454b
address review comments from @magik6k on #9617 (#9997) 2023-01-12 19:11:48 +00:00
ychiao
105a1259bc
Eth JSON-RPC: use ToFilecoinAddress() to get f4 addr and validate v sig + cleanups (#9970)
Co-authored-by: raulk <raul@protocol.ai>
2023-01-12 14:55:07 +00:00
Raúl Kripalani
08ae1391ad address review comments. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
892819aeec fix test. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
3320754a62 remove fmt.Println. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
1e0c78098c constant for Event AMT bitwidth. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
73d6c7b28a move EthAddressFromPubKey to chain/types/ethtypes. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
4aafd42462 strengthen assertions in TestEthNewPendingTransactionFilter. 2023-01-12 08:50:38 +00:00
Steven Allen
c73a0b5265 fix: fevm: don't hard-code method numbers 2023-01-11 18:44:14 -08:00
Shrenuj Bansal
3456d90e0d
itests: Add tests for eth get balance and transaction submits (#9966)
* Add tests for eth get balance and transaction submits

* fix lint

* one more lint

* Add contract invocation test

* address comments

* fix lint

* address final comment

* make gen and fix lint as always
2023-01-10 19:28:49 -05:00
Aayush Rajasekaran
95501b77dd
Merge pull request #9978 from filecoin-project/jen/hyper
feat: network: introduce hyperspace :integrate the new bundle type
2023-01-10 16:23:59 -05:00
Aayush
06584bbb78 Fixup multisig_test 2023-01-10 13:35:13 -05:00
Jennifer Wang
cb49edf29d update embryo to placehodler 2023-01-09 22:23:55 -05:00
ychiao
402173ea16
Merge pull request #9955 from filecoin-project/itest/eth-block
itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber
2023-01-08 17:31:03 +09:00
ZenGround0
06393da4ff
feat:splitstore:retain tipset references in hot store (#9960)
* Retain tipset reference

Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-01-06 12:39:07 -05:00
ychiao
7029364f4d check non-existent block hash 2023-01-02 17:21:47 +08:00
ychiao
f8e215c817 itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber 2023-01-02 11:20:05 +08:00
Aayush
a5851a1763 Merge branch 'master' into feat/nv18-fevm 2022-12-23 16:37:26 -05:00
Raúl Kripalani
8a92e8ea70 add test coverage. 2022-12-23 17:20:57 +00:00
Raúl Kripalani
4411fd7f81 eth_getTransactionByHash: return nil in some fields when tx is in mpool. 2022-12-23 17:20:57 +00:00
Raúl Kripalani
7ed79fece6 fix: eth_getTransactionByHash: return hash. 2022-12-23 17:20:57 +00:00
Aayush
9d3e50f140 feat: implement and test the v18 migration 2022-12-22 13:05:00 -05:00
raulk
e7aa7cb04f
add a basic FEVM integration test. (#9922)
* add a basic FEVM integration test.

Exercises f4 addresses, placeholder transitions, Ethereum Account.

* remove unused parameter from newEthTxFromFilecoinMessageLookup.

* break when found in newEthTxFromFilecoinMessageLookup.

* fixup test.

* lint and gen.

* move test to itests root package.

Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
2022-12-21 15:12:07 -05:00
Shrenuj Bansal
2bdae2f444
test: Add f4 address integration test and cli to generate eth address from code (#9924)
* Add f4 integration test and cli to generate eth addr from code

* make gen and docsgen

* fix lint

* address comments

* make gen and make docsgen sigh

* address moar comments

* use existing APIs to determine actor types

* Add IsEvmActor API

* "strings are bad" -Geoff
2022-12-21 12:51:22 -05:00
Geoff Stuart
448b9424e9 Increase blocktime in test 2022-12-20 10:52:47 -05:00
Aayush
de62a7d1e1 Test: EthAccount abstraction: Nonce is updated correctly 2022-12-19 22:53:03 -05:00
Geoff Stuart
4ae498a72e Fixes 2022-12-16 17:24:46 -05:00
Geoff Stuart
92f3a7b050 Merge branch 'feat/nv18-fevm' into feat/nv18-events 2022-12-16 16:27:14 -05:00
Geoff Stuart
bc7c190db0 Move all eth stuff into ethtypes 2022-12-16 13:48:06 -05:00
Aayush
7ea690d4be Merge branch 'master' into feat/nv18-fevm 2022-12-16 11:52:41 -05:00
Geoff Stuart
dbb52ec5b4 Skip TestGoRPCAuth until Raft is fixed 2022-12-15 18:57:58 -05:00
Aayush
54cb97af3f Expand EthAccount abstraction test 2022-12-15 17:22:56 -05:00
Aayush
160bcd64a6 Messagepool: check sender is valid for sending 2022-12-15 16:56:25 -05:00
Aayush
4aa24c2190 Account abstraction: Add test demonstrating workflow 2022-12-15 16:56:25 -05:00
Geoff Stuart
1d5ccab004
Update itests/multisig_test.go
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2022-12-15 12:55:56 -05:00
Geoff Stuart
886a28640f Quiet wdpost logs, add error log to multisig reentrant 2022-12-15 01:05:54 -05:00
Aayush
69ac84088a Update the v10 actors testing bundle 2022-12-14 22:17:55 -05:00
Aayush
596307b32a Merge branch 'master' into feat/nv18-fevm 2022-12-14 21:38:30 -05:00
Aayush
720451c89e Merge branch 'master' into feat/nv18-fevm 2022-12-14 19:54:47 -05:00
Geoff Stuart
ae4010ffb6 Drop actor keys from chain/actors/manifest.go 2022-12-13 18:02:34 -05:00
Geoff Stuart
f95e6602a0 Check for nil returns from StateSectorGetInfo 2022-12-12 10:44:08 -05:00
Ian Davis
f4cc5541e4 Fix getting event logs by topic 2022-12-08 17:18:45 +00:00
Steven Allen
266492fa1c Merge branch 'feat/nv18-fevm' into feat/nv18-events 2022-12-07 22:16:56 -08:00
Ian Davis
56259c40fc Use EthHash compatible type for subscription and filter IDs 2022-12-07 12:51:03 +00:00
Aayush Rajasekaran
6443e72ad7 Merge branch 'master' into feat/nv18-fevm 2022-11-29 20:16:12 -06:00
Aayush Rajasekaran
12ad791917 Re-enable TestMultisigReentrant 2022-11-29 19:45:32 -06:00
Aayush Rajasekaran
15afe384ff Merge branch 'master' into feat/nv18 2022-11-29 10:01:51 -06:00
Łukasz Magiera
b1045c39ed
Merge pull request #9712 from filecoin-project/id/update-go-version
_build_: Update to Go Version 1.18.8
2022-11-29 16:51:21 +01:00
Geoff Stuart
61ac270876 Set more timeouts to 30s 2022-11-29 10:34:19 -05:00