Commit Graph

4038 Commits

Author SHA1 Message Date
Raúl Kripalani
d520dbbc4b update genesis logic to create Eth Null Addresses as EthAccounts. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
1e0c78098c constant for Event AMT bitwidth. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
73d6c7b28a move EthAddressFromPubKey to chain/types/ethtypes. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
e60199a823 add link to TODO issue. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
8ef17332ba {predictable=>delegated} addresses. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
a71816279d adjust IsValidSecpkSigType and usages. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
6b8d4b4de2 consolidate signature validation logic. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
a8c33de80b consolidate signature validation logic. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
ac38c9776c add a network version gate to IsValidForSending. 2023-01-12 08:50:38 +00:00
Shrenuj Bansal
3456d90e0d
itests: Add tests for eth get balance and transaction submits (#9966)
* Add tests for eth get balance and transaction submits

* fix lint

* one more lint

* Add contract invocation test

* address comments

* fix lint

* address final comment

* make gen and fix lint as always
2023-01-10 19:28:49 -05:00
Aayush Rajasekaran
95501b77dd
Merge pull request #9978 from filecoin-project/jen/hyper
feat: network: introduce hyperspace :integrate the new bundle type
2023-01-10 16:23:59 -05:00
Jennifer Wang
cb49edf29d update embryo to placehodler 2023-01-09 22:23:55 -05:00
ychiao
402173ea16
Merge pull request #9955 from filecoin-project/itest/eth-block
itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber
2023-01-08 17:31:03 +09:00
Aayush Rajasekaran
c7ec974ff0 Add new FEVM actors to the registry 2023-01-06 11:38:11 -05:00
ychiao
7029364f4d check non-existent block hash 2023-01-02 17:21:47 +08:00
Aayush
a5851a1763 Merge branch 'master' into feat/nv18-fevm 2022-12-23 16:37:26 -05:00
Aayush Rajasekaran
7c916c10cf
Merge pull request #9904 from filecoin-project/asr/put-tsk
fix: chainstore: store tipsetkeys in the blockstore
2022-12-23 14:17:02 -05: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
4411fd7f81 eth_getTransactionByHash: return nil in some fields when tx is in mpool. 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
Aayush Rajasekaran
7073b33d9b
Merge pull request #9929 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 (#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
5ff6654c2b feat: consensus: only embryos with nonce 0 are valid senders 2022-12-21 11:15:55 -05:00
raulk
d9c13f19b0
fix: signature validation cache for messages with Delegated signatures. (#9916) 2022-12-20 22:49:53 +00:00
Aayush
1f3c23dc87 Update to FVM 3.0.0-alpha.17, actors dev/20221219-fvm-m2 2022-12-19 22:42:30 -05:00
Shrenuj Bansal
3d3bce6702
Merge pull request #9897 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
ychiao
20f27af97e
eth: rpc: various Ethereum JSON-RPC API fixes (#9837)
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
Łukasz Magiera
156ba420c3 fix: splitstore: Don't deadlock in mpool protector 2022-12-17 13:14:50 +01: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
Shrenuj Bansal
d71f5a7d12 Add cli to inspect Eth addresses and simulate calls 2022-12-16 12:54:50 -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
830c3e49d9 Eth: Propogate errors 2022-12-15 16:56:25 -05:00
Aayush
f8f07dbc70 Support creation and signing of Eth keys 2022-12-15 16:47:06 -05:00
Aayush
69ac84088a Update the v10 actors testing bundle 2022-12-14 22:17:55 -05:00
Aayush
518e666015 FVM: Set chain ID when creating machine 2022-12-14 21:39:28 -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
d615b1c806 Update go-state-types 2022-12-14 19:33:47 -05:00
Geoff Stuart
3497b53b88 Fix lint 2022-12-14 15:26:58 -05:00
Geoff Stuart
442132be70 Move eth types to chain/types/ethtypes 2022-12-14 14:08:38 -05:00
Geoff Stuart
96bb03e1e0 Move EthTxReceipt to api 2022-12-14 14:00:19 -05:00
Aayush Rajasekaran
a264893543
Merge pull request #9873 from filecoin-project/gstuart/print-addr-key-not-found
feat: wallet: Print addr when key not found
2022-12-14 13:36:50 -05:00
Geoff Stuart
8c566c3bda Print addr when key not found 2022-12-14 12:27:06 -05:00
Geoff Stuart
855c35cb88 Move eth functions out of api 2022-12-14 11:57:01 -05:00
Geoff Stuart
ae4010ffb6 Drop actor keys from chain/actors/manifest.go 2022-12-13 18:02:34 -05:00