Commit Graph

628 Commits

Author SHA1 Message Date
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
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
Aayush Rajasekaran
c182e6d3f1 Temporarily disable TestMultisigReentrant 2022-11-29 09:31:09 -06:00
Ian Davis
0a4efd4820 Merge branch 'main' into id/update-go-version 2022-11-29 14:29:11 +00:00
Łukasz Magiera
33bf148fcf fix: itests: Add missing task type in TestUnsealPiece 2022-11-29 13:02:45 +01:00
Łukasz Magiera
285cc66773
Merge pull request #9648 from filecoin-project/fix/snap-abort-cleanup
fix: sealing: More complete snapdeals abort cleanup
2022-11-28 23:26:32 +01:00
Łukasz Magiera
8d090ba6b8 snapdeals cleanup: address review 2022-11-28 23:03:07 +01:00
Shrenuj Bansal
03aabc3fc6 Make unsealing part of the no local sealing config 2022-11-28 12:27:38 -05:00
Geoff Stuart
e6e50ee9f7 more linter 2022-11-25 17:05:41 -05:00
Geoff Stuart
f04aca767f Maybe rest of linter errors 2022-11-25 16:41:04 -05:00
Ian Davis
9f85d3dca7 Address simple linter issues 2022-11-24 16:32:27 +00:00
Shrenuj Bansal
fa596eee5b Move unsealed sector from sealing to long term storage after Unseal 2022-11-23 15:22:14 -05:00
Łukasz Magiera
ea9a8303c8 sealing: tasks: TTReleaseUnsealed -> TTFinalizeUnsealed 2022-11-23 18:57:17 +01:00
Łukasz Magiera
87e5549af5 sealing: Split unsealed cleanup from Finalize 2022-11-23 18:57:16 +01:00
Łukasz Magiera
7512f82a8d make gen 2022-11-23 18:57:16 +01:00
Łukasz Magiera
211712bf6d itests: Test snapdeals abort cleanup 2022-11-23 18:57:16 +01:00
Steven Allen
176275267b Merge branch 'feat/nv18' into feat/nv18-fevm 2022-11-22 10:32:26 -08:00
Steven Allen
2651a38f89 Merge branch 'master' into feat/nv18 2022-11-22 10:08:54 -08:00
Shrenuj Bansal
cc1e00b1c4 make gen 2022-11-21 15:23:44 -05:00
Shrenuj Bansal
e4ce056ac6 Set all path types for Unseal pipeline to sealing storage 2022-11-21 14:40:50 -05:00
vyzo
5386bc2625
NV18: FEVM: setup FEVM during genesis: create ETH0 actor (#9664)
* setup FEVM during genesis: create ETH0 actor

* make gen

* doExec expects to,from not from, to

* give EAM a predictable address

* update go-state-types

* proper constructor params

* workaround the situation with empty contracts

* put fevm construction after miner construction

* lint

* fix TestAPI itest

off by 1, the new miner is not 1001 anymore; that's ETH0.

* add itest for ETH0 setup

* improve test: check eth0 address
2022-11-16 17:42:38 -08:00
Raúl Kripalani
f809dbdd6a fix test compilation. 2022-11-16 22:29:53 +00:00