Commit Graph

18102 Commits

Author SHA1 Message Date
raulk
f532825fe0
Merge pull request from filecoin-project/raulk/merge-wallaby 2022-12-23 18:27:11 +00:00
Raúl Kripalani
5c8a02f92a back out bundle and network changes. 2022-12-23 18:26:41 +00:00
Raúl Kripalani
a22518d96d remove unused var. 2022-12-23 18:21:40 +00:00
Raúl Kripalani
a469840290 merge ntwk/wallaby into feat/nv18-fevm.
Unfortunately some important changes to make this branch
consistent and functional only existed on the wallaby branch.
So this commit brings them in sync.
2022-12-23 18:20:46 +00:00
Aayush
f60f02c1ac fix: store tipsetkeys in the blockstore 2022-12-23 13:14:06 -05:00
Raúl Kripalani
f44bd27f7b fix: eth_blockNumber: make it aware of null rounds. 2022-12-23 18:06:33 +00:00
Raúl Kripalani
a18b3583be upgrade to builtin-actors aed216d4deefbf9cdc39770e6869360bb6d30144 2022-12-23 18:06:20 +00:00
Aayush
f4ffff7334 fix: docgen: correctly check for exported fields 2022-12-23 12:59:12 -05:00
Raúl Kripalani
c7efaaad7e refine docs. 2022-12-23 17:20:57 +00:00
Raúl Kripalani
9505ac88ba add docs. 2022-12-23 17:20:57 +00:00
Raúl Kripalani
8a92e8ea70 add test coverage. 2022-12-23 17:20:57 +00:00
Raúl Kripalani
b8b3b5d48b fix: Eth JSON-RPC API: eth_getTransactionReceipt logs-related fixes.
Hardhat doesn't like logs: null in transaction receipts when no logs
were emitted. Wants empty array.

Size logsBloom correctly.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
08382c6f48 regen docs. 2022-12-23 17:20:57 +00:00
ychiao
60c9832429 fix nonce 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 Rajasekaran
336a0e5b85
Merge pull request from filecoin-project/asr/migration
feat: implement and test the v18 migration
2022-12-22 13:24:53 -05:00
Aayush
9d3e50f140 feat: implement and test the v18 migration 2022-12-22 13:05:00 -05:00
Aayush Rajasekaran
6faa901914
Merge pull request from filecoin-project/raulk/eth-jsonrpc-api-fixes-1
fix: Eth JSON-RPC API: eth_getTransactionByHash should return nil when not found
2022-12-22 10:22:46 -05:00
Raúl Kripalani
bb5cb19607 fix: Eth JSON-RPC API: eth_getTransactionByHash should return nil when not found. 2022-12-22 11:47:46 +00:00
raulk
e7aa7cb04f
add a basic FEVM integration test. ()
* 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
Aayush Rajasekaran
7073b33d9b
Merge pull request from filecoin-project/asr/ethaccount-refinements
feat: consensus: only embryos with nonce 0 are valid senders
2022-12-21 12:52:33 -05:00
Shrenuj Bansal
2bdae2f444
test: Add f4 address integration test and cli to generate eth address from code ()
* 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
5ff6654c2b feat: consensus: only embryos with nonce 0 are valid senders 2022-12-21 11:15:55 -05:00
Geoff Stuart
2b396b5c0a
Merge pull request from filecoin-project/gstuart/maybe-deflake-test
fix: test: Increase blocktime in TestWindowPostNoMinerStorage
2022-12-21 10:56:01 -05:00
raulk
d9c13f19b0
fix: signature validation cache for messages with Delegated signatures. () 2022-12-20 22:49:53 +00:00
Geoff Stuart
448b9424e9 Increase blocktime in test 2022-12-20 10:52:47 -05:00
Aayush Rajasekaran
28e61691d8
Merge pull request from filecoin-project/asr/ethaccount-test
Test: EthAccount abstraction: Nonce is updated correctly
2022-12-19 22:55:05 -05:00
Aayush
de62a7d1e1 Test: EthAccount abstraction: Nonce is updated correctly 2022-12-19 22:53:03 -05:00
Aayush Rajasekaran
d55100b6a8
Merge pull request from filecoin-project/asr/update-fvm
Update to FVM 3.0.0-alpha.17, actors dev/20221219-fvm-m2
2022-12-19 22:46:21 -05:00
Aayush
1f3c23dc87 Update to FVM 3.0.0-alpha.17, actors dev/20221219-fvm-m2 2022-12-19 22:42:30 -05:00
Ian Davis
cfb4e62503
Revert "_build_ Set noexecstack on snapcraft builds" 2022-12-19 13:21:27 -08:00
Shrenuj Bansal
3d3bce6702
Merge pull request from filecoin-project/sbansal/eth-state-cli
feat: cli: Add cli to inspect Eth addresses and simulate calls
2022-12-19 14:50:52 -05:00
Ian Davis
62f126daff
Merge pull request from filecoin-project/id/remove-packer
_build_: Remove support for AMIs and DO Droplets
2022-12-19 11:46:10 -08:00
Shrenuj Bansal
d916253cb5 small nit 2022-12-19 14:41:46 -05:00
Shrenuj Bansal
c96608cd33 make gen and docsgen 2022-12-19 13:40:12 -05:00
Shrenuj Bansal
8baa48256a Address more comments 2022-12-19 13:19:52 -05:00
Aayush Rajasekaran
a452ab7157
Merge pull request from filecoin-project/asr/update-ffi-actors-no-merge
Update FFI and actors (dev/20221218-fvm-m2)
2022-12-19 13:17:39 -05:00
Shrenuj Bansal
f14eda4468 address comments 2022-12-19 13:05:11 -05:00
Shrenuj Bansal
c2629b0a96 Use StateGetActor instead of StateAccountKey 2022-12-19 12:49:45 -05:00
ychiao
20f27af97e
eth: rpc: various Ethereum JSON-RPC API fixes ()
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
Fixes https://github.com/filecoin-project/ref-fvm/issues/1016
Fixes https://github.com/filecoin-project/ref-fvm/issues/1158
Fixes https://github.com/filecoin-project/ref-fvm/issues/1196
Fixes https://github.com/filecoin-project/ref-fvm/issues/1269
Fixes https://github.com/filecoin-project/lotus/issues/9820
2022-12-19 16:45:32 +00:00
Aayush Rajasekaran
6388eca129
Merge pull request from filecoin-project/fix/splitstore-compact-dlock
fix: splitstore: Don't deadlock in mpool protector
2022-12-19 10:56:53 -05:00
Aayush
669c76ef6e Update FFI and actors (dev/20221218-fvm-m2) 2022-12-18 17:36:59 -05:00
Łukasz Magiera
156ba420c3 fix: splitstore: Don't deadlock in mpool protector 2022-12-17 13:14:50 +01:00
Geoff Stuart
5f4ccfd790
Merge pull request from filecoin-project/gstuart/merge-fevm-into-events
chore: merge fevm into events
2022-12-16 17:24:59 -05:00
Geoff Stuart
4ae498a72e Fixes 2022-12-16 17:24:46 -05:00
Aayush
28b4ebd52b chore: VM: don't export Extern::VerifyBlockSig 2022-12-16 16:54:09 -05:00
Geoff Stuart
92f3a7b050 Merge branch 'feat/nv18-fevm' into feat/nv18-events 2022-12-16 16:27:14 -05:00
Aayush Rajasekaran
c9f1b18264
Merge pull request from filecoin-project/gstuart/eth-refactor-fixup
chore: eth refactor fixup
2022-12-16 14:53:37 -05:00
Geoff Stuart
bc7c190db0 Move all eth stuff into ethtypes 2022-12-16 13:48:06 -05:00