Łukasz Magiera
ac8ab3ef9e
feat: chain: Faster snapshot imports, zstd imports
2022-11-29 14:10:15 +01:00
Geoff Stuart
b55e121642
Fix some more linter errors
2022-11-25 16:19:20 -05:00
Ian Davis
9f85d3dca7
Address simple linter issues
2022-11-24 16:32:27 +00:00
Aayush
40278cd3c1
Update to go-state-types v0.10.0-alpha-2
2022-11-23 17:36:49 -05:00
Geoff Stuart
d9df433e98
Add missing check in datacap for each
2022-11-22 15:40:44 -05: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
Steven Allen
e78d1306ee
feat: fvm: add support for looking up past tipset CIDs ( #9687 )
...
* feat: add support for generating tipset CIDs
(cherry-picked from feat/nv18-fevm)
* feat: fvm: add support for looking up past tipset CIDs
We do this by adding yet another "getter" to the VM that resolves an
epoch into a TipSetKey.
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com>
2022-11-22 12:41:03 -05:00
Aayush Rajasekaran
6067968c07
Merge pull request #9654 from filecoin-project/gstuart/gas-estimation-tooling
...
feat: cli: gas estimation tooling
2022-11-22 09:55:19 -05:00
Geoff Stuart
96035005b8
Fold together call functions
2022-11-18 00:10:12 -05:00
Steven Allen
348494d7c8
feat: actors: add the evm to the builtin actors shims ( #9672 )
2022-11-17 06:55:40 -08: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
frrist
0ae02be001
I love code gen somuchss
2022-11-16 17:22:20 -08:00
frrist
4f513692f9
fix: update paych mock to sat interface
2022-11-16 17:22:20 -08:00
frrist
e61b9b2a65
refactor: add inspection methods to actor gen interface
...
- adds the following methods to all generated actor interfaces:
- Code() cid.Cid
- ActorKey() string
- ActorVersion() actorstypes.Version
- AllCodes() []cid.Cid
2022-11-16 17:22:18 -08:00
frrist
a780756eac
refactor: expose address map bitwidth and hash function
2022-11-16 14:49:42 -08:00
Ian Davis
5b4ec7dbea
feat: add test and fixes for EthSubscribe ( #9659 )
2022-11-16 20:26:57 +00:00
Geoff Stuart
21afb3f5ea
Review fixes
2022-11-16 15:07:23 -05:00
Ian Davis
d5177a394a
Add TestEthGetLogsAll itest
2022-11-16 11:22:30 +00:00
Geoff Stuart
cde4b804e3
gas estimation shed command
2022-11-15 21:39:56 -05:00
Shrenuj Bansal
22f3fbb9a3
Add comment to Push API
2022-11-15 17:02:08 -05:00
Ian Davis
98210ec6e0
Add lint directive
2022-11-15 18:14:43 +00:00
Ian Davis
10357112e5
Add basic itests for ethereum filter api
2022-11-15 18:02:36 +00:00
Ian Davis
c31662d92a
make gen
2022-11-15 15:48:47 +00:00
Ian Davis
73655eda3c
Fix for event entry key type is now a string
2022-11-15 15:33:08 +00:00
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
Shrenuj Bansal
ab1eeeba24
one more
2022-11-14 16:11:49 -05:00
Shrenuj Bansal
800d9de4d5
Address comments
2022-11-14 15:46:58 -05: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
Shrenuj Bansal
2fa21ff091
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-11-11 14:41:38 -05: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
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
Steven Allen
c6f2710e1c
feat: future proof against new address protocols
...
This lets us add new address protocols to go-address without implicitly
accepting them in messages on the network.
2022-11-08 12:28:23 -08:00
Steven Allen
8df5b81f24
fix: make test vector extraction work with the FVM
...
This also ignores the VM "Flush" option and instead, flushes
unconditionally (in the FVM):
1. In the FVM, we don't read blocks on flush (ever).
2. All _uses_ of TVX use a "proxy" blockstore that buffers writes, so
nothing should actually get flushed to lotus.
2022-11-07 16:09:44 -05: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
Shrenuj Bansal
ad8b959880
Address more comments and add test for gorpc auth
2022-10-18 15:53:42 -04:00
Geoff Stuart
cdd7f26fb3
Allow setting local bundles for Debug FVM for av 9+
2022-10-18 12:48:24 -04:00
Shrenuj Bansal
15ed1ee33c
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-10-17 22:55:48 -04:00
hunjixin
e8aacf325c
fix: add gaspremium check when less than maxfee
2022-10-17 12:02:56 +08:00
Shrenuj Bansal
139f8773de
fix some bugs and address some comments
2022-10-16 22:52:22 -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