Skip to content
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

Hyperspace nv20 staging branch #10240

Merged
merged 201 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
4dee0ba
add a lotus-shed eth check-tipsets command.
raulk Jan 19, 2023
5541694
fix lint.
raulk Jan 19, 2023
85592ad
itests: verify eth filter api is disabled via config
iand Jan 19, 2023
a1efd20
itests: remove dead code from DeployContract
Stebalien Jan 20, 2023
57bf1c7
Eth JSON-RPC: support passing uint64 in JSON-RPC arguments for EthUint64
ychiaoli18 Jan 20, 2023
d9261b6
itests: validate responses from ethereum json-rpc api
iand Jan 23, 2023
7d1bd1d
Use gojsonschema
iand Jan 23, 2023
9fed750
Add further tests
iand Jan 23, 2023
7eca3e4
Start eth_sendRawTransaction test
iand Jan 23, 2023
c0c8ad5
Test more functions
iand Jan 24, 2023
8daf22c
Test and fix eth_FeeHistory
iand Jan 24, 2023
2a73e1c
Add test for eth_getStorageAt
iand Jan 24, 2023
7acdb49
Add test for eth_call
iand Jan 24, 2023
58cd226
Change EthBlock.Extradata type to EthBytes
iand Jan 24, 2023
a9cd769
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
iand Jan 26, 2023
7586710
Fix panic in EthGetCode
iand Jan 26, 2023
4500c02
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
iand Jan 26, 2023
e73dc3e
Merge branch 'release/v1.20.0' into iand/issue-9849-config
iand Jan 26, 2023
df0cf91
Use new kit.DisableEthRPC method in test
iand Jan 26, 2023
e8f3266
make gen
iand Jan 26, 2023
daf90ff
Fix lint errors
iand Jan 26, 2023
916b800
Skip some rpc conformance tests
iand Jan 26, 2023
17ef488
make gen
iand Jan 26, 2023
8f625e8
Changed skip message
iand Jan 26, 2023
98d6d4e
Remove stm: #integration comment
iand Jan 26, 2023
6efe08d
Fix comment
iand Jan 26, 2023
67805fd
Refactor to ensure conformance test can run in circleci
iand Jan 27, 2023
eacf3f1
go fmt
iand Jan 27, 2023
a9c1caa
Standardize path variable
Jan 27, 2023
e0326d9
Populate transaction hash database if the database has not been set u…
Jan 26, 2023
3adafea
merge
snissn Feb 1, 2023
c6bd9bc
tests that use create2 and destroy to validate evm state
snissn Feb 1, 2023
d29a244
Merge remote-tracking branch 'origin/release/v1.20.0' into iand/eth-o…
iand Feb 1, 2023
90fced7
Test: assert all fields returned from EthGetTransactionByHash have ex…
maciejwitowski Feb 1, 2023
245be40
Fix merge conflicts
iand Feb 1, 2023
87397ea
Allow f4 address to send to all address types if ID address exists on…
Feb 1, 2023
e200df4
Merge pull request #10060 from filecoin-project/raulk/eth-check-tipse…
geoff-vball Feb 1, 2023
12ca08d
Merge pull request #10081 from filecoin-project/steb/remove-dead-code
geoff-vball Feb 1, 2023
abf2140
review fixes
Feb 1, 2023
b8c4fba
Merge pull request #10062 from filecoin-project/iand/issue-9849-config
geoff-vball Feb 2, 2023
a6a2f0d
gateway: Support all EthModule methods
magik6k Feb 2, 2023
3d207de
node builder: Use gateway eth module in lite mode
magik6k Feb 2, 2023
75f4810
Merge pull request #10168 from filecoin-project/maciej/test
maciejwitowski Feb 2, 2023
fe1e097
feat: ethrpc: Support filtering by address in subscribe
magik6k Feb 2, 2023
8ce0b98
itests: Fix TestEthFilterAPIDisabledViaConfig
magik6k Feb 2, 2023
3e00901
Merge pull request #10177 from filecoin-project/fix/lite-node-ethrpc
geoff-vball Feb 2, 2023
0c33eab
Merge pull request #10180 from filecoin-project/feat/ethsub-addr
magik6k Feb 2, 2023
f05437d
Check decoding params for new methods
Feb 1, 2023
ffc1c33
Review fixes
Feb 2, 2023
b46258d
feat: evm: align events implementation with FIP-0049 and FIP-0054. (#…
raulk Feb 3, 2023
03b419e
feat: compute a better gas limit for recursive external contract calls
travisperson Jan 24, 2023
3d9c5e7
Merge pull request #10128 from filecoin-project/feat/eth-estimate-gas
arajasek Feb 5, 2023
6851b6a
Merge remote-tracking branch 'origin/release/v1.20.0' into fix/eth-or…
magik6k Feb 6, 2023
bca48dd
make gen
magik6k Feb 6, 2023
3e30e7a
Merge pull request #10102 from filecoin-project/iand/eth-openrpc-vali…
magik6k Feb 6, 2023
4248240
fix: ethtypes: Correct 'no uncles' hash in NewEthBlock
magik6k Feb 6, 2023
ad45720
LOTUS_FEVM_ENABLEETHRPC: Fix env variable name in error
nonsense Feb 3, 2023
725f22a
Merge pull request #10173 from filecoin-project/gstuart/check-params
arajasek Feb 6, 2023
5dc5684
fix: ethtypes: Correct 'no transactions' hash in NewEthBlock
magik6k Feb 6, 2023
0cf3a5e
fix: null rounds: pass correct timestamp to the FVM.
raulk Feb 6, 2023
6bf3a21
itest: fix FEVM tests for upstream changes
Stebalien Feb 6, 2023
a5043f4
Merge pull request #10190 from filecoin-project/fix/eth-block-unclehash
magik6k Feb 6, 2023
d16b290
itest: fix: test comment
Stebalien Feb 6, 2023
e0931f8
itest: fix remaining fevm failures
Stebalien Feb 6, 2023
91d0e41
Merge pull request #10193 from filecoin-project/steb/fix-fevm-tests
magik6k Feb 6, 2023
1ab5305
improve evm error handling in itests (#10161)
snissn Feb 6, 2023
f671a3c
merge
snissn Feb 6, 2023
2673ec3
use WithValue language for test
snissn Feb 6, 2023
fc2a6a8
Merge branch 'release/v1.20.0' into mikers/create2test2
snissn Feb 6, 2023
23eaee4
clean up test for recursive delegate call count. improved readability…
snissn Feb 6, 2023
ea82f55
add bundle git tag from pack.sh into builtin_actors_gen
snissn Feb 7, 2023
66d763e
remove bundle-gen from make gen - not actually useful today anyway
snissn Feb 8, 2023
4c6fb21
Merge pull request #10200 from filecoin-project/mikers/pack_add_git_tag
jennijuju Feb 8, 2023
89499bf
fvm: chore: update FVM
Stebalien Feb 7, 2023
3516c76
fix: ethrpc: Don't send sub notifs in array
magik6k Feb 8, 2023
c2e3832
Update eth_subscribe itests to work with correct responses
magik6k Feb 8, 2023
df2824c
test: build: ignore git tags in embedded metadata
arajasek Feb 8, 2023
42d667e
Merge pull request #10205 from filecoin-project/steb/update-fvm
arajasek Feb 8, 2023
2ee8c46
fix: build: use actual v9 bundles for butterfly
arajasek Feb 8, 2023
da2bb41
Merge pull request #10213 from filecoin-project/asr/fix-butterfly
magik6k Feb 8, 2023
9339267
fix: ethrpc: emit correct bloom filters (#10194)
magik6k Feb 8, 2023
8345877
skip problematic test vectors.
raulk Feb 9, 2023
8d6aa24
feat: actors: Add bytecode getter
magik6k Feb 9, 2023
554dd2f
itests: Test EVM bytecode getters, check bytecode hash
magik6k Feb 9, 2023
e321761
ethrpc: Add missing fields to EthTx
magik6k Feb 9, 2023
4d5f60c
Merge pull request #10221 from filecoin-project/feat/evm-actor-byteco…
arajasek Feb 9, 2023
030b40b
Merge pull request #10211 from filecoin-project/fix/ethsub-noarray
arajasek Feb 9, 2023
a32db5f
Merge pull request #10186 from filecoin-project/nonsense-patch-1
magik6k Feb 9, 2023
d84479b
Merge pull request #10162 from filecoin-project/mikers/deployValueTest2
magik6k Feb 9, 2023
83a7d6e
Merge pull request #10134 from filecoin-project/gstuart/shed-path-fix
magik6k Feb 9, 2023
c98093b
Merge remote-tracking branch 'origin/release/v1.20.0' into mikers/cre…
magik6k Feb 9, 2023
4f5fea8
Merge pull request #10163 from filecoin-project/mikers/create2test2
magik6k Feb 9, 2023
b0fa75f
feat: eth cli: Strip out empty spaces around contract bytes
magik6k Feb 9, 2023
ada3239
Merge pull request #10160 from filecoin-project/gstuart/send-from-f4
magik6k Feb 9, 2023
75f9b7d
Merge pull request #10119 from filecoin-project/gstuart/tx-hash-on-si…
magik6k Feb 9, 2023
1c13a59
Merge pull request #10223 from filecoin-project/feat/ethtx-fixes
jennijuju Feb 9, 2023
0f05232
Merge pull request #10224 from filecoin-project/feat/ethcli-strip-spaces
magik6k Feb 9, 2023
a83f120
fix: chain: make sure the head is empty, not the code
Stebalien Feb 9, 2023
038686b
Merge pull request #10225 from filecoin-project/steb/fix-actor-state-…
arajasek Feb 9, 2023
15f45d5
bump test vectors.
raulk Feb 9, 2023
6302771
remove test vectors bleeding edge job.
raulk Feb 9, 2023
d30ace0
Merge branch 'release/v1.20.0' into raulk/timestamp-null-rounds
raulk Feb 9, 2023
088d231
fix: Don't call WalletExport in msg signing flows
magik6k Feb 9, 2023
bc4ae8d
updates butterflynet reset artifacts
ognots Feb 8, 2023
37e9fe9
Merge pull request #10189 from filecoin-project/raulk/timestamp-null-…
magik6k Feb 10, 2023
54ed1f1
Merge pull request #10230 from filecoin-project/chore/nv18-butterflyn…
magik6k Feb 10, 2023
80fccba
fix: gas: update ffi & correct the message inclusion cost in nv18 (#1…
Stebalien Feb 10, 2023
e06e3a0
Merge branch 'release/v1.20.0' into fix/EthUint64-args
raulk Feb 10, 2023
1588dd3
Merge pull request #10227 from filecoin-project/fix/signing-noexport
magik6k Feb 10, 2023
f1381ad
refactor: use EthHash for event topics
Stebalien Feb 8, 2023
ece8f25
fix: eth: strict event parsing
Stebalien Feb 8, 2023
37044ed
Apply suggestions from code review
ychiaoli18 Feb 10, 2023
cc302dd
fix: eth: log on unexpected events
Stebalien Feb 10, 2023
b0d917d
fix: make gen
Stebalien Feb 10, 2023
3c58040
implement itest and handle optional params
ychiaoli18 Feb 10, 2023
5e56af3
fix typo
ychiaoli18 Feb 10, 2023
1996694
Merge pull request #10215 from filecoin-project/steb/txhash-topic
arajasek Feb 10, 2023
01e616f
fix: stmgr: make the tipset and height agree when estimating gas (#10…
Stebalien Feb 10, 2023
db749b8
Merge branch 'release/v1.20.0' into fix/EthUint64-args
ychiaoli18 Feb 10, 2023
778768d
eth_feeHistory: parse block param correctly.
raulk Feb 10, 2023
8cded9f
add todo
ychiaoli18 Feb 10, 2023
e167891
Update to FFI v1.20.0-rc1
arajasek Feb 10, 2023
c61267c
fix bad test.
raulk Feb 10, 2023
6a76bbb
improve TODO.
raulk Feb 10, 2023
2ec34e2
Update to go-state-types v0.10.0-rc2
arajasek Feb 10, 2023
83bce7c
disable adding git tags to bundle metadata
arajasek Feb 10, 2023
753a0e5
Update actors to v10.0.0-rc.1
arajasek Feb 10, 2023
5e12916
Merge pull request #10237 from filecoin-project/asr/update-everything
arajasek Feb 10, 2023
1ee9516
Merge pull request #9961 from filecoin-project/fix/EthUint64-args
magik6k Feb 11, 2023
37e1ac5
eth: FIP-0055: implement final version of transitory delegated signat…
raulk Feb 12, 2023
bd63953
Merge branch 'release/v1.20.0' into raulk/hyperspace-nv20-staging
raulk Feb 12, 2023
9f7e1be
fvm: upgrade ffi.
raulk Feb 10, 2023
2addc9f
actors: add actors v12 bundle.
raulk Feb 10, 2023
2302958
events: re-add a legacy event for backwards compatibility.
raulk Feb 10, 2023
e8cef64
events: adapt events when under nv20.
raulk Feb 10, 2023
493dabe
delegated signature: allow it to carry MethodSend before nv20.
raulk Feb 11, 2023
766eb76
go mod tidy and format.
raulk Feb 11, 2023
ed1a775
events: make everything use ChainGetEvents; adapt legacy events.
raulk Feb 11, 2023
065e70f
events: get the event translation right.
raulk Feb 11, 2023
988961f
tests: update test network version to 20.
raulk Feb 11, 2023
3b5a9b7
gen actors v12; keep migration unimplemented.
raulk Feb 11, 2023
fa9cb2a
fix test failure.
raulk Feb 11, 2023
1786a8a
fix missing actors v12 in ActorRegistry.
raulk Feb 11, 2023
feaf397
actors v12 migration + nv20 upgrade epochs.
raulk Feb 11, 2023
89d0c1c
nv20: migrate event index.
raulk Feb 11, 2023
9dfd605
fix imports.
raulk Feb 11, 2023
5aeab8a
event index: set the right version on creation.
raulk Feb 12, 2023
098cd8a
update v12 bundle.
raulk Feb 12, 2023
78c990d
add a migration test.
raulk Feb 12, 2023
02eb26e
fix signature backwards compatibility.
raulk Feb 12, 2023
449b933
do not register older actor versions.
raulk Feb 12, 2023
96a7da5
fix: update ffi to pass chain id.
raulk Feb 12, 2023
021750a
fix: legacy event.
raulk Feb 12, 2023
e8fd766
upgrade to go-state-types@237a27b.
raulk Feb 12, 2023
f189abf
make gen.
raulk Feb 12, 2023
4118064
add migration heights to butterfly params.
raulk Feb 12, 2023
dea9d6c
pack correct actors.
raulk Feb 12, 2023
dace094
fix lint.
raulk Feb 12, 2023
47198e1
readd old actor registries for tests.
raulk Feb 12, 2023
9a17958
add nv20 upgrade heights for the sake of tests.
raulk Feb 12, 2023
d8c393a
fix imports.
raulk Feb 12, 2023
4418a62
allow legacy events to have larger payloads than 64 bytes.
raulk Feb 12, 2023
a085eb1
fix: eth: correctly return empty bytecode after selfdestruct
Stebalien Feb 10, 2023
b765112
fix: correctly handle ethGetCode edge-cases
Stebalien Feb 13, 2023
948a963
update ipld prime
jennijuju Feb 13, 2023
98482a2
Merge pull request #10250 from filecoin-project/jen/ipldcp
magik6k Feb 13, 2023
a652ffc
make gen
magik6k Feb 13, 2023
7b959ab
Merge pull request #10246 from filecoin-project/steb/fix-eth-get-code…
magik6k Feb 13, 2023
3177f63
add test for transparent delegate proxy from openzeppelin
snissn Feb 8, 2023
03fd703
Merge pull request #10218 from filecoin-project/mikers/itestsProxy
magik6k Feb 13, 2023
042d356
hyperspace nv20 upgrade epoch 87480 (2023-02-15T15:00:00Z).
raulk Feb 13, 2023
dec4e8b
update actors v12 to builtin-actors#hyperspace/v10.0.0-rc.1.
raulk Feb 13, 2023
6c67c85
go get github.com/filecoin-project/go-state-types@56e2d34
raulk Feb 13, 2023
ca1b3e9
go get github.com/filecoin-project/go-state-types@59a688c56a0a2296170…
raulk Feb 13, 2023
77fbc60
fix: stmgr: copy the message before modifying it
Stebalien Feb 13, 2023
f427c2b
fix: eth: correctly convert filecoin message <-> eth txn (#10257)
Stebalien Feb 13, 2023
354fa28
Merge branch 'release/v1.20.0' into raulk/hyperspace-nv20-migration
Stebalien Feb 13, 2023
2bbd1fb
fix: stmgr: check message validity before invoking vm
Stebalien Feb 13, 2023
c49d98a
fix: ethaccount: reject empty initcode prior to h-nv20
Stebalien Feb 13, 2023
49aae69
override flags when adapting events.
raulk Feb 13, 2023
11eace5
remove stale comments.
raulk Feb 13, 2023
0c2e64b
simplify DecodeEvents.
raulk Feb 13, 2023
a16c540
fix: eth: rename yParity to v in transaction return values (#10264)
Stebalien Feb 13, 2023
0d92c74
Eth JSON-RPC: populate reward in eth_feeHistory (#10245)
ychiaoli18 Feb 14, 2023
1e8746c
Merge branch 'release/v1.20.0' into raulk/hyperspace-nv20-migration
raulk Feb 14, 2023
93ece33
update ffi@fead3c628794a332ebc2ef0a153885bfab87a901.
raulk Feb 14, 2023
32e9201
update v12 actor bundle to hyperspace/v10.0.0-rc.2.
raulk Feb 14, 2023
9f2f915
itest for block.difficulty (#10263)
snissn Feb 14, 2023
3c4a839
Merge pull request #10259 from filecoin-project/steb/call-check-messa…
arajasek Feb 14, 2023
2ed92c2
chore: ffi: update the FFI
Stebalien Feb 14, 2023
abeb4fa
fix: itest: EthFeeHistory flake (#10265)
Stebalien Feb 14, 2023
b1e1d2d
Merge pull request #10266 from filecoin-project/steb/update-ffi
jennijuju Feb 14, 2023
a46e57e
Merge branch 'release/v1.20.0' into raulk/hyperspace-nv20-migration
raulk Feb 14, 2023
d3a2a40
fix: make eth_sendRawTransaction emit correct pre-nv20 messages.
raulk Feb 14, 2023
11ac325
Revert "fix: stmgr: check message validity before invoking vm" (#10270)
raulk Feb 14, 2023
be452b4
Merge branch 'release/v1.20.0' into raulk/hyperspace-nv20-migration
raulk Feb 14, 2023
86b4aee
Merge pull request #10258 from filecoin-project/steb/fix-msg-modify
jennijuju Feb 14, 2023
7150243
feat: ethrpc: Support newPendingTransactions in eth_subscribe (#10269)
magik6k Feb 14, 2023
b8d64a1
params 2k: give more time between nv19 and nv20 for transition tests.
raulk Feb 14, 2023
fe85674
Merge branch 'release/v1.20.0' into raulk/hyperspace-nv20-migration
raulk Feb 14, 2023
b115c18
Merge pull request #10243 from filecoin-project/raulk/hyperspace-nv20…
raulk Feb 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 30 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,11 @@ workflows:
suite: itest-deals
target: "./itests/deals_test.go"

- test:
name: test-itest-decode_params
suite: itest-decode_params
target: "./itests/decode_params_test.go"

- test:
name: test-itest-dup_mpool_messages
suite: itest-dup_mpool_messages
Expand All @@ -623,11 +628,31 @@ workflows:
suite: itest-eth_block_hash
target: "./itests/eth_block_hash_test.go"

- test:
name: test-itest-eth_bytecode
suite: itest-eth_bytecode
target: "./itests/eth_bytecode_test.go"

- test:
name: test-itest-eth_config
suite: itest-eth_config
target: "./itests/eth_config_test.go"

- test:
name: test-itest-eth_conformance
suite: itest-eth_conformance
target: "./itests/eth_conformance_test.go"

- test:
name: test-itest-eth_deploy
suite: itest-eth_deploy
target: "./itests/eth_deploy_test.go"

- test:
name: test-itest-eth_fee_history
suite: itest-eth_fee_history
target: "./itests/eth_fee_history_test.go"

- test:
name: test-itest-eth_filter
suite: itest-eth_filter
Expand Down Expand Up @@ -703,6 +728,11 @@ workflows:
suite: itest-migration_nv19
target: "./itests/migration_nv19_test.go"

- test:
name: test-itest-migration_nv20
suite: itest-migration_nv20
target: "./itests/migration_nv20_test.go"

- test:
name: test-itest-mpool_msg_uuid
suite: itest-mpool_msg_uuid
Expand Down Expand Up @@ -902,11 +932,6 @@ workflows:
- test-conformance:
suite: conformance
target: "./conformance"
- test-conformance:
name: test-conformance-bleeding-edge
suite: conformance-bleeding-edge
target: "./conformance"
vectors-branch: specs-actors-v7

release:
jobs:
Expand Down
5 changes: 0 additions & 5 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,6 @@ workflows:
- test-conformance:
suite: conformance
target: "./conformance"
- test-conformance:
name: test-conformance-bleeding-edge
suite: conformance-bleeding-edge
target: "./conformance"
vectors-branch: specs-actors-v7

release:
jobs:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ actors-gen: actors-code-gen fiximports
.PHONY: actors-gen

bundle-gen:
$(GOCC) run ./gen/bundle
$(GOCC) run ./gen/bundle $(RELEASE)
$(GOCC) fmt ./build/...
.PHONY: bundle-gen

Expand Down Expand Up @@ -357,7 +357,7 @@ docsgen-openrpc-gateway: docsgen-openrpc-bin
fiximports:
./scripts/fiximports

gen: actors-code-gen type-gen cfgdoc-gen docsgen api-gen circleci bundle-gen fiximports
gen: actors-code-gen type-gen cfgdoc-gen docsgen api-gen circleci fiximports
@echo ">>> IF YOU'VE MODIFIED THE CLI OR CONFIG, REMEMBER TO ALSO MAKE docsgen-cli"
.PHONY: gen

Expand Down
20 changes: 10 additions & 10 deletions api/api_full.go
Original file line number Diff line number Diff line change
Expand Up @@ -786,15 +786,15 @@ type FullNode interface {
EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) //perm:read
EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum ethtypes.EthUint64, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) //perm:read

EthGetCode(ctx context.Context, address ethtypes.EthAddress, blkOpt string) (ethtypes.EthBytes, error) //perm:read
EthGetStorageAt(ctx context.Context, address ethtypes.EthAddress, position ethtypes.EthBytes, blkParam string) (ethtypes.EthBytes, error) //perm:read
EthGetBalance(ctx context.Context, address ethtypes.EthAddress, blkParam string) (ethtypes.EthBigInt, error) //perm:read
EthChainId(ctx context.Context) (ethtypes.EthUint64, error) //perm:read
NetVersion(ctx context.Context) (string, error) //perm:read
NetListening(ctx context.Context) (bool, error) //perm:read
EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error) //perm:read
EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error) //perm:read
EthFeeHistory(ctx context.Context, blkCount ethtypes.EthUint64, newestBlk string, rewardPercentiles []float64) (ethtypes.EthFeeHistory, error) //perm:read
EthGetCode(ctx context.Context, address ethtypes.EthAddress, blkOpt string) (ethtypes.EthBytes, error) //perm:read
EthGetStorageAt(ctx context.Context, address ethtypes.EthAddress, position ethtypes.EthBytes, blkParam string) (ethtypes.EthBytes, error) //perm:read
EthGetBalance(ctx context.Context, address ethtypes.EthAddress, blkParam string) (ethtypes.EthBigInt, error) //perm:read
EthChainId(ctx context.Context) (ethtypes.EthUint64, error) //perm:read
NetVersion(ctx context.Context) (string, error) //perm:read
NetListening(ctx context.Context) (bool, error) //perm:read
EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error) //perm:read
EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error) //perm:read
EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) //perm:read

EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error) //perm:read
EthEstimateGas(ctx context.Context, tx ethtypes.EthCall) (ethtypes.EthUint64, error) //perm:read
Expand Down Expand Up @@ -853,7 +853,7 @@ type FullNode interface {
// reverse interface to the client, called after EthSubscribe
type EthSubscriber interface {
// note: the parameter is ethtypes.EthSubscriptionResponse serialized as json object
EthSubscription(ctx context.Context, r jsonrpc.RawParams) error //rpc_method:eth_subscription notify:true
EthSubscription(ctx context.Context, r jsonrpc.RawParams) error // rpc_method:eth_subscription notify:true
}

type StorageAsk struct {
Expand Down
5 changes: 4 additions & 1 deletion api/api_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ type Gateway interface {
EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error)
EthGetBlockByNumber(ctx context.Context, blkNum string, fullTxInfo bool) (ethtypes.EthBlock, error)
EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error)
EthGetTransactionHashByCid(ctx context.Context, cid cid.Cid) (*ethtypes.EthHash, error)
EthGetMessageCidByTransactionHash(ctx context.Context, txHash *ethtypes.EthHash) (*cid.Cid, error)
EthGetTransactionCount(ctx context.Context, sender ethtypes.EthAddress, blkOpt string) (ethtypes.EthUint64, error)
EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*EthTxReceipt, error)
EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error)
Expand All @@ -91,7 +93,7 @@ type Gateway interface {
NetListening(ctx context.Context) (bool, error)
EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error)
EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error)
EthFeeHistory(ctx context.Context, blkCount ethtypes.EthUint64, newestBlk string, rewardPercentiles []float64) (ethtypes.EthFeeHistory, error)
EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error)
EthEstimateGas(ctx context.Context, tx ethtypes.EthCall) (ethtypes.EthUint64, error)
EthCall(ctx context.Context, tx ethtypes.EthCall, blkParam string) (ethtypes.EthBytes, error)
Expand All @@ -105,4 +107,5 @@ type Gateway interface {
EthUninstallFilter(ctx context.Context, id ethtypes.EthFilterID) (bool, error)
EthSubscribe(ctx context.Context, params jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
EthUnsubscribe(ctx context.Context, id ethtypes.EthSubscriptionID) (bool, error)
Web3ClientVersion(ctx context.Context) (string, error)
}
8 changes: 4 additions & 4 deletions api/mocks/mock_full.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 47 additions & 8 deletions api/proxy_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/actors/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ popd

echo "Generating metadata..."

make -C ../../ bundle-gen
make -C ../../ RELEASE="$RELEASE" bundle-gen
Binary file added build/actors/v12.tar.zst
Binary file not shown.
4 changes: 2 additions & 2 deletions build/bootstrap/butterflynet.pi
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/dns4/bootstrap-0.butterfly.fildev.network/tcp/1347/p2p/12D3KooWKeDMuJbouvypr1nL2qRruhNVXzv4QiLsZRh6gnvLkc7p
/dns4/bootstrap-1.butterfly.fildev.network/tcp/1347/p2p/12D3KooWSsACNHLGoJbPqeitNY7tom19Nxq8x5ag36eTwmgcAeLo
/dns4/bootstrap-0.butterfly.fildev.network/tcp/1347/p2p/12D3KooWHkVVMJ1rfVLM5poNrgwTJiaDkpDLkPqQ9zVuNPQ7AJ6p
/dns4/bootstrap-1.butterfly.fildev.network/tcp/1347/p2p/12D3KooWRyzqeQd51HCvVK3nvegmnBsYYPLSZbxR3Q9XAoUrUZ18
9 changes: 5 additions & 4 deletions build/builtin_actors.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@ func loadManifests(netw string) error {
}

type BuiltinActorsMetadata struct {
Network string
Version actorstypes.Version
ManifestCid cid.Cid
Actors map[string]cid.Cid
Network string
Version actorstypes.Version
ManifestCid cid.Cid
Actors map[string]cid.Cid
BundleGitTag string
}

// ReadEmbeddedBuiltinActorsMetadata reads the metadata from the embedded built-in actor bundles.
Expand Down
Loading