Commit Graph

3927 Commits

Author SHA1 Message Date
Ian Davis
e2ddc9745c Fix lint error 2022-11-15 15:28:24 +00:00
Ian Davis
bf1fcf88b1 Check actor event database schema version 2022-11-15 15:28:24 +00:00
Ian Davis
32839f6919 Initialise event index in di 2022-11-15 15:28:24 +00:00
Ian Davis
0e8dd9efc5 Add historic event indexing 2022-11-15 15:28:24 +00:00
Raúl Kripalani
43e2a2b451 fix merge error. 2022-11-15 13:31:28 +00:00
Raúl Kripalani
28ec43cdea Merge branch 'feat/nv18-events' into raulk/events-integrate-fvm 2022-11-15 13:06:18 +00:00
Ian Davis
273ac513fc
Ethereum actor events API fixes (#9639)
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-15 13:02:11 +00:00
Raúl Kripalani
846aea57c5 Merge branch 'feat/nv18-fevm' into feat/nv18-events 2022-11-15 12:28:25 +00:00
Raúl Kripalani
7cc2c5ce71 fix types in Eth API. 2022-11-15 12:22:36 +00:00
Raúl Kripalani
476a9331f8 fix Event schema + cbor-gen. 2022-11-15 12:15:23 +00:00
raulk
c75d0c4bd1
feat: events: version the MessageReceipt structure. (#9636) 2022-11-15 12:00:39 +00: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
Raúl Kripalani
efdbea5b53 fix Receipt#EventsRoot is now *cid.Cid. 2022-11-14 11:55:04 +00:00
Raúl Kripalani
a915c703a5 Merge branch 'feat/nv18-events' into feat/nv18-ethevents 2022-11-14 11:46:08 +00:00
raulk
4e7b8d555e
Merge pull request #9624 from iand/feat/nv18-rcptevent 2022-11-11 20:25:37 +00:00
Raúl Kripalani
17ea9f520a cbor gen. 2022-11-11 19:54:26 +00:00
Raúl Kripalani
9e6b343620 make MessageReceipt#EventsRoot a pointer. 2022-11-11 18:37:47 +00: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
Ian Davis
69210d0917 Ethereum compatible actor event API 2022-11-10 15:02:53 +00:00
Ian Davis
4eb94b5cea make gen 2022-11-10 14:50:13 +00:00
Ian Davis
85df74ff43 Add EventsRoot field to message receipt 2022-11-10 14:50:06 +00: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