-
Notifications
You must be signed in to change notification settings - Fork 153
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
EVMC v10 #507
Draft
meowsbits
wants to merge
279
commits into
master
Choose a base branch
from
evmc-v10
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
EVMC v10 #507
Changes from 1 commit
Commits
Show all changes
279 commits
Select commit
Hold shift + click to select a range
6c73276
core,console: replace noarg fmt.Errorf with errors.New (#27332)
jsvisa 9358b62
accounts: replace noarg fmt.Errorf with errors.New (#27331)
jsvisa db9a178
eth/filters: retrieve logs in async (#27135)
jsvisa 1816cdc
internal/ethapi: don't return header size from rpc (#27347)
jsvisa 1316621
eth: split api.go into namespace based files (#27263)
jsvisa c57b343
internal/ethapi: add more testcases for block/header rpc (#27325)
jsvisa 1888174
core/types: remove superfluous todo-comment (#27383)
gballet d789c68
eth: make debug_StorageRangeAt take a block hash or number (#27328)
jwasinger 560dceb
les, eth: fix typo in comment (#27369)
ucwong 8013a49
event: move type fixation logic into Feed.init (#27249)
dbadoy 61dcf76
internal/ethapi: prevent unnecessary resource usage in eth_getProof i…
prestwich d496188
miner: suspend miner if node is syncing (#27218)
rjl493456442 cc2ab42
go.mod: golang.org/x upgrade (#27299)
ucwong 1f9b69b
consensus, core, eth/downloader, params: 4844 chain validation (#27382)
karalabe 495692c
core, eth/downloader, params: validate blob tx bodies (#27392)
karalabe 008086f
core, eth/downloader: validate blobtx.To at serialization time (#27393)
karalabe ac86547
p2p/discover: add Table configuration and Nodes method (#27387)
fjl 45a3ab4
core/state: move slot RLP encoding into the MPT implementation (#27000)
gballet 2372fb2
internal/web3ext: fix parameter count of miner_start (#27400)
lochjin 15bd21f
core/state: mark account as dirty when resetObject occurs (#27339)
rjl493456442 c7c84ca
all: remove the Rinkeby testnet (#27406)
karalabe a7b2106
eth/downloader: drop beacon head updates if the syncer is restarting …
karalabe 78f7a6b
graphql: simplify tx resolve (#27285)
joohhnnn 380fb4e
core/state: clear out cached state data when reset occurs (#27376)
rjl493456442 c537ace
core: 4844 opcode and precompile (#27356)
MariusVanDerWijden 0e5d2c7
core/state/snapshot, core/types, eth: move account definition to type…
rjl493456442 8eb0c2d
cmd/evm: make evm blocktest output logs if so instructed (#27396)
holiman b8ee287
core/txpool: fix minor flaw in isGapped check (#27404)
dkatzan 4cf708d
les: remove unused var `AdvertiseProtocolVersions` (#27405)
palango 950d564
core/txpool: make transaction validation reusable across packages (po…
karalabe 0783cb7
eth,core: add api debug_getTrieFlushInterval (#27303)
jsvisa fbe432f
graphql: implement withdrawals (EIP-4895) (#27072)
s1na 99eb0b5
rlp: use identical receiver names for encBuffer methods (#27430)
stephenfire 5c51ef8
accounts/keystore: handle error for invalid key in DecryptKey (#27432)
ThreeAndTwo 281e8cd
eth/filters: reuse handleLogs method for removed logs (#27438)
jsvisa 174d267
miner: log number of withdrawals in block upon payload update (#27457)
jwasinger 5ac4da3
internal/ethapi: remove error return on RPCMarshalBlock (#27449)
hero5512 f3314bb
rpc: add limit for batch request items and response size (#26681)
mmsqe 8bbaf88
core/types: add "chainID" field to legacy tx JSON encoding (#27452)
freeman-jiang 6f08c2f
rpc: add method to test for subscription support (#25942)
zhiqiangxu acc2a2a
node: remove unused error return from Attach (#27450)
pengin7384 7823ff6
eth/tracers: refactor exporting js buffer (#27472)
s1na 93ecd77
core: remove unnecessary log copy (#27475)
aaronbuchwald 9cf9fae
core/types: add support for BlobTxType receipts (#27470)
holiman 604da5c
cmd/evm: fix typos in docs (#27478)
cuishuang c375936
rlp: fix typos (#27484)
joohhnnn d40a255
all: move main transaction pool into a subpool (#27463)
karalabe 36ca59f
build: use slices package for sorting (#27486)
46ec972
core/txpool/legacypool: reheap the tx list if london fork not enabled…
lochjin 289c6c3
p2p: use slices package for sorting (#27494)
5d75123
ethdb/dbtest: use slices package for sorting (#27491)
168d0cc
internal/jsre/deps: fix typos in web3.js (#27500)
joohhnnn a71b9b9
core/txpool/legacypool: remove redundant check for floatingRatio == 0…
hero5512 e4660a1
core/txpool/legacypool: handle missing head in reset (#27479)
holiman f0b5af7
rpc: avoid use of cgo by hard-coding maxPathSize (#27447)
zchee 311b742
accounts/keystore: use slices package for sorting (#27485)
4544dc5
cmd/devp2p: use slices package for sorting (#27487)
cd3b8c3
cmd/evm: fix typos in documentation (#27501)
joohhnnn 760fd0c
consensus/clique: fix typo in comment (#27503)
pengin7384 4367ab4
metrics: use slices package for sorting (#27493)
a848212
consensus/clique: use slices package for sorting (#27488)
87e510d
internal/ethapi, les: use slices package for sorting (#27492)
50ecb16
tests, trie: use slices package for sorting (#27496)
091c25d
go.mod: update kzg libraries to use big-endian (#27510)
MariusVanDerWijden ceca457
trie: remove parameter 'fromLevel' in Prove (#27512)
rjl493456442 9a167c4
core/txpool/legacypool: narrow down the scope of the variable (#27471)
hero5512 b1ef0bf
eth: use slices package for sorting (#27490)
84b05d4
internal/build: ignore some files in FindMainPackages (#27521)
jsvisa 154b016
core: use slices package for sorting (#27489)
1affc1c
core/txpool: remove use of errors.Join function (#27523)
fjl 8c288b5
internal/ethapi: use same state for each invocation within EstimateGa…
jwasinger 6d2aeb4
cmd, core/state, eth, tests, trie: improve state reader (#27428)
rjl493456442 713fc8b
ethdb/pebble: fsync for batch writes (#27522)
holiman fd5d2ef
internal/ethapi: quantity-encode storage keys in eth_getProof respons…
prestwich 5520cd9
p2p/discover: swap verification order in discv4 ping handler (#27532)
Exca-DK 699243f
core/state, light, trie: add UpdateContractCode to the Trie interface…
gballet 942ba4d
crypto/secp256k1: define NDEBUG only if not defined (#27550)
fbac 2754b19
common/math: fix typo in comment (#27561)
pengin7384 8044177
eth/protocols: put protocols in order (#27543)
jsvisa b4bc9b0
cmd/geth: error message should not be capitalised (#27549)
puhtaytow 4b90c44
ethdb/pebble: use sync mode for pebble writes (#27615)
rjl493456442 d7ea278
core/vm: move TSTORE,TLOAD to correct opcode nums (#27613)
MariusVanDerWijden 9005912
common/lru: add test case for BasicLRU.Peek (#27559)
pengin7384 d73eb87
core: log message if DeriveFields returns error (#27530)
aaronbuchwald c7b099b
trie, core/state: revert error removal in (*state.Trie).Commit (#27544)
gballet eed7983
core/txpool/legacypool: fix typo (#27620)
hero5512 f5d3d48
eth: send big transactions by announce/retrieve only (#27618)
MariusVanDerWijden 85b8d1c
params, trie: add verkle fork management + upgrade go-verkle (#27464)
gballet 8bbb16b
core/state, light, les: make signature of ContractCode hash-independe…
gballet 6ca3ef9
node: fix listening on IPv6 address (#27628) (#27635)
oiooj 59f7b28
cmd, core, eth, graphql, trie: no persisted clean trie cache file (#2…
rjl493456442 863f6da
ethdb/leveldb: update leveldb metrics collection (#27643)
Exca-DK 83d7f42
core: stop chain when tests are finished (#27660)
darioush ab0e0f3
signer/core: show helptext when clef rejects signing (#27538)
joohhnnn ea78280
cmd/geth: implement dev mode for post-merge (#27327)
jwasinger cbf2579
p2p, p2p/discover: add dial metrics (#27621)
lightclient c866dfd
core: remove outdated tests (#27662)
holiman c2db667
miner: remove unused commented code (#27664)
jwasinger af8b138
core/vm: define cancun + enable 1153 (tstore/tload) in cancun (#27663)
holiman 5c9cbc2
core/vm: implement EIP-5656, mcopy instruction (#26181)
charles-cooper e1fd3d6
eth: better active protocol handler tracking (#27665)
lightclient aecf3f9
internal/blocktest: add package for shared test code (#27270)
jsvisa 4b06e4f
core/state: value diff tracking in StateDB (#27349)
rjl493456442 645b0db
cmd/utils, p2p: clean up discovery setup (#27518)
lightclient 7a565fa
console: add cleanup to avoid leaks in newTester (#27695)
Mskxn cecd221
go.mod: upgrade github.com/karalabe/usb to fix build warning (#27698)
fjl 0b1f97e
core/rawdb: support freezer batch read with no size limit (#27687)
rjl493456442 a426999
p2p/discover: filter bootnodes by netrestrict (#27701)
fjl 80b7bfe
accounts, cmd/evm: fix docstrings (#27703)
cuishuang 040a4a5
build: upgrade -dlgo version to Go 1.20.6 (#27708)
sandakersmann 714f759
eth, miner: rm redundant type declare (#27713)
jsvisa 4f0d8f0
graphql: fix race in withdrawals test (#27706)
s1na 10a136a
internal: early exit if tx for getTxReceipt not found (#27712)
jsvisa 5d03504
internal/ethapi: add more testcase for GetTransactionReceipt (#27527)
jsvisa 1e069cf
eth/tracers: add ReturnData in the tracer's response (#27704)
jsvisa 517ac88
eth/tracers/native: panic on memory read in prestateTracer (#27691)
ryanschneider e1fe6bc
go.sum: go mod tidy (#27717)
ucwong c40ab6a
core/blockchain: fast to snap in comments (#27722)
ucwong 60ecf48
cmd/bootnode, p2p: support for alternate mapped ports (#26359)
dbadoy 13c0305
metrics: NilTimer should still run the function to be timed (#27723)
omerfirmak 47b9f1b
cmd/geth: use automaxprocs to apply cpu quota correctly (#27506)
jsvisa 34d5072
metrics: NilResettingTimer.Time should execute the timed function (#2…
omerfirmak 00408f7
accounts/abi/bind/backends: fix goroutine leak in unit test (#27705)
yuriechan d233b6b
core: replace instances of 'suicide' with 'selfdestruct' to improve …
jwasinger 99e000c
core/vm: use types.EmptyCodeHash (#27729)
ucwong b058cf4
core, tests: EIP-4844 transaction processing logic (#27721)
holiman 988d84a
core/state, core/vm: implement EIP 6780 (#27189)
jwasinger d4d88f9
les: remove obsolete code related to PoW header syncing (#27737)
zsfelfoldi e86ad52
beacon/engine, eth/catalyst: EIP-4844 updates for the engine API (#27…
fjl 7f756dc
cmd/evm/testdata: fix typos in docs (#27742)
pgrimaud a46f417
ethclient/gethclient: gofmt -s (#27762)
MariusVanDerWijden 88f3d61
all: expose block number information to statedb (#27753)
rjl493456442 7a1fba1
cmd/geth: atomic types used (#27756)
ucwong a196f3e
cmd/devp2p: atomic types used (#27755)
ucwong 2274a03
crypto/kzg4844: do lazy init in all ckzg funcs (#27679)
jtraglia 37b952a
core/types: deepcopy ExcessDataGas, DataGasUsed (#27767)
darioush 1662228
core/txpool/blobpool: 4844 blob transaction pool (#26940)
karalabe 393d4db
core/types: add 4844 data gas fields in Receipt (#27743)
fjl 0f4b21f
core/txpool/blobpool: fix a merge conflict from a package rename (#27…
karalabe 57268f7
all: rename dataGas to blobGas (#27789)
karalabe d955653
core/types: put header fields in correct order (#27791)
MariusVanDerWijden 8f2ae29
core/types: fix receipt blob fields marshaling (#27793)
marioevz 95cc7bf
cmd/geth: import package catalyst once (#27803)
islishude 5a4eba6
eth: conver if-else-if chain to tagged switch (#27816)
islishude 43a1a48
core: remove pointless check for excessBlobGas nilness (#27797)
jsvisa 817553c
core, trie: track state change set with account address (#27815)
rjl493456442 4e97756
cmd/bootnode: defer udp connection close (#27787)
ZigBalthazar 3ca92f7
all: replace data gas to blob gas in comments (#27825)
jsvisa 852be57
tests: make tests pass on windows/386 (#27821)
holiman 2fd77a6
core/txpool/blobpool: remove error log when finalized block is nil (#…
rjl493456442 7c95ebd
consensus/misc: move eip1559 into a package (#27828)
jsvisa f404a2d
cmd/evm: set ExcessBlobGas from env (#27796)
jsvisa 9d744f0
cmd/bootnode: fix timer leak (#27754)
ucwong 7de748d
all: implement path-based state scheme (#25963)
rjl493456442 ff97b4c
cmd/geth: disable automaxprocs log (#27814)
jsvisa d04bde0
p2p: use atomic types (#27764)
ucwong 8224bb9
build: upgrade -dlgo version to Go 1.20.7 (#27835)
sandakersmann 6e934f4
eth/protocols/snap: fix batch writer when resuming an aborted sync (#…
karalabe df54435
core/types: fix immutability guarantees in Block (#27844)
fjl 57cdbae
all: remove trailing whitespace (#27741)
darioush bb148dd
core/types: support yParity field in JSON transactions (#27744)
fjl 5c30541
log: use atomic types (#27763)
ucwong 60070fe
internal/ethapi, graphql: correct comments about gas price logic (#27…
chrischarlesharrison 8574767
internal: use atomic type (#27858)
ucwong d14c07d
accounts: use atomic type (#27857)
ucwong eeebb07
internal/ethapi: add state override to estimateGas (#27845)
amintalebi 6d2bcb9
p2p/simulations/examples: use atomic.Int64 (#27861)
ucwong 0d772b9
graphql: avoid greedy allocation (#27873)
holiman e13fa32
core/vm: update 4844 - point evaluation precompile address (#27874)
holiman 7ec60d5
p2p: move ping handling into pingLoop goroutine (#27887)
fjl 10d9f93
graphql: add yParity field for transactions (#27882)
jsvisa 6797902
core/state: move UpdateContractCode before the trie hash is computed …
gballet 9c216bd
params: release go-ethereum v1.12.1
fjl d9a8b0f
params: begin v1.12.2 release cycle
fjl a0491a0
deps: update supranational/blst to 0.3.11 (#27890)
dependabot[bot] 55863ce
core/txpool/blobpool: fix metrics name for prometheus export (#27901)
imulmat4 770db14
ethdb/leveldb: support more than 7 levels in metrics (#27904)
jsvisa 811a674
all: update golang/x/ext and fix slice sorting fallout (#27909)
karalabe f298ec4
go.mod, build: upgrade c-kzg-4844 (#27907)
fjl a867039
internal/build: apply -ubuntu to env (#27910)
fjl bed8460
params: release go-ethereum v1.12.2
fjl a7e358d
Revert "les: remove obsolete code related to PoW header syncing (#277…
ziogaschr c2c50de
: Merge branch 'foundation-release/1.12.2' into merge/foundation-rele…
ziogaschr fbeceb2
params/types/genesisT: add BlobGasUsed and ExcessBlobGas to Genesis
ziogaschr 7394fb5
params/types/goethereum: add VerkleTime to ChainConfig
ziogaschr d0c6387
params: remove Rinkeby configs
ziogaschr 8fbb341
params,params/types/goethereum: add IsDevMode in goethereum.ChainConfig
ziogaschr 764daee
go.mod,go.sum: go mod tidy
ziogaschr 13024c7
params/types/coregeth,params/types/ctypes,params/types/genesisT,param…
ziogaschr 067aae6
core/vm: use new interface for Selfdestruct in evmc
ziogaschr 63e3ac9
consensus/misc/eip4844,core/vm,trie/triedb/pathdb: /s/params/vars
ziogaschr e9dc2be
core/vm,eth/tracers/native,internal/ethapi: add time arg for vm.Preco…
ziogaschr a09e5cb
core: bring back ChainOverrides.OverrideShanghai
ziogaschr 27d08eb
core: /s/params/vars
ziogaschr 68f61a3
core: remove Rinkeby ref
ziogaschr bf20823
fixes
ziogaschr d307129
core/txpool/blobpool,core/txpool/legacypool,eth/downloader: 🩹 fixes
ziogaschr 2b2453a
eth,eth/filters,miner: Revert "miner: suspend miner if node is syncin…
ziogaschr 6f51aed
miner: suspend miner if node is syncing
ziogaschr c4c252a
miner: use of correct Transaction object and not of txpool.Transaction
ziogaschr f8e9b08
eth/ethconfig: txpool fixes
ziogaschr fb5eecd
core/txpool/legacypool,eth: mute RemovePendingTransaction api
ziogaschr dd64fd4
eth/catalyst,params/types/coregeth,params/types/ctypes,params/types/g…
ziogaschr 02a15d6
les/catalyst,miner/stress/beacon: wrong number of params in Executabl…
ziogaschr f20859b
eth/catalyst,eth,les: 🩹 fixes
ziogaschr 20d402a
cmd/utils: remove Rinkeby refs
ziogaschr e6d2ff3
params/types/genesisT: add *IsDevMode implementations for genesisT.Ge…
ziogaschr a189c48
cmd/echainspec: remove Rinkeby refs from echainspec
ziogaschr 96e58bc
tests: fix broken code syntax from conflict resolutions
ziogaschr 331f22a
cmd/evm/internal/t8ntool,cmd/faucet,tests: 🩹 fixes
ziogaschr e46a18d
cmd/faucet: fix faucet
ziogaschr 113a9d2
miner,miner/stress/1559,miner/stress/beacon,miner/stress/ethash,miner…
ziogaschr a7441c0
cmd/geth,consensus/misc/eip4844,core,eth/ethconfig,graphql,internal/e…
ziogaschr adf1886
internal/ethapi: internal/ethapi,params/types/genesisT: internal/etha…
ziogaschr 23da7ca
internal/ethapi: internal/ethapi: internal/ethapi: Add Withdrawal fie…
ziogaschr 6c25c30
internal/ethapi: internal/ethapi: internal/ethapi: bring back totalDi…
ziogaschr d2be057
ethclient: assignment mismatch: 2 variables but backend.Attach return…
meowsbits d1c5bca
core/txpool/blobpool: undefined: params.BlobTxHashVersion
meowsbits 7202707
core/txpool/blobpool: undefined: params.ChainConfig
meowsbits 41b2bbc
core/txpool/blobpool: undefined: params.InitialBaseFee
meowsbits 752f658
core/txpool/blobpool: use ChainConfigurator types where applicable
meowsbits 73081cd
core/txpool/blobpool: undefined: params.BlobTxMinBlobGasprice
meowsbits d086d68
core/txpool/legacypool: not enough arguments in call to newTestBlockC…
meowsbits 87898c5
core/types: undefined: params.BlobTxBlobGasPerBlob
meowsbits 1329ec5
core: assignment mismatch: 2 variables but plot.New returns 1 value
meowsbits 655c34e
core: array length vars.MaxInitCodeSize + 1 (value of type uint64) mu…
meowsbits 1bf03fa
core: undefined: misc
meowsbits 477772f
core/txpool/blobpool: core/txpool/blobpool/evictheap_test.go:189:29: …
meowsbits b6d70f0
core/vm: cannot use evmInterpreter (variable of type Interpreter) as …
meowsbits 5961ade
eth/catalyst: undefined: core.Genesis
meowsbits a35e552
core/vm: fix precompiled contracts assignment in tests
ziogaschr ef4853f
ethclient: remove `debug_setTrieFlushInterval` in supported RPC metho…
ziogaschr b0624c9
core: fix TestStateProcessorErrors test, because of using wrong conse…
ziogaschr 9d4ea2e
dev mode replace clique with catalyst for `--dev`
ziogaschr b3b73be
eth/filters: eth/filters: eth/filters: fix TestFilters test
ziogaschr 7b86735
core: warn that Verkle fork is not yet supported
ziogaschr f1a6ddf
internal/cmdtest: remove self note
ziogaschr e8e0cf3
Update eth/api_debug.go
ziogaschr a5602be
params/types/genesisT: params/types/genesisT: fix indentation
ziogaschr 30b7293
tests: tests: set new head for tests/testdata
ziogaschr 3ce83fc
tests: tests: Set new submodule head for tests/testdata-etc
ziogaschr eade8b2
tests: skip post-Berlin forks during EVMC tests
meowsbits 665505b
: Merge branch 'evmc-v10-develop' into evmc-v10
ziogaschr ca87a2d
: Use [email protected]
ziogaschr 375f04b
tests: fix state tests to correctly convert pre to genesisT.GenesisAlloc
ziogaschr b9f270c
Makefile: `make test-evmc` to use correct lib extension on Darwin
ziogaschr 603bf71
: Merge branch 'merge/foundation-release/1.12.2' into evmc-v10
ziogaschr 8befbf6
go.mod,go.sum: go mod tidy
ziogaschr 384fd3b
core/vm: fixes
ziogaschr da6c7e0
cmd/evm: Fix flag mess up in staterunner after merge
ziogaschr 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
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.
@meowsbits what do you think of this?
I was thinking to check if the address exists after the SelfDestruct and return it. Though we have to further test on how this works.