-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NV18: FEVM implementation #9617
Closed
Closed
Changes from 61 commits
Commits
Show all changes
288 commits
Select commit
Hold shift + click to select a range
78dd7a2
fix gas estimation.
raulk dc5fc9d
fix eth_feeHistory.
raulk 6337d59
fix: evm: use CREATE not CREATE2 for EVM contract deployment (#9553)
Stebalien ea54499
fix: allow deploying from f1/f3 accounts (#9554)
Stebalien b3b9da5
fix: avoid returning an error when getting embryo state (#9550)
Stebalien 49da019
fix: allow EthCall.From to be nil (#9556)
Stebalien 0bd5f1d
Eth JSON-RPC: eth_estimateGas: fix gas estimation by actually making …
raulk 672744a
upgrade go-jsonrpc to v0.1.9.
raulk 53c7d9c
fix:add UnmarshalJSON for EthNonce (#9589)
imxyb 2e5de47
api: ethrpc: fix a potential panic when querying block info (#9593)
ychiaoli18 64798d0
go mod tidy
vyzo 2b23372
fixup merge artifacts
vyzo deea679
make gen
vyzo 448eca5
make docsgen-cli
vyzo 6d7a33f
api: ethrpc: fix unit test
vyzo 3008394
fix genesis SetupEAM
vyzo a2d6c8f
improve migration TODO comment
vyzo 2588b45
fix gst builtin module refs
vyzo 6e72910
fix account address resolution
vyzo 6e149d5
lint
vyzo 5949307
fix gateway instantation for the eth api
vyzo 0ee9f9d
lint
vyzo c9c53c9
fix MinTimestap for null rounds
vyzo 85df74f
Add EventsRoot field to message receipt
iand f660b8c
actor event ffi
iand 4eb94b5
make gen
iand 69210d0
Ethereum compatible actor event API
iand 7383ecb
make gen
iand a9cfaa9
upgrade go-jsonrpc to v0.1.9.
raulk 18f2a14
eth api: fix warts
vyzo 54f311d
eth rlp: fix warts
vyzo 30f4ad5
wallaby: start at nv18
vyzo 9123628
revert newline mangling
vyzo f438b1c
store: fix error handling around tipset key blocks
vyzo 0bde9e5
client: check address protocol, add TODO
vyzo f38b630
sigs: revert cosmetic change
vyzo 4c76f65
eth api: remove bad todo link
vyzo 245e570
embryo: simplify code
vyzo 5a5936c
add comment about migration needing to create ETH address 0
vyzo 1d8ebe9
fix error message when actor doesn't have predictable address
vyzo 7664e06
fix tx check and test
vyzo 9e6b343
make MessageReceipt#EventsRoot a pointer.
raulk 17ea9f5
cbor gen.
raulk 9c5d888
docs gen; also fixes lack of *cid.Cid examples elsewhere.
raulk 4e7b8d5
Merge pull request #9624 from iand/feat/nv18-rcptevent
raulk fa1cbe6
update filecoin-ffi to 2e788b5.
raulk 8a7367f
api: ethrpc: add missing fields (#9631)
ychiaoli18 91952f8
Fix eth types comments
iand a915c70
Merge branch 'feat/nv18-events' into feat/nv18-ethevents
raulk efdbea5
fix Receipt#EventsRoot is now *cid.Cid.
raulk 4eccf30
Merge pull request #9623 from iand/feat/nv18-ethevents
raulk ae7847d
make gen.
raulk af39ec2
NV18: FEVM: Basic smoke test (#9635)
vyzo c75d0c4
feat: events: version the MessageReceipt structure. (#9636)
raulk 6f51ec2
update builtin-actors v10 bundle to http://filecoin-project/builtin-a…
raulk 5249a35
update ffi to filecoin-project/filecoin-ffi#332.
raulk 476a933
fix Event schema + cbor-gen.
raulk 7cc2c5c
fix types in Eth API.
raulk f434133
cli: evm/invoke-evm-actor: print events.
raulk 846aea5
Merge branch 'feat/nv18-fevm' into feat/nv18-events
raulk 40b8e95
fix {=>New}EthHashFromCid.
raulk 30050a6
make gen.
raulk 273ac51
Ethereum actor events API fixes (#9639)
iand 28ec43c
Merge branch 'feat/nv18-events' into raulk/events-integrate-fvm
raulk 43e2a2b
fix merge error.
raulk f22762d
create EVM utilities in itest framework.
raulk 7e75954
create EVM utilities in itest framework. (#9645)
raulk 4313917
Merge branch 'feat/nv18-fevm' into raulk/events-integrate-fvm
raulk 907c201
add a FEVM events itest.
raulk 0e8dd9e
Add historic event indexing
iand 0d9c474
Implement EthGetLogs
iand 32839f6
Initialise event index in di
iand bf1fcf8
Check actor event database schema version
iand e2ddc97
Fix lint error
iand 73655ed
Fix for event entry key type is now a string
iand 48ea469
go mod tidy
iand c31662d
make gen
iand ade75af
Update filecoin-ffi to https://github.com/filecoin-project/filecoin-f…
iand 1035711
Add basic itests for ethereum filter api
iand 7ef9973
make gen
iand 98210ec
Add lint directive
iand bcdfc17
Fix TestEthNewFilterCatchAll
iand 2735e81
feat: events: integrate with FVM changes (#9644)
raulk 28b80a2
Merge branch 'feat/nv18-fevm' into feat/nv18-events
raulk 2e577e3
update filecoin-ffi and actors v10 bundle.
raulk 2803552
Merge branch 'feat/nv18-events' into feat/nv18-events-historic
raulk 0376b7b
More assertions in TestEthNewFilterCatchAll
iand b5f95b7
Fix invalid address flake in TestEthNewFilterCatchAll
iand d5177a3
Add TestEthGetLogsAll itest
iand 41bf2a0
Load actor to resolve address
iand 8134d2f
Parse block heights as hex
iand 314fb31
Fix signature of EthSubscribe
iand 5a1f8d8
Return eth blocks not tipsets in subscriptions
iand 7c2dcc8
Eth JSON-RPC API: add aliases for new methods.
raulk 32385a9
Eth JSON-RPC API: return logs in eth_getTransactionReceipt.
raulk 1ab39a4
simplify by moving receipt constructor logic to API.
raulk cd180f1
Merge pull request #9646 from iand/feat/nv18-events-historic
raulk 5b4ec7d
feat: add test and fixes for EthSubscribe (#9659)
iand a536f53
Eth JSON-RPC API: make EthLog#Data a string.
raulk d441425
eth_getTransactionReceipt: return type & non-zero bloom if logs, rm r…
raulk b904517
upgrade ffi.
raulk 23007b0
fix: do not hash log values; decode as cbor byte arrays.
raulk 7a71ce4
fix: left pad log values to full EVM words.
raulk 2ff679c
fix test compilation.
raulk f809dbd
fix test compilation.
raulk e63d5e1
make gen.
raulk ce91e42
nolint.
raulk 5386bc2
NV18: FEVM: setup FEVM during genesis: create ETH0 actor (#9664)
vyzo 9c500e1
fix: wallaby parameters file (#9675)
Stebalien ec667d4
fix: Eth JSON-RPC API: empty EthBytes serializes to '0x'.
raulk c474aee
fix: Eth JSON-RPC API: return empty bloom on every block.
raulk b8901ff
fix: Eth JSON-RPC API: return empty logs array in receipt when no logs.
raulk 03a7caf
fix: Eth JSON-RPC API: receipt: logs bloom should be sized 256 bytes.
raulk e56d4b0
fix: typos in eth based struct (#9656)
hairtail 56d60fb
fix git conflict.
raulk 1762752
Merge branch 'feat/nv18' into feat/nv18-fevm
Stebalien f1493fb
eth: rpc: fix sendRawTransaction, transactionIndex, feeHistory (#9736)
ychiaoli18 6443e72
Merge branch 'master' into feat/nv18-fevm
arajasek 159528e
Merge pull request #9755 from filecoin-project/asr/master-into-nv18-fevm
arajasek f681a35
upgrade go-jsonrpc to v0.1.9.
raulk 56259c4
Use EthHash compatible type for subscription and filter IDs
iand 9d26ba5
make gen
iand 067f08f
Fix marshal test
iand 1afc32f
Move FilterID to types package
iand 05f983d
Mop up some missed package changes
iand cfceafb
Merge pull request #9808 from filecoin-project/issue/ref-fvm-1189
arajasek 8504401
Merge branch 'master' into feat/nv18-fevm
Stebalien 266492f
Merge branch 'feat/nv18-fevm' into feat/nv18-events
Stebalien 129531b
Update chain.go
jennijuju 3a6d37c
make jen
jennijuju 3bb12f4
fmt
jennijuju 0026ad8
Merge pull request #9813 from filecoin-project/jennijuju-patch-4
jennijuju 485d161
Use correct field for upper epoch range in EthGetLogs
iand 616790b
Merge pull request #9815 from filecoin-project/issue/ref-fvm-1206
arajasek f4cc554
Fix getting event logs by topic
iand 6da93cf
Merge pull request #9819 from filecoin-project/issue/ref-fvm-1207
arajasek 855c35c
Move eth functions out of api
geoff-vball 96bb03e
Move EthTxReceipt to api
geoff-vball 442132b
Move eth types to chain/types/ethtypes
geoff-vball 3497b53
Fix lint
geoff-vball 0c305ed
Merge pull request #9872 from filecoin-project/gstuart/dont-depend-on…
arajasek 720451c
Merge branch 'master' into feat/nv18-fevm
arajasek 596307b
Merge branch 'master' into feat/nv18-fevm
arajasek 518e666
FVM: Set chain ID when creating machine
arajasek 69ac840
Update the v10 actors testing bundle
arajasek 36b9fe6
Merge pull request #9838 from filecoin-project/asr/chain-id
arajasek f8f07db
Support creation and signing of Eth keys
arajasek d574eda
Merge pull request #9886 from filecoin-project/asr/delegated-wallet
arajasek 4aa24c2
Account abstraction: Add test demonstrating workflow
arajasek 830c3e4
Eth: Propogate errors
arajasek 160bcd6
Messagepool: check sender is valid for sending
arajasek 54cb97a
Expand EthAccount abstraction test
arajasek 503bdb5
Merge pull request #9831 from filecoin-project/asr/account-abstraction
arajasek 7ea690d
Merge branch 'master' into feat/nv18-fevm
arajasek d71f5a7
Add cli to inspect Eth addresses and simulate calls
4b2ff01
make gen and lint
cbc61a2
small correction on cli usage
bc7c190
Move all eth stuff into ethtypes
geoff-vball c9f1b18
Merge pull request #9900 from filecoin-project/gstuart/eth-refactor-f…
arajasek 92f3a7b
Merge branch 'feat/nv18-fevm' into feat/nv18-events
geoff-vball 4ae498a
Fixes
geoff-vball 5f4ccfd
Merge pull request #9901 from filecoin-project/gstuart/merge-fevm-int…
geoff-vball 669c76e
Update FFI and actors (dev/20221218-fvm-m2)
arajasek 20f27af
eth: rpc: various Ethereum JSON-RPC API fixes (#9837)
ychiaoli18 c2629b0
Use StateGetActor instead of StateAccountKey
f14eda4
address comments
a452ab7
Merge pull request #9907 from filecoin-project/asr/update-ffi-actors-…
arajasek 8baa482
Address more comments
c96608c
make gen and docsgen
d916253
small nit
3d3bce6
Merge pull request #9897 from filecoin-project/sbansal/eth-state-cli
shrenujbansal 1f3c23d
Update to FVM 3.0.0-alpha.17, actors dev/20221219-fvm-m2
arajasek d55100b
Merge pull request #9915 from filecoin-project/asr/update-fvm
arajasek de62a7d
Test: EthAccount abstraction: Nonce is updated correctly
arajasek 28e6169
Merge pull request #9911 from filecoin-project/asr/ethaccount-test
arajasek d9c13f1
fix: signature validation cache for messages with Delegated signature…
raulk 5ff6654
feat: consensus: only embryos with nonce 0 are valid senders
arajasek 2bdae2f
test: Add f4 address integration test and cli to generate eth address…
shrenujbansal 7073b33
Merge pull request #9929 from filecoin-project/asr/ethaccount-refinem…
arajasek e7aa7cb
add a basic FEVM integration test. (#9922)
raulk bb5cb19
fix: Eth JSON-RPC API: eth_getTransactionByHash should return nil whe…
raulk 6faa901
Merge pull request #9932 from filecoin-project/raulk/eth-jsonrpc-api-…
arajasek 9d3e50f
feat: implement and test the v18 migration
arajasek 336a0e5
Merge pull request #9931 from filecoin-project/asr/migration
arajasek 7ed79fe
fix: eth_getTransactionByHash: return hash.
raulk 4411fd7
eth_getTransactionByHash: return nil in some fields when tx is in mpool.
raulk 60c9832
fix nonce
ychiaoli18 08382c6
regen docs.
raulk b8b3b5d
fix: Eth JSON-RPC API: eth_getTransactionReceipt logs-related fixes.
raulk 8a92e8e
add test coverage.
raulk 9505ac8
add docs.
raulk c7efaaa
refine docs.
raulk a18b358
upgrade to builtin-actors aed216d4deefbf9cdc39770e6869360bb6d30144
raulk f44bd27
fix: eth_blockNumber: make it aware of null rounds.
raulk f60f02c
fix: store tipsetkeys in the blockstore
arajasek a469840
merge ntwk/wallaby into feat/nv18-fevm.
raulk a22518d
remove unused var.
raulk 5c8a02f
back out bundle and network changes.
raulk f532825
Merge pull request #9937 from filecoin-project/raulk/merge-wallaby
raulk 7c916c1
Merge pull request #9904 from filecoin-project/asr/put-tsk
arajasek a5851a1
Merge branch 'master' into feat/nv18-fevm
arajasek a4d93d7
feat: docgen: use real values for Eth types (#9938)
arajasek f8e215c
itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber
ychiaoli18 7029364
check non-existent block hash
ychiaoli18 460c91b
Remove accidental changes to sectors.go
c7ec974
Add new FEVM actors to the registry
ccd08c2
Merge pull request #9959 from filecoin-project/gstuart/sectors-fix
geoff-vball 06393da
feat:splitstore:retain tipset references in hot store (#9960)
ZenGround0 77b235d
Merge pull request #9958 from filecoin-project/asr/fevm-registry
arajasek 402173e
Merge pull request #9955 from filecoin-project/itest/eth-block
ychiaoli18 f05d3d8
add hyperspacenet
jennijuju 370c8ad
add bundle from https://github.com/filecoin-project/builtin-actors/re…
jennijuju 72c04ca
get hyperspace cids
jennijuju cb49edf
update embryo to placehodler
jennijuju 38c3ab2
Update to FVM 3.0.0-alpha.18
arajasek 06584bb
Fixup multisig_test
arajasek 1046b30
Update to go-state-types v0.10.0-alpha-9
arajasek 95501b7
Merge pull request #9978 from filecoin-project/jen/hyper
arajasek 3456d90
itests: Add tests for eth get balance and transaction submits (#9966)
shrenujbansal c73a0b5
fix: fevm: don't hard-code method numbers
Stebalien ac38c97
add a network version gate to IsValidForSending.
raulk a8c33de
consolidate signature validation logic.
raulk 6b8d4b4
consolidate signature validation logic.
raulk 8f4c426
cleanup.
raulk a718162
adjust IsValidSecpkSigType and usages.
raulk 8ef1733
{predictable=>delegated} addresses.
raulk e60199a
add link to TODO issue.
raulk 4aafd42
strengthen assertions in TestEthNewPendingTransactionFilter.
raulk 73d6c7b
move EthAddressFromPubKey to chain/types/ethtypes.
raulk 6c0ddd4
fix typos.
raulk 1e0c780
constant for Event AMT bitwidth.
raulk d520dbb
update genesis logic to create Eth Null Addresses as EthAccounts.
raulk 93b3da9
{Delegated=>Deterministic} Address.
raulk 5932555
go fmt + lint.
raulk 8512bbc
drop f099 eth_call hack.
raulk 1bfbe44
cli: fix Eth-related CLI (+).
raulk 3320754
remove fmt.Println.
raulk e78dbd2
gen.
raulk 892819a
fix test.
raulk 06b40bc
fix comment.
raulk 08ae139
address review comments.
raulk 1c7db7c
clear up error message.
raulk 008d04f
use existing variable for empty object CID.
raulk c61edd1
make gen.
raulk 105a125
Eth JSON-RPC: use ToFilecoinAddress() to get f4 addr and validate v s…
ychiaoli18 3ef3239
clean up ethtypes: rationalize ethtypes.EthAddressFromFilecoinAddress…
raulk 014d954
address review comments from @magik6k on #9617 (#9997)
raulk 2c83992
fix tests.
raulk eb36b18
change ResolveToKeyAddr => ResolveToDeterministicAddr + friends.
raulk 6845fbf
track remaining TODOs as TODO::FVM.
raulk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not merge wallaby to master , see here for reason https://filecoinproject.slack.com/archives/CP50PPW2X/p1668792668315419
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed in Slack, we're gonna merge this for now (and drop as soon as wallaby is no more).