Commit Graph

17881 Commits

Author SHA1 Message Date
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 #9931 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 #9932 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. (#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 Rajasekaran
28e61691d8
Merge pull request #9911 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 #9915 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
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
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 #9907 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 (#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
Aayush
669c76ef6e Update FFI and actors (dev/20221218-fvm-m2) 2022-12-18 17:36:59 -05:00
Geoff Stuart
5f4ccfd790
Merge pull request #9901 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
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 #9900 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
Shrenuj Bansal
cbc61a274f small correction on cli usage 2022-12-16 13:16:29 -05:00
Shrenuj Bansal
4b2ff01a55 make gen and lint 2022-12-16 13:03:27 -05:00
Shrenuj Bansal
d71f5a7d12 Add cli to inspect Eth addresses and simulate calls 2022-12-16 12:54:50 -05:00
Aayush
7ea690d4be Merge branch 'master' into feat/nv18-fevm 2022-12-16 11:52:41 -05:00
Aayush Rajasekaran
503bdb5c34
Merge pull request #9831 from filecoin-project/asr/account-abstraction
Account abstraction
2022-12-16 11:02:04 -05:00
Geoff Stuart
1dee884358
Merge pull request #9890 from filecoin-project/id/fix-docker-sha-push
Don't include network when publishing mainnet sha image
2022-12-16 09:47:30 -05:00
Ian Davis
22ca06f6a1 Use short SHA for docker image tags 2022-12-15 16:51:03 -08:00
Geoff Stuart
425d8a7fcf
Merge pull request #9889 from filecoin-project/gstuart/skip-raft-test
chore: Skip TestGoRPCAuth until Raft is fixed
2022-12-15 19:17:37 -05:00
Geoff Stuart
dbb52ec5b4 Skip TestGoRPCAuth until Raft is fixed 2022-12-15 18:57:58 -05:00
Ian Davis
d2a2fbb858 Don't include network when publishing mainnet sha image 2022-12-15 15:54:08 -08: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
4aa24c2190 Account abstraction: Add test demonstrating workflow 2022-12-15 16:56:25 -05:00
Aayush Rajasekaran
d574eda147
Merge pull request #9886 from filecoin-project/asr/delegated-wallet
Support creation and signing of Eth keys
2022-12-15 16:56:10 -05:00
Aayush
f8f07dbc70 Support creation and signing of Eth keys 2022-12-15 16:47:06 -05:00