Commit Graph

3909 Commits

Author SHA1 Message Date
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
vyzo
af39ec27b8
NV18: FEVM: Basic smoke test (#9635)
* unknown return types should not be treated as errors from WaitForMessage

* simplecoin FEVM smoke test

* add itest-fevm to circle matrix

* use a named error for metadata lookup failures

* hand-write the fevm basic test

* make gen

* address nits
2022-11-14 21:06:55 +02:00
vyzo
1d8ebe96bc fix error message when actor doesn't have predictable address 2022-11-11 05:21:08 +02:00
vyzo
5a5936c3c7 add comment about migration needing to create ETH address 0 2022-11-11 05:20:48 +02:00
vyzo
245e5705da embryo: simplify code 2022-11-11 05:20:27 +02:00
vyzo
f438b1c7a6 store: fix error handling around tipset key blocks 2022-11-11 05:07:09 +02:00
vyzo
9123628254 revert newline mangling 2022-11-11 05:00:43 +02:00
vyzo
c9c53c9745 fix MinTimestap for null rounds 2022-11-10 06:17:43 +02:00
vyzo
6e149d5406 lint 2022-11-10 05:23:55 +02:00
vyzo
6e72910d31 fix account address resolution
it's in the actor state only if it is a v5 (or later) state tree
2022-11-10 05:01:44 +02:00
vyzo
a2d6c8f2f7 improve migration TODO comment 2022-11-10 04:35:54 +02:00
vyzo
30083949a0 fix genesis SetupEAM
Only when actors version is >= 10
2022-11-10 04:35:41 +02:00
vyzo
2b23372ad3 fixup merge artifacts 2022-11-10 02:51:57 +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
Raúl Kripalani
32617a61df fix eth_feeHistory: add missing param. 2022-11-09 19:47:06 +02:00
Steven Allen
7f81780ffb hack: allow sending from f4 addresses (#9533) 2022-11-09 19:40:02 +02:00
Raúl Kripalani
57a515f7a8 genesis: instantiate EAM at id 10. 2022-11-09 19:38:19 +02:00
vyzo
a2a9147790 thread epoch timestamp through vmopts 2022-11-09 19:30:08 +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
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
vyzo
378c9d37d0 lint 2022-11-09 11:38:16 +02:00
vyzo
cc79d7f79c register v10 actor method meta 2022-11-09 11:32:50 +02:00
vyzo
0b6d1ad20b set predictable address when creating account actors 2022-11-09 11:15:16 +02:00
vyzo
335d0bec3e set predictable address for account actors in genesis 2022-11-09 11:11:20 +02:00
vyzo
6bf7b0312e make gen 2022-11-09 10:45:11 +02:00
vyzo
674d127701 state tree version 5 scaffolding 2022-11-09 10:44:51 +02:00
vyzo
1aadbf16ba define StateTreeVersion5 for NetworkVersion18 2022-11-09 08:30:42 +02:00
vyzo
5cb1e8a5d6 define filcns.UpgradeActorsV10 2022-11-09 07:36:09 +02:00
vyzo
6aee53fc8b make gen 2022-11-09 07:36:09 +02:00
vyzo
5e4f24ec60 add NV18 actor keys 2022-11-09 07:36:09 +02:00
vyzo
6373e9752c agen 2022-11-09 07:36:09 +02:00
vyzo
7ffd1635f5 fix residual v9 references in templates 2022-11-09 07:36:09 +02:00
vyzo
50b971091f define actors version 10 2022-11-09 07:36:09 +02:00
Aayush
f77c849a2b address merge review 2022-11-07 15:34:19 -05:00
Aayush
c0b7343e60 Merge branch 'release/v1.18.0' into asr/merge-release-into-master 2022-11-06 14:40:13 -05:00
Geoff Stuart
884b9004db bubble up errors properly from ApplyImplicitMessage 2022-11-01 10:12:22 +00:00
Geoff Stuart
ec5358773e statemanager call function will return call information even if call errors 2022-10-31 13:23:11 +00:00
Aayush
7609655986 address review 2022-10-20 13:49:29 -04:00
Aayush
3401ef6f02 Add a second premigration for nv17 2022-10-19 16:50:13 -04:00
Aayush Rajasekaran
84050170b9
Merge pull request #9520 from filecoin-project/asr/invoker-method-name
feat: Invoker: Use MethodMeta from go-state-types
2022-10-19 16:49:26 -04:00
Aayush
13b59c9c23 Invoker: Use MethodMeta from go-state-types 2022-10-19 15:53:26 -04:00
Aayush
66bb149a65 Migration: Use autobatch bs 2022-10-19 11:56:11 -04:00
Geoff Stuart
cdd7f26fb3 Allow setting local bundles for Debug FVM for av 9+ 2022-10-18 12:48:24 -04:00
Geoff Stuart
8460536068 Fix miner state precommit info 2022-10-13 16:38:30 -04:00
Aayush Rajasekaran
3c1b723c7f
Merge pull request #9486 from filecoin-project/gstuart/remove-banner
fix: upgrade: no splash banner for nv17 :(
2022-10-13 15:20:39 -04:00
Geoff Stuart
f891714db2 Remove fvm splash banner from nv17 upgrade 2022-10-13 15:19:17 -04:00
Aayush Rajasekaran
c4fdeb19a9
Merge pull request #9483 from filecoin-project/jen/calib
chore: build: add calib upgrade param for shark
2022-10-13 15:11:33 -04:00
Aayush Rajasekaran
e549a3fb4a
Merge pull request #9482 from filecoin-project/gstuart/fix-grant-datacap
fix: actors: fix verifreg checking notary balance
2022-10-13 14:14:39 -04:00