-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Implement EIP-4844 #26283
Implement EIP-4844 #26283
Commits on Feb 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 803f31e - Browse repository at this point
Copy the full SHA 803f31eView commit details
Commits on Feb 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c971490 - Browse repository at this point
Copy the full SHA c971490View commit details
Commits on Feb 25, 2022
-
core: consider blobs count for intrinsic gas check
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d19e6ee - Browse repository at this point
Copy the full SHA d19e6eeView commit details -
Merge pull request #3 from asn-d6/prune-gokzg
Prune gokzg from crypto/kzg
Configuration menu - View commit details
-
Copy full SHA for a922276 - Browse repository at this point
Copy the full SHA a922276View commit details
Commits on Mar 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 587a212 - Browse repository at this point
Copy the full SHA 587a212View commit details
Commits on Mar 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4b0c1cb - Browse repository at this point
Copy the full SHA 4b0c1cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9279d9 - Browse repository at this point
Copy the full SHA e9279d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fa43da - Browse repository at this point
Copy the full SHA 5fa43daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e539920 - Browse repository at this point
Copy the full SHA e539920View commit details
Commits on Mar 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 184ba49 - Browse repository at this point
Copy the full SHA 184ba49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd16f1 - Browse repository at this point
Copy the full SHA 6cd16f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for dafbb4d - Browse repository at this point
Copy the full SHA dafbb4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c236b0 - Browse repository at this point
Copy the full SHA 0c236b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f6e026 - Browse repository at this point
Copy the full SHA 9f6e026View commit details -
core/types: clean up blob and commitment parse methods, use ptr recei…
…ver on array blob type
Configuration menu - View commit details
-
Copy full SHA for 5009206 - Browse repository at this point
Copy the full SHA 5009206View commit details -
Configuration menu - View commit details
-
Copy full SHA for f80048e - Browse repository at this point
Copy the full SHA f80048eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d48a83e - Browse repository at this point
Copy the full SHA d48a83eView commit details -
core/vm,crypto/kzg,tests: remove versioned-hash func from crypto, app…
…lication-layer detail, update tests. And make kzg tests run precompiles.
Configuration menu - View commit details
-
Copy full SHA for 52abcb8 - Browse repository at this point
Copy the full SHA 52abcb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4051e - Browse repository at this point
Copy the full SHA 6e4051eView commit details
Commits on Mar 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for db23602 - Browse repository at this point
Copy the full SHA db23602View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ab1dd - Browse repository at this point
Copy the full SHA d3ab1ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f21779 - Browse repository at this point
Copy the full SHA 6f21779View commit details
Commits on Mar 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bfe1f35 - Browse repository at this point
Copy the full SHA bfe1f35View commit details -
Transaction inner size should be computed on-demand
We previously computed it in UnmarshalBinary() but in a wrong way (we considered the wrapped data as part of the inner length)
Configuration menu - View commit details
-
Copy full SHA for 7512b91 - Browse repository at this point
Copy the full SHA 7512b91View commit details
Commits on Mar 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f87c6d6 - Browse repository at this point
Copy the full SHA f87c6d6View commit details -
Merge pull request #5 from asn-d6/eip4844-tooling
Fix a bunch of bugs found during development of EIP-4844 tooling
Configuration menu - View commit details
-
Copy full SHA for d6fb210 - Browse repository at this point
Copy the full SHA d6fb210View commit details
Commits on Jun 3, 2022
-
Merge branch 'master' into eip-4844
# Conflicts: # core/blockchain_test.go # core/state_transition.go # core/types/receipt.go # core/types/transaction.go # core/vm/eips.go # eth/catalyst/api.go # eth/catalyst/api_test.go # eth/catalyst/queue.go # eth/tracers/js/tracer.go # eth/tracers/native/prestate.go # go.mod # go.sum # params/config.go
Configuration menu - View commit details
-
Copy full SHA for 0b1adb9 - Browse repository at this point
Copy the full SHA 0b1adb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36cbb54 - Browse repository at this point
Copy the full SHA 36cbb54View commit details
Commits on Jun 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b58bd6e - Browse repository at this point
Copy the full SHA b58bd6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff35a44 - Browse repository at this point
Copy the full SHA ff35a44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d4820c - Browse repository at this point
Copy the full SHA 6d4820cView commit details
Commits on Jun 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d614a91 - Browse repository at this point
Copy the full SHA d614a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 372dbc7 - Browse repository at this point
Copy the full SHA 372dbc7View commit details -
Use minimal transaction format as block codec
Ensure that transactions used to build blocks are encoded using their minimal encoding.
Configuration menu - View commit details
-
Copy full SHA for 7af28b5 - Browse repository at this point
Copy the full SHA 7af28b5View commit details
Commits on Jun 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 13c3f67 - Browse repository at this point
Copy the full SHA 13c3f67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ba73e3 - Browse repository at this point
Copy the full SHA 2ba73e3View commit details -
Merge pull request #1 from Inphi/eip-4844-fix-blob-tx-enc
Use minimal transaction format as block codec
Configuration menu - View commit details
-
Copy full SHA for f15311b - Browse repository at this point
Copy the full SHA f15311bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 177f16e - Browse repository at this point
Copy the full SHA 177f16eView commit details -
Merge pull request #2 from Inphi/inphi/quickfix
fix semantic merge conflict
Configuration menu - View commit details
-
Copy full SHA for 87a4c33 - Browse repository at this point
Copy the full SHA 87a4c33View commit details
Commits on Jun 14, 2022
-
ethapi: Fix gas esitmation for blob txs
We populate the types.Message used for gas estimation with dummy data hashses representing each blob. This is because the EVM charges an intrinsic gas cost for each blob in a tx.
Configuration menu - View commit details
-
Copy full SHA for 08cdb3a - Browse repository at this point
Copy the full SHA 08cdb3aView commit details -
Merge pull request #3 from Inphi/eip-4844
ethapi: Fix gas esitmation for blob txs
Configuration menu - View commit details
-
Copy full SHA for 42c8071 - Browse repository at this point
Copy the full SHA 42c8071View commit details
Commits on Jun 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1430b67 - Browse repository at this point
Copy the full SHA 1430b67View commit details -
Merge pull request #4 from Inphi/eip-4844
Add BlobVersionedHashes to JSON-RPC Transaction result
Configuration menu - View commit details
-
Copy full SHA for 49c0328 - Browse repository at this point
Copy the full SHA 49c0328View commit details
Commits on Jun 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 16e5bad - Browse repository at this point
Copy the full SHA 16e5badView commit details -
Merge pull request #5 from dapperscene6/dapperscene6/enable-point-eva…
…luation Enable Point Evaluation Precompile
Configuration menu - View commit details
-
Copy full SHA for c190f29 - Browse repository at this point
Copy the full SHA c190f29View commit details -
Configuration menu - View commit details
-
Copy full SHA for f625430 - Browse repository at this point
Copy the full SHA f625430View commit details -
Merge pull request #6 from dapperscene6/dapperscene6/fix-point-evalua…
…tion Fix point evaluation
Configuration menu - View commit details
-
Copy full SHA for 35856fb - Browse repository at this point
Copy the full SHA 35856fbView commit details
Commits on Jun 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e221824 - Browse repository at this point
Copy the full SHA e221824View commit details -
Merge pull request #7 from Inphi/inphi/net-mempool
Fix NetworkTransaction packet receive handling
Configuration menu - View commit details
-
Copy full SHA for 576614f - Browse repository at this point
Copy the full SHA 576614fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d43042a - Browse repository at this point
Copy the full SHA d43042aView commit details
Commits on Jul 19, 2022
-
Optimize Blob Transaction Validation (#9)
* remove debug println * Optimize Blob Tx validation using KZG Proofs Implementing the latest EIP-4844 changes for optimizing blob transactions. * fix eth tests * compute aggregate proof without inverse fft Benchmarks indicate this doesn't improve or worsen performance. But it's one less dependency to worry about. * Eval poly main loop using bls.Fr - less mem usage
Configuration menu - View commit details
-
Copy full SHA for c76d2bd - Browse repository at this point
Copy the full SHA c76d2bdView commit details
Commits on Jul 21, 2022
-
fix Blobs and KZG merklelization (#10)
The List and Vector sizes were different from the spec. Also fixed bug in hash_to_bls field where the merkle root used for the fiat-shamir was interpreted as big-endian
Configuration menu - View commit details
-
Copy full SHA for c5a0bd9 - Browse repository at this point
Copy the full SHA c5a0bd9View commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c229ee8 - Browse repository at this point
Copy the full SHA c229ee8View commit details
Commits on Aug 9, 2022
-
add --eip4844 devnet flag (#12)
Configures the genesis and network parameters of the protodanksharding devnet.
1Configuration menu - View commit details
-
Copy full SHA for 769f148 - Browse repository at this point
Copy the full SHA 769f148View commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d704423 - Browse repository at this point
Copy the full SHA d704423View commit details
Commits on Aug 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 39d6ce1 - Browse repository at this point
Copy the full SHA 39d6ce1View commit details -
Merge pull request #13 from roberto-bayardo/eip4844-rebase
rebase eip-4844 branch with latest geth master
Configuration menu - View commit details
-
Copy full SHA for 219d446 - Browse repository at this point
Copy the full SHA 219d446View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bc670f - Browse repository at this point
Copy the full SHA 1bc670fView commit details
Commits on Aug 19, 2022
-
crypto/kzg: Faster blob transaction verification (#14)
When computing the aggregated KZG proof, a good chunk of the runtime is spent on the barycentric evaluation. The most expensive operation during the polynomial evaluation is the modular inverse as we divide the polynomial by each root of unity (scaled by z). We precompute the moduular inverses of each divisor as a batch to speed up evaluation. This yields gives us a 3x improvement in the latency of verifying blob transactions: Before ``` go test -benchmem -run='^$' -bench '^BenchmarkVerifyMultiple$' github.com/ethereum/go-ethereum/tests goos: linux goarch: amd64 pkg: github.com/ethereum/go-ethereum/tests cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkVerifyMultiple/8-6 5 216293524 ns/op 23122608 B/op 432644 allocs/op BenchmarkVerifyMultiple/16-6 3 429942571 ns/op 46245757 B/op 865270 allocs/op PASS ok github.com/ethereum/go-ethereum/tests 33.350s ``` After: ``` go test -benchmem -run='^$' -bench '^BenchmarkVerifyMultiple$' github.com/ethereum/go-ethereum/tests goos: linux goarch: amd64 pkg: github.com/ethereum/go-ethereum/tests cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkVerifyMultiple/8-6 16 69890960 ns/op 25221325 B/op 399904 allocs/op BenchmarkVerifyMultiple/16-6 8 138506286 ns/op 50439658 B/op 799792 allocs/op PASS ok github.com/ethereum/go-ethereum/tests 20.170s ```
Configuration menu - View commit details
-
Copy full SHA for df336b7 - Browse repository at this point
Copy the full SHA df336b7View commit details
Commits on Aug 25, 2022
-
Efficient Fiat-Shamir challenges using hashing (#15)
By avoiding ssz merklelization, we significantly reduce the latency of generating FS challenges. Before: ``` BenchmarkVerifyMultiple/8-6 16 69890960 ns/op 25221325 B/op 399904 allocs/op BenchmarkVerifyMultiple/16-6 8 138506286 ns/op 50439658 B/op 799792 allocs/op ``` After: ``` BenchmarkVerifyMultiple/8-6 27 41349482 ns/op 22059083 B/op 301451 allocs/op BenchmarkVerifyMultiple/16-6 14 80868200 ns/op 44114668 B/op 602909 allocs/op ```
Configuration menu - View commit details
-
Copy full SHA for fce14ba - Browse repository at this point
Copy the full SHA fce14baView commit details
Commits on Sep 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e5291ef - Browse repository at this point
Copy the full SHA e5291efView commit details
Commits on Sep 19, 2022
-
* Add running blob txs count to block header - and update the blob fee rules to the full version
Configuration menu - View commit details
-
Copy full SHA for d8e92d1 - Browse repository at this point
Copy the full SHA d8e92d1View commit details
Commits on Sep 20, 2022
-
Merge in latest (v1.10.25) geth changes (#19)
* cmd. core: save preimages on genesis creation (ethereum#25538) force preimage dump for genesis * rlp/rlpgen: fix error handling when target type not found (ethereum#25547) typ will be nil when lookupStructType returns an error. cfg.Type should be used instead. * trie: improve node rlp decoding performance (ethereum#25357) This avoids copying the input []byte while decoding trie nodes. In most cases, particularly when the input slice is provided by the underlying database, this optimization is safe to use. For cases where the origin of the input slice is unclear, the copying version is retained. The new code performs better even when the input must be copied, because it is now only copied once in decodeNode. * all: fix some typos (ethereum#25551) * Fix some typos * Fix some mistakes * Revert 4byte.json * Fix an incorrect fix * Change files to fails * internal/ethapi: fix comment typo (ethereum#25548) * accounts/abi/bind/backends: typo fix (ethereum#25549) * eth, les: unlock downloader peerSet if there's an error (ethereum#25546) Unlock peerSet if there's an error in the downloader * cmd/geth: parse uint64 value with ParseUint instead of Atoi (ethereum#25545) Parse uint64 value with ParseUint instead of Atoi * consensus/beacon: check ttd reached on pos blocks (ethereum#25552) * consensus/beacon: check ttd reached on pos blocks * consensus/beacon: check ttd reached on pos blocks * consensus/beacon: check ttd reached on pos blocks * eth/filters: add global block logs cache (ethereum#25459) This adds a cache for block logs which is shared by all filters. The cache size of is configurable using the `--cache.blocklogs` flag. Co-authored-by: Felix Lange <fjl@twurst.com> * accounts/abi: fix set function (ethereum#25477) * accounts/abi: fix set function * don't break things * update test * internal/ethapi: fix build regression (ethereum#25555) * eth/fetcher: don't spend too much time on transaction inclusion (ethereum#25524) * eth/fetcher: introduce some lag in tx fetching * eth/fetcher: change conditions a bit * eth/fetcher: use per-batch quota check * eth/fetcher: fix some comments * eth/fetcher: address review concerns * eth/fetcher: fix panic + add warn log * eth/fetcher: fix log * eth/fetcher: fix log * cmd/devp2p/internal/ethtest: fix ignorign tx announcements from prev. tests * cmd/devp2p/internal/ethtest: fix TestLargeTxRequest This increases the number of tx relay messages the test waits for. Since go-ethereum now processes incoming txs in smaller batches, the announcement messages it sends are also smaller. Co-authored-by: Felix Lange <fjl@twurst.com> * Revert "eth/fetcher: don't spend too much time on transaction inclusion" (ethereum#25567) Revert "eth/fetcher: don't spend too much time on transaction inclusion (ethereum#25524)" This reverts commit 0ce494b. * eth/catalyst: warn less frequently if no beacon client is available (ethereum#25569) * eth/catalyst: warn less frequently if no beacon client is available * eth/catalyst: tweak warning frequency a bit * eth/catalyst: some more tweaks * Update api.go Co-authored-by: Felix Lange <fjl@twurst.com> * params: release go-ethereum v1.10.22 * params: begin v1.10.23 release cycle * core, eth/downloader: handle spurious junk bodies from racey rollbacks (ethereum#25578) * eth/downloader: handle junkbodies/receipts in the beacon sync * core: check for header presence when checking for blocks * core/state, trie: fix trie flush order for proper pruning * consensus/beacon: don't ignore errors * params: release Geth v1.10.23 * graphql: return correct logs for tx (ethereum#25612) * graphql: fix tx logs * minor * Use optimized search for selecting tx logs * graphql: fixes missing tx logs (ethereum#25745) * graphql: fix tx logs * graphql: refactor test service setup * graphql: add test for tx logs * Release Geth v1.10.24 * params: set TerminalTotalDifficultyPassed to true (ethereum#25769) * params: set TerminalTotalDifficultyPassed to true * Update params/config.go Co-authored-by: Martin Holst Swende <martin@swende.se> * params: release Geth v1.10.25 Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Co-authored-by: rjl493456442 <garyrong0905@gmail.com> Co-authored-by: ucwong <ucwong@126.com> Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: zhiqiangxu <652732310@qq.com> Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c09fdfa - Browse repository at this point
Copy the full SHA c09fdfaView commit details
Commits on Sep 27, 2022
-
This patch removes the requirement of Blob transactions JSON (un)marshaling to contain data. JSON-encoded blob txs returned by JSON-RPC needs this in order to serve transactions from the block body. Otherwise, the marshaling fails as we only persist the minimal representation of transactions in block bodies. We do not use JSON internally for tx message passing. This only affects JSON-RPC and external APIs.
Configuration menu - View commit details
-
Copy full SHA for d49f0be - Browse repository at this point
Copy the full SHA d49f0beView commit details
Commits on Oct 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9e93167 - Browse repository at this point
Copy the full SHA 9e93167View commit details -
This fixes a bug where transactions in a Block would not get filled in during rlp decode. The existing `TestBlockEncoding` unit test in core/types/block_test.go catches this.
Configuration menu - View commit details
-
Copy full SHA for ede1eaa - Browse repository at this point
Copy the full SHA ede1eaaView commit details -
Make excess_blobs Header field optional
In order to be backwards compatible with prior forks, the excess_blobs field must not be set until we're on an EIP-4844 compatible fork. This patch also fixes several bugs and now we're passing all tests.
Configuration menu - View commit details
-
Copy full SHA for 9ce143a - Browse repository at this point
Copy the full SHA 9ce143aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31021e5 - Browse repository at this point
Copy the full SHA 31021e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1385c9 - Browse repository at this point
Copy the full SHA a1385c9View commit details
Commits on Oct 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f673a93 - Browse repository at this point
Copy the full SHA f673a93View commit details
Commits on Oct 6, 2022
-
add new maxFeePerDataGas field to blob tx message in preparation for …
…latest eip-4844 fee market updates (#23)
Configuration menu - View commit details
-
Copy full SHA for 82cf924 - Browse repository at this point
Copy the full SHA 82cf924View commit details -
Configuration menu - View commit details
-
Copy full SHA for 773cfb2 - Browse repository at this point
Copy the full SHA 773cfb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7f7378 - Browse repository at this point
Copy the full SHA a7f7378View commit details
Commits on Oct 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 619c609 - Browse repository at this point
Copy the full SHA 619c609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28e8789 - Browse repository at this point
Copy the full SHA 28e8789View commit details -
Configuration menu - View commit details
-
Copy full SHA for cda7293 - Browse repository at this point
Copy the full SHA cda7293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ba40cb - Browse repository at this point
Copy the full SHA 8ba40cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aee8d8 - Browse repository at this point
Copy the full SHA 4aee8d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfdd6e7 - Browse repository at this point
Copy the full SHA cfdd6e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06a46d8 - Browse repository at this point
Copy the full SHA 06a46d8View commit details
Commits on Oct 8, 2022
-
- fix issue with not using proper parent block excess data gas by mak…
…ing excess data gas an explicit part of the EVM block context - add initial enforcement of block level data gas limit
Configuration menu - View commit details
-
Copy full SHA for b38efe1 - Browse repository at this point
Copy the full SHA b38efe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b14002 - Browse repository at this point
Copy the full SHA 8b14002View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6297fa0 - Browse repository at this point
Copy the full SHA 6297fa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc3740c - Browse repository at this point
Copy the full SHA dc3740cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca62042 - Browse repository at this point
Copy the full SHA ca62042View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2da86b0 - Browse repository at this point
Copy the full SHA 2da86b0View commit details -
Merge pull request #28 from mdehoog/dgc/reverse-bit-ordering
Change order of roots of unity and the setup Lagrange by reversing bit order of indexes
Configuration menu - View commit details
-
Copy full SHA for a53789d - Browse repository at this point
Copy the full SHA a53789dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aa8f1d - Browse repository at this point
Copy the full SHA 0aa8f1dView commit details
Commits on Oct 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 91322eb - Browse repository at this point
Copy the full SHA 91322ebView commit details
Commits on Oct 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0a53f99 - Browse repository at this point
Copy the full SHA 0a53f99View commit details
Commits on Oct 19, 2022
-
add test confirming transition from non-sharding to sharding works ev…
…en if first sharding block has blobs (#38)
Configuration menu - View commit details
-
Copy full SHA for 022f8f0 - Browse repository at this point
Copy the full SHA 022f8f0View commit details
Commits on Oct 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8397b86 - Browse repository at this point
Copy the full SHA 8397b86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8925aee - Browse repository at this point
Copy the full SHA 8925aeeView commit details
Commits on Oct 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4ace6f3 - Browse repository at this point
Copy the full SHA 4ace6f3View commit details
Commits on Nov 16, 2022
-
Moving latest development work back into eip-4844 (#51)
* merge devnet-v3 with latest master (#43) * cmd. core: save preimages on genesis creation (ethereum#25538) force preimage dump for genesis * rlp/rlpgen: fix error handling when target type not found (ethereum#25547) typ will be nil when lookupStructType returns an error. cfg.Type should be used instead. * trie: improve node rlp decoding performance (ethereum#25357) This avoids copying the input []byte while decoding trie nodes. In most cases, particularly when the input slice is provided by the underlying database, this optimization is safe to use. For cases where the origin of the input slice is unclear, the copying version is retained. The new code performs better even when the input must be copied, because it is now only copied once in decodeNode. * all: fix some typos (ethereum#25551) * Fix some typos * Fix some mistakes * Revert 4byte.json * Fix an incorrect fix * Change files to fails * internal/ethapi: fix comment typo (ethereum#25548) * accounts/abi/bind/backends: typo fix (ethereum#25549) * eth, les: unlock downloader peerSet if there's an error (ethereum#25546) Unlock peerSet if there's an error in the downloader * cmd/geth: parse uint64 value with ParseUint instead of Atoi (ethereum#25545) Parse uint64 value with ParseUint instead of Atoi * consensus/beacon: check ttd reached on pos blocks (ethereum#25552) * consensus/beacon: check ttd reached on pos blocks * consensus/beacon: check ttd reached on pos blocks * consensus/beacon: check ttd reached on pos blocks * eth/filters: add global block logs cache (ethereum#25459) This adds a cache for block logs which is shared by all filters. The cache size of is configurable using the `--cache.blocklogs` flag. Co-authored-by: Felix Lange <fjl@twurst.com> * accounts/abi: fix set function (ethereum#25477) * accounts/abi: fix set function * don't break things * update test * internal/ethapi: fix build regression (ethereum#25555) * eth/fetcher: don't spend too much time on transaction inclusion (ethereum#25524) * eth/fetcher: introduce some lag in tx fetching * eth/fetcher: change conditions a bit * eth/fetcher: use per-batch quota check * eth/fetcher: fix some comments * eth/fetcher: address review concerns * eth/fetcher: fix panic + add warn log * eth/fetcher: fix log * eth/fetcher: fix log * cmd/devp2p/internal/ethtest: fix ignorign tx announcements from prev. tests * cmd/devp2p/internal/ethtest: fix TestLargeTxRequest This increases the number of tx relay messages the test waits for. Since go-ethereum now processes incoming txs in smaller batches, the announcement messages it sends are also smaller. Co-authored-by: Felix Lange <fjl@twurst.com> * Revert "eth/fetcher: don't spend too much time on transaction inclusion" (ethereum#25567) Revert "eth/fetcher: don't spend too much time on transaction inclusion (ethereum#25524)" This reverts commit 0ce494b. * eth/catalyst: warn less frequently if no beacon client is available (ethereum#25569) * eth/catalyst: warn less frequently if no beacon client is available * eth/catalyst: tweak warning frequency a bit * eth/catalyst: some more tweaks * Update api.go Co-authored-by: Felix Lange <fjl@twurst.com> * params: release go-ethereum v1.10.22 * params: begin v1.10.23 release cycle * core, eth/downloader: handle spurious junk bodies from racey rollbacks (ethereum#25578) * eth/downloader: handle junkbodies/receipts in the beacon sync * core: check for header presence when checking for blocks * core/state, trie: fix trie flush order for proper pruning * consensus/beacon: don't ignore errors * params: release Geth v1.10.23 * params: begin v1.10.24 release cycle * params: begin go-ethereum v1.11 release cycle * internal/ethapi: rename debug getters to match spec (ethereum#25176) Some small fixes to get the existing debug methods to conform to the spec. Mainly dropping the encoding information from the method name as it should be deduced from the debug context and allowing the method to be invoked by either block number or block hash. It also adds the method debug_getTransaction which returns the raw tx bytes by tx hash. This is pretty much equivalent to the eth_getRawTransactionByHash method. * accounts/abi/bind: add const for tx fee elasticity multiplier (ethereum#25504) Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: rjl493456442 <garyrong0905@gmail.com> * all: remove duplicate word in comments (ethereum#25618) Signed-off-by: Abirdcfly <fp544037857@gmail.com> Signed-off-by: Abirdcfly <fp544037857@gmail.com> * cmd/geth: fix legacy receipt detection for empty db (ethereum#25609) * build: fix ignored errors (ethereum#25591) * docs: specify execution client (ethereum#25566) Co-authored-by: Felix Lange <fjl@twurst.com> * ethclient: add 'finalized' and 'safe' block number support (ethereum#25580) * node: change JWT error status to 401 Unauthorized (ethereum#25629) * node: fix regression in TestJWT (ethereum#25635) * all: move genesis initialization to blockchain (ethereum#25523) * all: move genesis initialization to blockchain * core: add one more check * core: fix tests * eth/catalyst: adjust eta for themerge (ethereum#25601) * eth/catalyst: adjust eta for themerge * squash * squash * eth/catalyst: address review concerns * mobile: close node on error (ethereum#25643) * graphql: return correct logs for tx (ethereum#25612) * graphql: fix tx logs * minor * Use optimized search for selecting tx logs * trie: fix grammar in comment (ethereum#25648) * eth/protocols/snap: fix problems due to idle-but-busy peers * trie: cleanup stateTrie (ethereum#25640) It's a trivial PR to hide the error log when the trie node is not found in the database. The idea for this change is for all TryXXX functions, the error is already returned and we don't need to fire a log explicitly. Recently there are a few tickets ethereum#25613 ethereum#25589 reporting that the trie nodes are missing because of debug.SetHead. The root cause is after resetting, the chain rewinds to a historical point and re-imports the blocks on top. Since the node is already synced and started to accept transactions previously, these transactions are still kept in the txpool and verified by txpool with a live state. This live state is constructed based on the live trie database, which is changed fast by node referencing and de-referencing. Unfortunately, when we construct a live state(like the state in txpool), we don't reference the state we have. The blockchain will garbage collect the intermediate version nodes in another thread which leads the broken live state. The best solution for this is to forcibly obtain a reference for all live states we create and call release function once it's used up. But it might end up with more junks persisted into disk. Will try to find an elegant solution later in the following PR. * eth/catalyst: prevent division by zero (ethereum#25654) eth/catalyst: prevent diff by zero * trie: better error reporting (ethereum#25645) * core/state: filter out nil trie for copy (ethereum#25575) * mobile: register filter APIs (ethereum#25642) This fixes a regression introduced in PR ethereum#25459. * README.md: improve grammar (ethereum#25646) Co-authored-by: Felix Lange <fjl@twurst.com> * eth/tracers/js: fill in log.refund field (ethereum#25661) For some reason, an accessor method for this field exists in JS, but the value was never actually assigned. * eth/fetcher: throttle peers which deliver many invalid transactions (ethereum#25573) Co-authored-by: Felix Lange <fjl@twurst.com> * node, rpc: add JWT auth support in client (ethereum#24911) This adds a generic mechanism for 'dial options' in the RPC client, and also implements a specific dial option for the JWT authentication mechanism used by the engine API. Some real tests for the server-side authentication handling are also added. Co-authored-by: Joshua Gutow <jgutow@optimism.io> Co-authored-by: Felix Lange <fjl@twurst.com> * rpc: check that "version" is "2.0" in request objects (ethereum#25570) The JSON-RPC spec requires the "version" field to be exactly "2.0", so we should verify that. This change is not backwards-compatible with sloppy client implementations, but I decided to go ahead with it anyway because the failure will be caught via the returned error. * trie: fix typo in comment (ethereum#25667) * trie: fix unhandled error in test (ethereum#25628) * eth/tracers/js: improve integer types in log object (ethereum#25668) All fields related to gas must be represented as uint64. Depth is internally tracked as int, so it makes sense to also store it as int. * trie: check childrens' existence concurrently for snap heal * core, light, trie: remove DiskDB function from trie database (ethereum#25690) * params: update chts (ethereum#25707) * core/vm: rename RANDOM to PREVRANDAO (ethereum#25691) See: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4399.md > This EIP supplants the semantics of the return value of existing DIFFICULTY (0x44) opcode and renames the opcode to PREVRANDAO (0x44). * all: cleanup tests (ethereum#25641) Follow-up to PR ethereum#25523 to cleanup all relevant tests. * eth, les: rework chain tracer (ethereum#25143) This PR simplifies the logic of chain tracer and also adds the unit tests. The most important change has been made in this PR is the state management. Whenever a tracing state is acquired there is a corresponding release function be returned as well. It must be called once the state is used up, otherwise resource leaking can happen. And also the logic of state management has been simplified a lot. Specifically, the state provider(eth backend, les backend) should ensure the state is available and referenced. State customers can use the state according to their own needs, or build other states based on the given state. But once the release function is called, there is no guarantee of the availability of the state. Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Co-authored-by: Péter Szilágyi <peterke@gmail.com> * eth/tracer: fix broken test (ethereum#25715) * trie: update comments + err check for preimages (ethereum#25672) This PR includes minor updates to comments in trie/committer that reference insertion to the db, and adds an err != nil check for the return value of preimages.commit. * eth/protocols/snap: throttle trie heal requests when peers DoS us (ethereum#25666) * eth/protocols/snap: throttle trie heal requests when peers DoS us * eth/protocols/snap: lower heal throttle log to debug Co-authored-by: Martin Holst Swende <martin@swende.se> * eth/protocols/snap: fix comment Co-authored-by: Martin Holst Swende <martin@swende.se> * p2p/msgrate: be more lenient when calculating 'mean' (ethereum#25653) The p2p msgrate tracker is a thing which tries to estimate some mean round-trip times. However, it did so in a very curious way: if a node had 200 peers, it would sort their 200 respective rtt estimates, and then it would pick item number 2 as the mean. So effectively taking third fastest and calling it mean. This probably works "ok" when the number of peers are low (there are other factors too, such as ttlScaling which takes some of the edge off this) -- however when the number of peers is high, it becomes very skewed. This PR instead bases the 'mean' on the square root of the length of the list. Still pretty harsh, but a bit more lenient. * rpc: improve error codes for internal server errors (ethereum#25678) This changes the error code returned by the RPC server in certain situations: - handler panic: code -32603 - result marshaling error: code -32603 - attempt to subscribe via HTTP: code -32001 In all of the above cases, the server previously returned the default error code -32000. Co-authored-by: Nicholas Zhao <nicholas.zhao@gmail.com> Co-authored-by: Felix Lange <fjl@twurst.com> * core: place a cap on reorglogs (ethereum#25711) This PR makes the event-sending for deleted and new logs happen in batches, to prevent OOM situation due to large reorgs. Co-authored-by: Felix Lange <fjl@twurst.com> * build: upgrade to go 1.19 (ethereum#25726) This changes the CI / release builds to use the latest Go version. It also upgrades golangci-lint to a newer version compatible with Go 1.19. In Go 1.19, godoc has gained official support for links and lists. The syntax for code blocks in doc comments has changed and now requires a leading tab character. gofmt adapts comments to the new syntax automatically, so there are a lot of comment re-formatting changes in this PR. We need to apply the new format in order to pass the CI lint stage with Go 1.19. With the linter upgrade, I have decided to disable 'gosec' - it produces too many false-positive warnings. The 'deadcode' and 'varcheck' linters have also been removed because golangci-lint warns about them being unmaintained. 'unused' provides similar coverage and we already have it enabled, so we don't lose much with this change. * p2p/discover/v5wire: reject packets smaller than 63 bytes (ethereum#25740) * core: preallocate maps in TxPool helper methods (ethereum#25737) * accounts/abi: fix typo in error message (ethereum#25742) * graphql: fixes missing tx logs (ethereum#25745) * graphql: fix tx logs * graphql: refactor test service setup * graphql: add test for tx logs * cmd/geth: add a verkle subcommand (ethereum#25718) * cmd/geth: add a verkle subcommand * fix copyright year * remove unused command parameters * check that the output file was successfully written to Co-authored-by: Martin Holst Swende <martin@swende.se> * cmd/geth: goimports fix Co-authored-by: Martin Holst Swende <martin@swende.se> * node: fix HTTP server always force closing (ethereum#25755) Co-authored-by: Felix Lange <fjl@twurst.com> * core: fix log order in "Imported new chain segment" (ethereum#25768) * node: fix lint issue in rpcstack.go (ethereum#25774) * les/catalyst/api: add support for ExchangeTransitionConfigurationV1 (ethereum#25752) This method is missing in light client mode and breaks consensus clients that require a valid response. * params: set TerminalTotalDifficultyPassed to true (ethereum#25769) * params: set TerminalTotalDifficultyPassed to true * Update params/config.go Co-authored-by: Martin Holst Swende <martin@swende.se> * trie: handle more batch commit errors in Database (ethereum#25674) * core/rawdb: fix leak of backoff timer (ethereum#25776) * crypto/bls12381: docfix of g1 Affine (ethereum#25729) bls12381: docfix of g1 Affine. * internal/ethapi: return error when requesting invalid trie key (ethereum#25762) This change makes eth_getProof and eth_getStorageAt return an error when the argument contains invalid hex in storage keys. Co-authored-by: Felix Lange <fjl@twurst.com> * core: don't cache zero nonce in txNoncer (ethereum#25603) This changes the nonce cache used by TxPool to not store cached nonces for non-existing accounts. * core: more compact bad block report (ethereum#25714) This shortens the chain config summary in bad block reports, and adds go-ethereum version information as well. Co-authored-by: Felix Lange <fjl@twurst.com> * core: move build version reading to its own package (ethereum#25806) This fixes the build with Go 1.17, which does not have BuildInfo.Settings yet. * eth: fix a rare datarace on CHT challenge reply / shutdown * core/vm: return copy of input slice in identity precompile, avoid returndata copy (ethereum#25183) * core/vm: return copy of input slice in identity precompile. don't deep copy return data slice upon call completion * make use of common.CopyBytes * core/blockchain: downgrade tx indexing and unindexing logs (ethereum#25832) core/blockchain: downgrade tx indexing and unindexing logs from info to debug If a user has a finite tx lookup limit, they will see an "unindexing" info level log each time a block is imported. This information might help a user understand that they are removing the index each block and some txs may not be retrievable by hash, but overall it is generally more of a nuisance than a benefit. This change downgrades the log to a debug log. * eth/tracers: fix trace config for `TraceCall` (ethereum#25821) Co-authored-by: AtomicAzzaz <AtomicAzzaz@users.noreply.github.com> Co-authored-by: ewile <ewile@users.noreply.github.com> * eth/catalyst: add locking around newpayload (ethereum#25816) Sometimes we get stuck on db compaction, and the CL re-issues the "same" command to us multiple times. Each request get stuck on the same place, in the middle of the handler. This changes makes it so we do not reprocess the same payload, but instead detects it early. * eth/catalyst: make tests run faster (ethereum#25818) * cmd/utils: make --authrpc.jwtsecret a DirectoryFlag (ethereum#25849) Signed-off-by: Delweng <delweng@gmail.com> * eth/protocols/snap: make log messages more clear that sync is ongoing (ethereum#25837) * eth/protocols/snap: make log messages more clear that sync is ongoing * Update sync.go Co-authored-by: Felix Lange <fjl@twurst.com> * .github: add CL client to issue template (ethereum#25814) * p2p: add channel buffers to avoid goroutine leaks in tests (ethereum#24929) * internal/version: use gitCommit injection in version handling code (ethereum#25851) This changes the CI build to store the git commit and date into package internal/version instead of package main. Doing this essentially merges our two ways of tracking the go-ethereum version into a single place, achieving two objectives: - Bad block reports, which use version.Info(), will now have the git commit information even when geth is built in an environment such as launchpad.net where git access is unavailable. - For geth builds created by `go build ./cmd/geth` (i.e. not using `go run build/ci.go install`), git information stored by the go tool is now used in the p2p node name as well as in `geth version` and `geth version-check`. * cmd/abigen: change --exc to exclude by type name (ethereum#22620) The abigen exclusion pattern, previously on the form "path:type", now supports wildcards. Examples "*:type" to exclude a named type in all files, or "/path/to/foo.sol:*" all types in foo.sol. * tests, les, eth: remove mentions of deprecated Morden testnet (ethereum#23570) * remove morden * Update commons.go * Update handler.go * empty commit to make appveyor happy * all: clean up the configs for pruner and snapshotter (ethereum#22396) This PR cleans up the configurations for pruner and snapshotter by passing a config struct. And also, this PR disables the snapshot background generation if the chain is opened in "read-only" mode. The read-only mode is necessary in some cases. For example, we have a list of commands to open the etheruem node in "read-only" mode, like export-chain. In these cases, the snapshot background generation is non expected and should be banned explicitly. * cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (ethereum#24370) This PR fully removes the --miner.gastarget flag, as previously it was only hidden from the geth --help command, but could still be used. * core/types: improve accuracy of header.Size() (ethereum#25859) The header.Size() method did not take the basefee into account. * eth/tracers: pad memory slice on OOB case (ethereum#25213) * eth/tracers: pad memory slice on oob case * eth/tracers/js: fix testfailure due to err msg capitalization Co-authored-by: Martin Holst Swende <martin@swende.se> * cmd/faucet: fix readme typos (ethereum#25867) * Fix: typos Fix: typos * Undo change Undo change * core: fix datarace in txpool, fixes ethereum#25870 and ethereum#25869 (ethereum#25872) core: fix datarace in txpool pendingnoce, fixes ethereum#25870 * eth/downloader, les/downloader: fix subtle flaw in queue delivery (ethereum#25861) * fix queue.deliver * les/downloader: fix queue.deliver Co-authored-by: Martin Holst Swende <martin@swende.se> * core/vm: better handle error on eip activation check (ethereum#25131) * core/vm: correct logic for eip check of NewEVMInterpreter * refactor * cmd/geth: make dumpgenesis load genesis datadir if it exists (ethereum#25135) `geth dumpgenesis` currently does not respect the content of the data directory. Instead, it outputs the genesis block created by command-line flags. This PR fixes it to read the genesis from the database, if the database already exists. Co-authored-by: Martin Holst Swende <martin@swende.se> * tests: fix state test error checking (ethereum#25702) Some tests define an 'expectException' error but the tests runner does not check for conditions where this test value is filled (error expected) but in which no error is returned by the test runner. An example of this scenario is GeneralStateTests/stTransactionTest/HighGasPrice.json, which expects a 'TR_NoFunds' error, but the test runner does not return any error. Signed-off-by: meows <b5c6@protonmail.com> * eth/tracers: use gencodec for native tracers (ethereum#25637) The call tracer and prestate tracer store data JSON-encoded in memory. In order to support alternative encodings (specifically RLP), it's better to keep data a native format during tracing. This PR does marshalling at the end, using gencodec. OBS! This PR changes the call tracer result slightly: - Order of type and value fields are changed (should not matter). - Output fields are completely omitted when they're empty (no more output: "0x"). Previously, this was only _sometimes_ omitted (e.g. when call ended in a non-revert error) and otherwise 0x when the output was actually empty. * cmd, core, eth, les, light: track deleted nodes (ethereum#25757) * cmd, core, eth, les, light: track deleted nodes * trie: add docs * trie: address comments * cmd, core, eth, les, light, trie: trie id * trie: add tests * trie, core: updates * trie: fix imports * trie: add utility print-method for nodeset * trie: import err * trie: fix go vet warnings Co-authored-by: Martin Holst Swende <martin@swende.se> * eth: return state error via GetEVM (ethereum#25876) * make vmError more useful * fix for review * Update api.go * revert calling site Co-authored-by: rjl493456442 <garyrong0905@gmail.com> * eth/downloader: make flakey test less flakey (ethereum#25879) * ethclient/gethclient: fix bugs in override object encoding (ethereum#25616) This fixes a bug where contract code would be overridden to empty code ("0x") when the Code field of OverrideAccount was left nil. The change also cleans up the encoding of overrides to only send necessary fields, and improves documentation. Fixes ethereum#25615 Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: Martin Holst Swende <martin@swende.se> * trie, eth/protocols/snap: less tiny db-writes during trie-healing (ethereum#25681) This PR prevent making tiny writes during state healing, by only performing the batch-write if the accumulated data is large enough to be meaningful. * accounts/abi/bind/backends: fix AdjustTime to respect Fork (ethereum#25225) * tests: report mgas/s metric in evm benchmarks (ethereum#25700) * test(state): report mgas/s metric in EVM benchmark * revert testdata submodule update * aggregate mgas/s results * calculate elapsed time better * tests: benchmarks - handle access list + take refund into account Co-authored-by: Martin Holst Swende <martin@swende.se> * core/vm: minor trivial clean up (ethereum#25880) * dropped `vm.keccakState` for `crypto.KeccakState` * cleaned up `OpCode.IsPush()` * eth/tracers: fix a bug in prestateTracer (ethereum#25884) * internal/ethapi: handle odd length hex in decodeHash (ethereum#25883) This change adds zero-padding (prefix) of odd nibbles in the decodeHash function. Co-authored-by: ty <ty@oncoder.com> * core: rework tx indexer (ethereum#25723) This PR reworks tx indexer a bit. Compared to the original version, one scenario is no longer handled - upgrading from legacy geth without indexer support. The tx indexer was introduced in 2020 and have been present through hardforks, so it can be assumed that all Geth nodes have tx indexer already. So we can simplify the tx indexer logic a bit: - If the tail flag is not present, it means node is just initialized may or may not with an ancient store attached. In this case all blocks are regarded as unindexed - If the tail flag is present, it means blocks below tail are unindexed, blocks above tail are indexed This change also address some weird cornercases that could make the indexer not work after a crash. * accounts/abi: return toGoType error immediately (ethereum#25565) * eth/tracers: remove revertReasonTracer, add revert reason to callTracer (ethereum#25508) * eth/tracers: add revertReason to callTracer * update callframe gen json * add revertal to calltrace test * accounts/abi/bind: parse ABI only once on bind (ethereum#25574) * accounts/abi/bind: parse ABI once on bind * accounts/abi/bind: suppress 'imported and not used' error for abi package * internal/flags: fix issue with stringslice migration (ethereum#25830) This fixes a cornercase bug where the flag migration would mess up the value of StringSlice flags. * cmd/geth, cmd/utils: geth attach with custom headers (ethereum#25829) This PR makes it possible to set custom headers, in particular for two scenarios: - geth attach - geth commands which can use --remotedb, e..g geth db inspect The ability to use custom headers is typically useful for connecting to cloud-apis, e.g. providing an infura- or alchemy key, or for that matter access-keys for environments behind cloudflare. Co-authored-by: Felix Lange <fjl@twurst.com> * core/types: add a testcase to TestLegacyReceiptDecoding (ethereum#25909) add a testcase to TestLegacyReceiptDecoding * eth/protocols/snap: serve snap requests when possible (ethereum#25644) This PR makes it so that the snap server responds to trie heal requests when possible, even if the snapshot does not exist. The idea being that it might prolong the lifetime of a state root, so we don't have to pivot quite as often. * eth, miner: add timeout for building sealing block (ethereum#25407) * eth, miner: add timeout for building sealing block * eth, cmd, miner: add newpayloadtimeout flag * eth, miner, cmd: address comments * eth, miner: minor fixes Co-authored-by: Martin Holst Swende <martin@swende.se> * all: fix docstrings * core: fix linter complaint (ethereum#25927) * eth/tracers: add diffMode to prestateTracer (ethereum#25422) Backwards compatibility warning: The result will from now on omit empty fields instead of including a zero value (e.g. no more `balance: '0x'`). The prestateTracer will now take an option `diffMode: bool`. In this mode the tracer will output the pre state and post data for the modified parts of state. Read-only accesses will be completely omitted. Creations (be it account or slot) will be signified by omission in the `pre` list and inclusion in `post`. Whereas deletion (be it account or slot) will be signified by inclusion in `pre` and omission in `post` list. Signed-off-by: Delweng <delweng@gmail.com> * eth/traces: add state limit (ethereum#25812) This PR introduces a new mechanism in chain tracer for preventing creating too many trace states. The workflow of chain tracer can be divided into several parts: - state creator generates trace state in a thread - state tracer retrieves the trace state and applies the tracing on top in another thread - state collector gathers all result from state tracer and stream to users It's basically a producer-consumer model here, while if we imagine that the state producer generates states too fast, then it will lead to accumulate lots of unused states in memory. Even worse, in path-based state scheme it will only keep the latest 128 states in memory, and the newly generated state will invalidate the oldest one by marking it as stale. The solution for fixing it is to limit the speed of state generation. If there are over 128 states un-consumed in memory, then the creation will be paused until the states are be consumed properly. * core/bloombits: speed up windows-test (ethereum#25844) core/bloombits: remove micro-sleep * core, ethclient/gethclient: improve flaky tests (ethereum#25918) * ethclient/gethclient: improve time-sensitive flaky test * eth/catalyst: fix (?) flaky test * core: stop blockchains in tests after use * core: fix dangling blockchain instances * core: rm whitespace * eth/gasprice, eth/tracers, consensus/clique: stop dangling blockchains in tests * all: address review concerns * core: goimports * eth/catalyst: fix another time-sensitive test * consensus/clique: add snapshot test run function * core: rename stop() to stopWithoutSaving() Co-authored-by: Felix Lange <fjl@twurst.com> * node: prevent exposing engine API on unauthenticated endpoint (ethereum#25939) * node: prevent exposing engine API on unauthenticated endpoint * node: improve RPC setup * eth/filters: fix for eth_getLogs failing with finalized- and safe tag (ethereum#25922) Prior to this change, f.begin (and possibly end) stay negative, leading to strange results later in the code. With this change, filters using "safe" and "finalized" block produce results consistent w/ the overall behavior of this RPC method. Co-authored-by: Martin Holst Swende <martin@swende.se> * cmd/geth: fix help output issues (ethereum#25941) This update resolves an issue where StringSliceFlag would not be rendered correctly in help output + mention that -H can be used multiple times Co-authored-by: Martin Holst Swende <martin@swende.se> * accounts/usbwallet: support Ledger Nano S Plus and FTS (ethereum#25933) * usbwallet support Ledger Nano S Plus * accounts/usbwallet: add definitions + ref to ledger docs Co-authored-by: Martin Holst Swende <martin@swende.se> * all: fix spelling mistakes (ethereum#25961) * cmd/geth, core: fix typo in comment (ethereum#25954) * fix typo on comment * typo "can't accept" * core/rawdb: provide more info on 'gap in the chain' error (ethereum#25938) * core/types: add more context around ErrInvalidChainID (ethereum#25367) This changes the error message for mismatching chain ID to show the given and expected value. Callers expecting this error must be changed to use errors.Is. * common/math: optimized modexp (+ fuzzer) (ethereum#25525) This adds a * core/vm, tests: optimized modexp + fuzzer * common/math: modexp optimizations * core/vm: special case base 1 in big modexp * core/vm: disable fastexp * tests/fuzzers/modexp: gofmt (ethereum#25972) * node: drop support for static & trusted node list files (ethereum#25610) This changes the node setup to ignore datadir files static-nodes.json trusted-nodes.json When these files are present, it an error will be printed to the log. * accounts/keystore: faster tests (ethereum#25827) This PR removes some optimistic tests -- a'la "do something, wait a while, and hope it has trickled through and continue" -- and instead uses some introspection to ensure that prerequisites are met. * eth/protocols/eth: fix typo in log message (ethereum#25969) * eth/filters, ethclient/gethclient: add fullTx option to pending tx filter (ethereum#25186) This PR adds a way to subscribe to the _full_ pending transactions, as opposed to just being notified about hashes. In use cases where client subscribes to newPendingTransactions and gets txhashes only to then request the actual transaction, the caller can now shortcut that flow and obtain the transactions directly. Co-authored-by: Felix Lange <fjl@twurst.com> * go.mod: upgrade github.com/dop251/goja (ethereum#25955) This upgrade pulls in a fix to handling of 'continue' in loops. * eth/tracers: fix the issue of panic in prestate with diffmode (ethereum#25957) In some cases, inner contract creation may not be successful, and an inner contract was not created. This PR fixes a crash that could occur when doing tracing in such situations. * Revert "go.mod: upgrade github.com/dop251/goja" (ethereum#25975) Revert "go.mod: upgrade github.com/dop251/goja (ethereum#25955)" This reverts commit 9207e34. * common/math, tests/fuzzers: use big.Int clone (ethereum#26006) * common/math, tests/fuzzers: use big.Int clone * common/math: license * cmd/utils: enable snapshot generation in import-mode (ethereum#25990) This PR fixes a regression causing snapshots not to be generated in "geth --import" mode. It also fixes the geth export command to be truly readonly, and adds a new test for geth export. * core/rawdb: refactor db key prefix (ethereum#26000) Co-authored-by: seven <seven@nodereal.io> * core/rawdb: open meta file in read only mode (ethereum#26009) * internal/ethapi, accounts/abi/backends: use error defined in core (ethereum#26012) Co-authored-by: seven <seven@nodereal.io> * eth/tracers: fix the issue prestate missing existing contract state (ethereum#25996) The prestate tracer did not report accounts that existed at a given address prior to a contract being created at that address. Signed-off-by: Delweng <delweng@gmail.com> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com> * eth/tracers: simplify test framework (ethereum#25973) Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com> * all: refactor txpool into it's own package in prep for 4844 * core/types: rename tx files to group them better together * core, eth: for types with accurate size calcs, return uint64, not float (ethereum#26046) * core, eth: for types with accurate size calcs, return uint64, not float * core/types: proper tx size tests * core/types: extend tx size test with decoded sizes, fix error * core/txpool: fix linter Co-authored-by: Martin Holst Swende <martin@swende.se> * build: upgrade -dlgo version to Go 1.19.2 * accounts/scwallet: fix keycard data signing error (ethereum#25331) accounts/scwallet: fix keycard data signing * build: make ios work again (ethereum#26052) * core/vm: use optimized bigint (ethereum#26021) * eth/filters: change filter block to be by-ref (ethereum#26054) This PR changes the block field in the filter to be a pointer, to disambiguate between empty hash and no hash * core/rawdb: refactor db inspector for extending multiple ancient store (ethereum#25896) This PR ports a few changes from PBSS: - Fix the snapshot generator waiter in case the generation is not even initialized - Refactor db inspector for ancient store * cmd/evm: calc base fee if parent data is present (ethereum#26051) Currently, in order to chain together sequential valid t8n transitions the caller must manually calculate the block base fee. This PR adds support for the necessary parent fee market data to calculate the base fee for the current transition. Concretely, env is extended to accept the following: parentBaseFee parentGasUsed parentGasLimit Example usage can be found in ./cmd/evm/testdata/25. Co-authored-by: Martin Holst Swende <martin@swende.se> * eth/tracers: fix gasUsed for native and JS tracers (ethereum#26048) * eth/tracers: fix gasUsed in call tracer * fix js tracers gasUsed * fix legacy prestate tracer * fix restGas in test * drop intrinsicGas field from js tracers * cmd, eth: implement full-sync tester (ethereum#26035) This PR adds a parameter to startup, --synctarget. The synctarget flag is a developer-flag, that can be useful in some scenarios as a replacement for a CL node. It defines a fixed block sync target: geth --syncmode=full --synctarget=./block_15816882.hex_rlp The --synctarget is only made available during syncmode=full * rpc: update docstring (ethereum#26072) Co-authored-by: seven <seven@nodereal.io> * Fix trace call for inner reverts (ethereum#25971) Inner call reverts will now return the reason similar to the top-level call. Separately, if top-level call is of type CREATE and it fails, its `to` field will now be cleared to `0x00...00` instead of being set to the created address. * eth: implement eth/68 (ethereum#25980) * eth: implement eth/68 * eth/protocols/eth: added tx size to announcement * eth/protocols/eth: check equal lengths on receiving announcement * eth/protocols/eth: add +1 to tx size because of the type byte * eth: happy lint, add eth68 tests, enable eth68 * eth: various nitpick fixes on eth/68 * eth/protocols/eth: fix announced tx size wrt type byte Co-authored-by: MariusVanDerWijden <m.vanderwijden@live.de> Co-authored-by: Péter Szilágyi <peterke@gmail.com> * eth/tracers: add withLog to callTracer (ethereum#25991) In some cases, it is desirable to capture what is triggered by each trace, when using the `callTracer`. For example: call `USDT.transfer` will trigger a `Transfer(from, to, value)` event. This PR adds the option to capture logs to the call tracer, by specifying `{"withLog": true}` in the tracerconfig. Any logs belonging to failed/reverted call-scopes are removed from the output, to prevent interpretation mistakes. Signed-off-by: Delweng <delweng@gmail.com> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com> * eth/tracers: prestateTracer - exclude unchanged storage slots in diffMode (ethereum#25944) Fixes ethereum#25943 * accounts/abi: return error on fixed bytes with size larger than 32 bytes (ethereum#26075) * fixed bytes with size larger than 32 bytes is not allowed * add testcase * consensus/ethash: fix typo (ethereum#26016) fix typo * docs/postmortems: remove wrong parentheses (ethereum#26066) Removed parentheses in line 71 because line 80 doesn't have them either. * miner, eth: implement recommit mechanism for payload building (ethereum#25836) * miner, eth: implement recommit for payload building * miner: address comments from marius * miner: fail early if core.NewBlockChain fails (ethereum#26079) don't ignore errors returned by core.NewBlockChain when initializing tests * p2p/discover: fix handling of distance 256 in lookupDistances (ethereum#26087) Noticed that lookupDistances for FINDNODE requests didn't consider 256 a valid distance. This is actually part of the example in the comment above the function, surprised that wasn't tested before. * rlp: add more tests for nil pointer / optional field encoding (ethereum#26077) * rpc: handle wrong HTTP batch response length (ethereum#26064) * cmd/clef: add `list-accounts` and `list-wallets` to CLI (ethereum#26080) This commit adds support for two new commands to clef, making it possible to list accounts / wallets from the command-line-interface. Co-authored-by: Martin Holst Swende <martin@swende.se> * merge devnet-v3 with latest master, part 1 * crypto/bls12381: docs - fix broken links to references (ethereum#26095) Signed-off-by: Abirdcfly <fp544037857@gmail.com> Signed-off-by: Delweng <delweng@gmail.com> Signed-off-by: meows <b5c6@protonmail.com> Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Co-authored-by: rjl493456442 <garyrong0905@gmail.com> Co-authored-by: ucwong <ucwong@126.com> Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: zhiqiangxu <652732310@qq.com> Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Péter Szilágyi <peterke@gmail.com> Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com> Co-authored-by: xinbenlv <zzn@zzn.im> Co-authored-by: Abirdcfly <fp544037857@gmail.com> Co-authored-by: uji <49834542+uji@users.noreply.github.com> Co-authored-by: Marius Kjærstad <sandakersmann@users.noreply.github.com> Co-authored-by: Rachel Bousfield <nfranks@protonmail.com> Co-authored-by: Seungbae Yu <dbadoy4874@gmail.com> Co-authored-by: Jakub Freebit <49676311+jakub-freebit@users.noreply.github.com> Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com> Co-authored-by: xternet <majewski.post@gmail.com> Co-authored-by: protolambda <proto@protolambda.com> Co-authored-by: Joshua Gutow <jgutow@optimism.io> Co-authored-by: Amir Hossein <77993374+Kamandlou@users.noreply.github.com> Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org> Co-authored-by: Nicholas <nicholas.zhaoyu@gmail.com> Co-authored-by: Nicholas Zhao <nicholas.zhao@gmail.com> Co-authored-by: Benjamin Prosnitz <bprosnitz@gmail.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: pinkiebell <40266861+pinkiebell@users.noreply.github.com> Co-authored-by: George Carder <georgercarder@gmail.com> Co-authored-by: jwasinger <j-wasinger@hotmail.com> Co-authored-by: makcandrov <108467407+makcandrov@users.noreply.github.com> Co-authored-by: AtomicAzzaz <AtomicAzzaz@users.noreply.github.com> Co-authored-by: ewile <ewile@users.noreply.github.com> Co-authored-by: Delweng <delweng@gmail.com> Co-authored-by: Boqin@MetaSecureLabs <Bobbqqin@gmail.com> Co-authored-by: Sebastian Stammler <stammler.s@gmail.com> Co-authored-by: Zachinquarantine <Zachinquarantine@protonmail.com> Co-authored-by: omahs <73983677+omahs@users.noreply.github.com> Co-authored-by: Leon <316032931@qq.com> Co-authored-by: meowsbits <b5c6@protonmail.com> Co-authored-by: Janko Simonovic <simonovic86@gmail.com> Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com> Co-authored-by: lmittmann <lmittmann@users.noreply.github.com> Co-authored-by: TY <45994721+tylerK1294@users.noreply.github.com> Co-authored-by: ty <ty@oncoder.com> Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org> Co-authored-by: Mikhail Vazhnov <michael.vazhnov@gmail.com> Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com> Co-authored-by: jin <35813306+lochjin@users.noreply.github.com> Co-authored-by: Paul <41552663+molecula451@users.noreply.github.com> Co-authored-by: Jens W <8270201+DragonDev1906@users.noreply.github.com> Co-authored-by: s7v7nislands <s7v7nislands@gmail.com> Co-authored-by: seven <seven@nodereal.io> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com> Co-authored-by: Marius Kjærstad <mkjaerstad@protonmail.com> Co-authored-by: vdwijden <115323661+vdwijden@users.noreply.github.com> Co-authored-by: Sebastian Supreme <106926150+SebastianSupreme@users.noreply.github.com> Co-authored-by: Jordan Krage <jmank88@gmail.com> Co-authored-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com> * remove legacy kzg verification, put all initialization on top (#44) * add header & block fields for Withdrawals (#45) * add header & block fields for Withdrawals * Update cmd/evm/internal/t8ntool/block.go Co-authored-by: Inphi <mlaw2501@gmail.com> Co-authored-by: Inphi <mlaw2501@gmail.com> * use go-kzg PolyLinComb instead of local impl * make verify_kzg_proof apis more closely mimic the specs (#46) * move more low-level kzg stuff into kzg_new (#48) * start using custom types from the 4844 spec * move ComputePowers into kzg_new * 1) move BlobsToKZGCommitment functionality into kzg_new and make it more closely follow the spec. 2) Remove the BlobsBatch stuff which seems only to be for legacy benchmarking. * Replace kzg-related data_blob.go type methods Parse, ComputeCommitment, and Point, so we can move methods that depend on them into the kzg package. * Remove ComputeCommitments which is unused. * Add BytesToBLSField go kzg_new, use it instead of hashToFr * Update KZG library according to latest consensus spec changes (#49) * Replace kzg-related data_blob.go type methods Parse, ComputeCommitment, and Point, so we can move methods that depend on them into the kzg package. * Remove ComputeCommitments which is unused. * Migrate remaining EIP-4844 consensus spec code into kzg_new, updated to include the latest consensus spec updates. * Start implementing a bytes API with appropriate interfaces Also fix incorrect hash type (Keccac -> Sha256) when computing versioned hash. * pure bytes API for VerifyKZGProof per 3097, and move kzg_new back into kzg.go now that updates are near complete * rename verifyBlobs validateBlobTransactionWrapper per updated spec, and make implementation more closely follow it * fix tests & type bug in kzg verification * more consensus layer support in kzg package * remove aggregated proof from blobs bundle * propagate malformed blob errors when processing a sent transaction so that these get rejected * move more CL eip-4844 methods from prysm to shared lib (#50) Signed-off-by: Abirdcfly <fp544037857@gmail.com> Signed-off-by: Delweng <delweng@gmail.com> Signed-off-by: meows <b5c6@protonmail.com> Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Co-authored-by: rjl493456442 <garyrong0905@gmail.com> Co-authored-by: ucwong <ucwong@126.com> Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: zhiqiangxu <652732310@qq.com> Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Péter Szilágyi <peterke@gmail.com> Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com> Co-authored-by: xinbenlv <zzn@zzn.im> Co-authored-by: Abirdcfly <fp544037857@gmail.com> Co-authored-by: uji <49834542+uji@users.noreply.github.com> Co-authored-by: Marius Kjærstad <sandakersmann@users.noreply.github.com> Co-authored-by: Rachel Bousfield <nfranks@protonmail.com> Co-authored-by: Seungbae Yu <dbadoy4874@gmail.com> Co-authored-by: Jakub Freebit <49676311+jakub-freebit@users.noreply.github.com> Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com> Co-authored-by: xternet <majewski.post@gmail.com> Co-authored-by: protolambda <proto@protolambda.com> Co-authored-by: Joshua Gutow <jgutow@optimism.io> Co-authored-by: Amir Hossein <77993374+Kamandlou@users.noreply.github.com> Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org> Co-authored-by: Nicholas <nicholas.zhaoyu@gmail.com> Co-authored-by: Nicholas Zhao <nicholas.zhao@gmail.com> Co-authored-by: Benjamin Prosnitz <bprosnitz@gmail.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: pinkiebell <40266861+pinkiebell@users.noreply.github.com> Co-authored-by: George Carder <georgercarder@gmail.com> Co-authored-by: jwasinger <j-wasinger@hotmail.com> Co-authored-by: makcandrov <108467407+makcandrov@users.noreply.github.com> Co-authored-by: AtomicAzzaz <AtomicAzzaz@users.noreply.github.com> Co-authored-by: ewile <ewile@users.noreply.github.com> Co-authored-by: Delweng <delweng@gmail.com> Co-authored-by: Boqin@MetaSecureLabs <Bobbqqin@gmail.com> Co-authored-by: Sebastian Stammler <stammler.s@gmail.com> Co-authored-by: Zachinquarantine <Zachinquarantine@protonmail.com> Co-authored-by: omahs <73983677+omahs@users.noreply.github.com> Co-authored-by: Leon <316032931@qq.com> Co-authored-by: meowsbits <b5c6@protonmail.com> Co-authored-by: Janko Simonovic <simonovic86@gmail.com> Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com> Co-authored-by: lmittmann <lmittmann@users.noreply.github.com> Co-authored-by: TY <45994721+tylerK1294@users.noreply.github.com> Co-authored-by: ty <ty@oncoder.com> Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org> Co-authored-by: Mikhail Vazhnov <michael.vazhnov@gmail.com> Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com> Co-authored-by: jin <35813306+lochjin@users.noreply.github.com> Co-authored-by: Paul <41552663+molecula451@users.noreply.github.com> Co-authored-by: Jens W <8270201+DragonDev1906@users.noreply.github.com> Co-authored-by: s7v7nislands <s7v7nislands@gmail.com> Co-authored-by: seven <seven@nodereal.io> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com> Co-authored-by: Marius Kjærstad <mkjaerstad@protonmail.com> Co-authored-by: vdwijden <115323661+vdwijden@users.noreply.github.com> Co-authored-by: Sebastian Supreme <106926150+SebastianSupreme@users.noreply.github.com> Co-authored-by: Jordan Krage <jmank88@gmail.com> Co-authored-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com> Co-authored-by: Inphi <mlaw2501@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 60ce55a - Browse repository at this point
Copy the full SHA 60ce55aView commit details
Commits on Nov 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 381b51e - Browse repository at this point
Copy the full SHA 381b51eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a720ac1 - Browse repository at this point
Copy the full SHA a720ac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ef8a4d - Browse repository at this point
Copy the full SHA 3ef8a4dView commit details
Commits on Nov 18, 2022
-
Merge pull request #54 from kevaundray/kw/hash-to-field
Modifies HashToBlsField to not use codec.NewWriter
Configuration menu - View commit details
-
Copy full SHA for c4dbf02 - Browse repository at this point
Copy the full SHA c4dbf02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a58261 - Browse repository at this point
Copy the full SHA 6a58261View commit details -
Merge pull request #55 from kevaundray/kw/fix-hash-to-bls-field
Write PolyDegree and Number of polynomials to the buffer
Configuration menu - View commit details
-
Copy full SHA for 0bb217d - Browse repository at this point
Copy the full SHA 0bb217dView commit details
Commits on Nov 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fa6027f - Browse repository at this point
Copy the full SHA fa6027fView commit details
Commits on Nov 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c60610c - Browse repository at this point
Copy the full SHA c60610cView commit details
Commits on Nov 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9313891 - Browse repository at this point
Copy the full SHA 9313891View commit details
Commits on Nov 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dfddf51 - Browse repository at this point
Copy the full SHA dfddf51View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1f7d86 - Browse repository at this point
Copy the full SHA f1f7d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for d75b06d - Browse repository at this point
Copy the full SHA d75b06dView commit details
Commits on Nov 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 389ad0a - Browse repository at this point
Copy the full SHA 389ad0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a35ae26 - Browse repository at this point
Copy the full SHA a35ae26View commit details -
Configuration menu - View commit details
-
Copy full SHA for b91cb5e - Browse repository at this point
Copy the full SHA b91cb5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdeb627 - Browse repository at this point
Copy the full SHA fdeb627View commit details
Commits on Nov 24, 2022
-
Merge pull request #57 from mdehoog/merge-with-master
Merge with master
Configuration menu - View commit details
-
Copy full SHA for c7541cd - Browse repository at this point
Copy the full SHA c7541cdView commit details
Commits on Nov 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 34980a3 - Browse repository at this point
Copy the full SHA 34980a3View commit details
Commits on Nov 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d287418 - Browse repository at this point
Copy the full SHA d287418View commit details
Commits on Nov 28, 2022
-
Merge pull request #63 from mdehoog/fix-hash
make Transaction.Hash() invoke SSZ hash for blob txs
Configuration menu - View commit details
-
Copy full SHA for ef12c39 - Browse repository at this point
Copy the full SHA ef12c39View commit details -
Merge pull request #62 from mdehoog/revert-intrinsic-gas
revert changes to IntrinsicGas from earlier EIP-4844 work
Configuration menu - View commit details
-
Copy full SHA for 536fa4b - Browse repository at this point
Copy the full SHA 536fa4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4a5151 - Browse repository at this point
Copy the full SHA d4a5151View commit details -
Merge pull request #64 from mdehoog/roberto-dev
update header sanity check & storage size estimates to consider new fields
Configuration menu - View commit details
-
Copy full SHA for 210ecb7 - Browse repository at this point
Copy the full SHA 210ecb7View commit details
Commits on Nov 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b75e1a6 - Browse repository at this point
Copy the full SHA b75e1a6View commit details -
Merge pull request #65 from mdehoog/roberto-dev
copy/pasta more of the Withdrawals PR
Configuration menu - View commit details
-
Copy full SHA for f9f2e60 - Browse repository at this point
Copy the full SHA f9f2e60View commit details
Commits on Nov 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1bc36d6 - Browse repository at this point
Copy the full SHA 1bc36d6View commit details -
Merge pull request #66 from mdehoog/update-kzg
update go-kzg to latest and fix affected precompile test case
Configuration menu - View commit details
-
Copy full SHA for 786c595 - Browse repository at this point
Copy the full SHA 786c595View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54ff50e - Browse repository at this point
Copy the full SHA 54ff50eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4ed254 - Browse repository at this point
Copy the full SHA e4ed254View commit details
Commits on Dec 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 72f4850 - Browse repository at this point
Copy the full SHA 72f4850View commit details -
Merge pull request #67 from mdehoog/remove-kzg-cruft
remove unused kzg related utility
Configuration menu - View commit details
-
Copy full SHA for 3b9c1aa - Browse repository at this point
Copy the full SHA 3b9c1aaView commit details -
Merge pull request #68 from mdehoog/roberto-dev
initialize empty slices in blobs bundle
Configuration menu - View commit details
-
Copy full SHA for d5563a1 - Browse repository at this point
Copy the full SHA d5563a1View commit details
Commits on Dec 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f2d8e79 - Browse repository at this point
Copy the full SHA f2d8e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9531e8 - Browse repository at this point
Copy the full SHA a9531e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01d1f49 - Browse repository at this point
Copy the full SHA 01d1f49View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7464d9 - Browse repository at this point
Copy the full SHA f7464d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f6d871 - Browse repository at this point
Copy the full SHA 6f6d871View commit details
Commits on Dec 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dac0e11 - Browse repository at this point
Copy the full SHA dac0e11View commit details -
Merge pull request #73 from mdehoog/time-based-forking
Time based forking
Configuration menu - View commit details
-
Copy full SHA for b2d6f07 - Browse repository at this point
Copy the full SHA b2d6f07View commit details
Commits on Dec 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for adac24d - Browse repository at this point
Copy the full SHA adac24dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa30be - Browse repository at this point
Copy the full SHA 6fa30beView commit details -
Merge pull request #75 from mdehoog/roberto-dev
update 4844 parameters per latest spec
Configuration menu - View commit details
-
Copy full SHA for ff64102 - Browse repository at this point
Copy the full SHA ff64102View commit details
Commits on Dec 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c4b56fd - Browse repository at this point
Copy the full SHA c4b56fdView commit details
Commits on Dec 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7f341c6 - Browse repository at this point
Copy the full SHA 7f341c6View commit details -
Merge pull request #78 from mdehoog/merge-with-master
pull in latest changes from upstream geth
Configuration menu - View commit details
-
Copy full SHA for af6ec7c - Browse repository at this point
Copy the full SHA af6ec7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2644d77 - Browse repository at this point
Copy the full SHA 2644d77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70bca5a - Browse repository at this point
Copy the full SHA 70bca5aView commit details -
Merge pull request #79 from mdehoog/roberto-update
Address TODO that was preventing authenticated engine API
Configuration menu - View commit details
-
Copy full SHA for b697b44 - Browse repository at this point
Copy the full SHA b697b44View commit details
Commits on Dec 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5ac5c8f - Browse repository at this point
Copy the full SHA 5ac5c8fView commit details
Commits on Dec 13, 2022
-
Merge pull request #80 from mdehoog/fork2
update forkid computation for time-based forking
Configuration menu - View commit details
-
Copy full SHA for c312131 - Browse repository at this point
Copy the full SHA c312131View commit details
Commits on Dec 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b58bd9b - Browse repository at this point
Copy the full SHA b58bd9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c75e2d8 - Browse repository at this point
Copy the full SHA c75e2d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec55ffb - Browse repository at this point
Copy the full SHA ec55ffbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce68688 - Browse repository at this point
Copy the full SHA ce68688View commit details -
Configuration menu - View commit details
-
Copy full SHA for c29a6e1 - Browse repository at this point
Copy the full SHA c29a6e1View commit details
Commits on Dec 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 92cf4af - Browse repository at this point
Copy the full SHA 92cf4afView commit details -
Merge pull request #83 from mdehoog/cleanup
minor/cosmetic improvements to data gas handling in state transition
Configuration menu - View commit details
-
Copy full SHA for a915d56 - Browse repository at this point
Copy the full SHA a915d56View commit details
Commits on Dec 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 03149d7 - Browse repository at this point
Copy the full SHA 03149d7View commit details -
Merge pull request #84 from mdehoog/typo
fix wrong json field name for maxFeePerDataGas
Configuration menu - View commit details
-
Copy full SHA for cb237ac - Browse repository at this point
Copy the full SHA cb237acView commit details
Commits on Dec 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2bd3a3c - Browse repository at this point
Copy the full SHA 2bd3a3cView commit details
Commits on Jan 4, 2023
-
Make blob id hash computation include the signature, and make both si…
…gning hash and id hash computations hash the tx SSZ serialization instead of the tx ssz hash_tree_root per ethereum/EIPs#6245
Configuration menu - View commit details
-
Copy full SHA for b4d3e40 - Browse repository at this point
Copy the full SHA b4d3e40View commit details
Commits on Jan 6, 2023
-
Merge pull request #87 from mdehoog/blob-tx-hash2
update blob tx hash computations to use serialize instead of hash_tree_root
Configuration menu - View commit details
-
Copy full SHA for ed01dbb - Browse repository at this point
Copy the full SHA ed01dbbView commit details
Commits on Jan 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2b556db - Browse repository at this point
Copy the full SHA 2b556dbView commit details
Commits on Jan 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4c3a671 - Browse repository at this point
Copy the full SHA 4c3a671View commit details
Commits on Jan 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ff85f65 - Browse repository at this point
Copy the full SHA ff85f65View commit details
Commits on Jan 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eb84895 - Browse repository at this point
Copy the full SHA eb84895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a0b0e1 - Browse repository at this point
Copy the full SHA 4a0b0e1View commit details
Commits on Jan 16, 2023
-
Merge pull request #82 from mdehoog/merge-master
merge latest upstream commits
Configuration menu - View commit details
-
Copy full SHA for 2e2980d - Browse repository at this point
Copy the full SHA 2e2980dView commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ae5e685 - Browse repository at this point
Copy the full SHA ae5e685View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a774b - Browse repository at this point
Copy the full SHA d8a774bView commit details -
Configuration menu - View commit details
-
Copy full SHA for db177b8 - Browse repository at this point
Copy the full SHA db177b8View commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9db2778 - Browse repository at this point
Copy the full SHA 9db2778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fb9c3c - Browse repository at this point
Copy the full SHA 2fb9c3cView commit details -
Merge pull request #93 from mdehoog/merge
Merge with latest upstream
Configuration menu - View commit details
-
Copy full SHA for 845a510 - Browse repository at this point
Copy the full SHA 845a510View commit details
Commits on Jan 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cbd067e - Browse repository at this point
Copy the full SHA cbd067eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3461d23 - Browse repository at this point
Copy the full SHA 3461d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20d3ce8 - Browse repository at this point
Copy the full SHA 20d3ce8View commit details
Commits on Jan 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2ef8c3c - Browse repository at this point
Copy the full SHA 2ef8c3cView commit details -
Merge pull request #94 from mdehoog/json-bug
fix bug in json unmarshaling missing blob tx datagas field
Configuration menu - View commit details
-
Copy full SHA for 5e5214d - Browse repository at this point
Copy the full SHA 5e5214dView commit details
Commits on Feb 1, 2023
-
Replaces go-kzg with gnark-kzg (#95)
* change go-kzg for gnark-kzg * go mod * Fix blob_tx MarshalText --------- Co-authored-by: inphi <mlaw2501@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 39ef7d7 - Browse repository at this point
Copy the full SHA 39ef7d7View commit details
Commits on Feb 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ad5a771 - Browse repository at this point
Copy the full SHA ad5a771View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e0fd7 - Browse repository at this point
Copy the full SHA 61e0fd7View commit details
Commits on Feb 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5b3ce90 - Browse repository at this point
Copy the full SHA 5b3ce90View commit details -
access lists on blob txs should always be non-nil
Roberto Bayardo committedFeb 7, 2023 Configuration menu - View commit details
-
Copy full SHA for a3253b1 - Browse repository at this point
Copy the full SHA a3253b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 367f3d9 - Browse repository at this point
Copy the full SHA 367f3d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c1325 - Browse repository at this point
Copy the full SHA 38c1325View commit details -
Merge pull request #97 from mdehoog/upstream-merge
Merge latest from upstream
Configuration menu - View commit details
-
Copy full SHA for cbe4964 - Browse repository at this point
Copy the full SHA cbe4964View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ef900 - Browse repository at this point
Copy the full SHA d3ef900View commit details -
Merge pull request #99 from mdehoog/accesslist-fix
access lists & versioned hashes on blob txs should always be non-nil
Configuration menu - View commit details
-
Copy full SHA for 83bc851 - Browse repository at this point
Copy the full SHA 83bc851View commit details -
Merge pull request #100 from mdehoog/eip4844-tests
Fix syntax errors in tests
Configuration menu - View commit details
-
Copy full SHA for 8444ecf - Browse repository at this point
Copy the full SHA 8444ecfView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdafa4d - Browse repository at this point
Copy the full SHA bdafa4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea15afa - Browse repository at this point
Copy the full SHA ea15afaView commit details
Commits on Feb 8, 2023
-
Ensures that the EIP-4844 Signer (DankSigner) includes the appropriate chainID to the signing hash.
Configuration menu - View commit details
-
Copy full SHA for 2731415 - Browse repository at this point
Copy the full SHA 2731415View commit details -
Merge pull request #98 from marioevz/eip-4844-fix-t8n
cmd/evm: add excess data gas to t8n environment
Configuration menu - View commit details
-
Copy full SHA for 6cc08ec - Browse repository at this point
Copy the full SHA 6cc08ecView commit details -
Merge pull request #101 from mdehoog/eip4844-tests
Fix EIP-4844 Signer hash
Configuration menu - View commit details
-
Copy full SHA for dc1f4a3 - Browse repository at this point
Copy the full SHA dc1f4a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a87ce6 - Browse repository at this point
Copy the full SHA 2a87ce6View commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3098528 - Browse repository at this point
Copy the full SHA 3098528View commit details -
Merge pull request #103 from mdehoog/opt-al2
Optional access list in BlobTx unmarshaling
Configuration menu - View commit details
-
Copy full SHA for 3584bf7 - Browse repository at this point
Copy the full SHA 3584bf7View commit details
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 972f739 - Browse repository at this point
Copy the full SHA 972f739View commit details -
Merge pull request #104 from mdehoog/eip-4844-merge
Merge latest from upstream
Configuration menu - View commit details
-
Copy full SHA for 5ee2738 - Browse repository at this point
Copy the full SHA 5ee2738View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dd7fdaa - Browse repository at this point
Copy the full SHA dd7fdaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f1ffee - Browse repository at this point
Copy the full SHA 3f1ffeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e59877 - Browse repository at this point
Copy the full SHA 0e59877View commit details -
Configuration menu - View commit details
-
Copy full SHA for 052b8b9 - Browse repository at this point
Copy the full SHA 052b8b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 602ad1f - Browse repository at this point
Copy the full SHA 602ad1fView commit details -
Merge pull request #105 from kevaundray/kw/crypto-free-the-blobs
Update code for free the blobs
Configuration menu - View commit details
-
Copy full SHA for b64dfe5 - Browse repository at this point
Copy the full SHA b64dfe5View commit details
Commits on Mar 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 81828d7 - Browse repository at this point
Copy the full SHA 81828d7View commit details
Commits on Mar 17, 2023
-
Merge with latest upstream (#107)
* travis, build: update Go to 1.20.1 (ethereum#26653) travis, build: update Go to 1.20 * core: check genesis state presence by disk read (ethereum#26703) * core, eth/downloader: make body validation more strict (ethereum#26704) * eth/downloader: fix empty-body case in queue fetchresult (ethereum#26707) * eth/downloader: fix typo (ethereum#26716) * all: remove deprecated uses of math.rand (ethereum#26710) This PR is a (superior) alternative to ethereum#26708, it handles deprecation, primarily two specific cases. `rand.Seed` is typically used in two ways - `rand.Seed(time.Now().UnixNano())` -- we seed it, just to be sure to get some random, and not always get the same thing on every run. This is not needed, with global seeding, so those are just removed. - `rand.Seed(1)` this is typically done to ensure we have a stable test. If we rely on this, we need to fix up the tests to use a deterministic prng-source. A few occurrences like this has been replaced with a proper custom source. `rand.Read` has been replaced by `crypto/rand`.`Read` in this PR. * params: go-ethereum v1.11.1 stable * params: begin v1.11.2 release cycle * eth/catalyst: send INVALID instead of INVALID_BLOCK_HASH (ethereum#26696) This change will break one hive test, but pass another and it will be the better way going forward * ci: disable coverage reporting in appveyor and travis * eth/catalyst: request too large error (ethereum#26722) The method `GetPayloadBodiesByRangeV1` now returns "-38004: Too large request" error if the requested range is too large, according to spec Co-authored-by: Martin Holst Swende <martin@swende.se> * core/trie: remove trie tracer (ethereum#26665) This PR contains a small portion of the full pbss PR, namely Remove the tracer from trie (and comitter), and instead using an accessList. Related changes to the Nodeset. --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com> * rpc: fix unmarshaling of null result in CallContext (ethereum#26723) The change fixes unmarshaling of JSON null results into json.RawMessage. --------- Co-authored-by: Jason Yuan <jason.yuan@curvegrid.com> Co-authored-by: Jason Yuan <jason.yuan869@gmail.com> * build: ship bootstrapper Go along with builder for PPA (ethereum#26731) * build: fix setting env var, temp early exit * build: fix gobootstrap path for the PPA * build: add some PPA debug logs, sigh * internal/build: revert raising the chunk size for PPA * build: yet another weird PPA fix * build: fix (finaly?) the PPA env vars for Go bootstrapping * build: fix Go 1.19.0 bootstrapper issues on 386 PPA * build: enable Lunar Lobster PPA builds * Revert "core/trie: remove trie tracer (ethereum#26665)" (ethereum#26732) This reverts commit 7c749c9. * cmd/geth: clarify dumpconfig options (ethereum#26729) Clarifies the documentation around dumpconfi Signed-off-by: Sungwoo Kim <git@sung-woo.kim> * core, eth: merge snap-sync chain download progress logs (ethereum#26676) * core: fix accessor mismatch for genesis state (ethereum#26747) * core/rawdb: expose chain freezer constructor without internals (ethereum#26748) * all: use unified emptyRootHash and emptyCodeHash (ethereum#26718) The EmptyRootHash and EmptyCodeHash are defined everywhere in the codebase, this PR replaces all of them with unified one defined in core/types package, and also defines constants for TxRoot, WithdrawalsRoot and UncleRoot * eth/filters: fix a breaking change and return rpctransaction (ethereum#26757) * eth/filters: fix a breaking change and return rpctransaction * eth/filters: fix test cases --------- Co-authored-by: Catror <me@catror.com> * common/math: allow HexOrDecimal to accept unquoted decimals too (ethereum#26758) * params: release Geth v1.11.2 * params: begin v.1.11.3 release cycle * log: improve documentation (ethereum#26753) Add usage examples * core/rawdb, node: use standalone flock dependency (ethereum#26633) * eth: use the last announced finalized block as the sync ancient limit (ethereum#26685) * cmd/devp2p: faster crawling + less verbose dns updates (ethereum#26697) This improves the speed of DHT crawling by using concurrent requests. It also removes logging of individual DNS updates. * eth/tracers: add native flatCallTracer (aka parity style tracer) (ethereum#26377) Adds support for a native call tracer with the Parity format, which outputs call frames in a flat array. This tracer accepts the following options: - `convertParityErrors: true` will convert error messages to match those of Parity - `includePrecompiles: true` will report all calls to precompiles. The default matches Parity's behavior where CALL and STATICCALLs to precompiles are excluded Incompatibilities with Parity include: - Parity removes the result object in case of failure. This behavior is maintained with the exception of reverts. Revert output usually contains useful information, i.e. Solidity revert reason. - The `gasUsed` field accounts for intrinsic gas (e.g. 21000 for simple transfers) and refunds unlike Parity - Block rewards are not reported Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com> * core: improve withdrawal index assignment in GenerateChain (ethereum#26756) This fixes an issue where the withdrawal index was not calculated correctly for multiple withdrawals in a single block. Co-authored-by: Gary Rong <garyrong0905@gmail.com> Co-authored-by: Felix Lange <fjl@twurst.com> * ethdb/pebble: fix range compaction (ethereum#26771) * ethdb/pebble: fix range compaction * ethdb/pebble: add comment * ethdb/pebble: fix max memorytable size (ethereum#26776) * ethclient: include withdrawals in ethclient block responses (ethereum#26778) * include withdrawals in ethclient responses * omit empty withdrawals array in json serialization * all: change chain head markers from block to header (ethereum#26777) * core/rawdb, ethdb/pebble: disable pebble on openbsd (ethereum#26801) * core: fix a merge fault (ethereum#26802) * README, go.mod, event, internal/version: bump min Go to 1.19 (ethereum#26803) * travi: remove strange leftover Go version * core, params: schedule Shanghai on goerli (ethereum#26795) * core: params: schedule Shanghai on goerli * core/forkid: fix comment * eth: remove admin.peers[i].eth.head and difficulty (ethereum#26804) * core/types: add EffectiveGasPrice in Receipt (ethereum#26713) This change adds a struct field EffectiveGasPrice in types.Receipt. The field is present in RPC responses, but not in the Go struct, and thus can't easily be accessed via ethclient. Co-authored-by: PulsarAI <dev@pulsar-systems.fi> * core, eth/catalyst: fix race conditions in tests (ethereum#26790) Fixes a race in TestNewPayloadOnInvalidTerminalBlock where setting the TTD raced with the miner. Solution: set the TTD on the blockchain config not the genesis config. Also fixes a race in CopyHeader which resulted in race reports all over the place. * metrics: improve accuracy of CPU gauges (ethereum#26793) This PR changes metrics collection to actually measure the time interval between collections, rather than assume 3 seconds. I did some ad hoc profiling, and on slower hardware (eg, my Raspberry Pi 4) I routinely saw intervals between 3.3 - 3.5 seconds, with some being as high as 4.5 seconds. This will generally cause the CPU gauge readings to be too high, and in some cases can cause impossibly large values for the CPU load metrics (eg. greater than 400 for a 4 core CPU). --------- Co-authored-by: Felix Lange <fjl@twurst.com> * ethclient: fix panic when requesting missing blocks (ethereum#26817) This fixes a regression introduced by ethereum#26723. Fixes ethereum#26816. * core, miner: revert block gas counter in case of invalid transaction (ethereum#26799) This change fixes a flaw where, in certain scenarios, the block sealer did not accurately reset the remaining gas after failing to include an invalid transaction. Fixes ethereum#26791 * internal/ethapi: add tests for transaction types JSON marshal/unmarshal (ethereum#26667) Checks that Transaction.MarshalJSON and newRPCTransaction JSON output can be parsed by Transaction.UnmarshalJSON --------- Co-authored-by: Martin Holst Swende <martin@swende.se> * cmd/evm: correct `alloc` for `t8n` testdata (ethereum#26822) Fixes a minor error in the testdata * eth/tracers/native: set created address to nil in case of failure (ethereum#26779) Fixes ethereum#26073 * accounts/usbwallet: mitigate ledger app chunking issue (ethereum#26773) This PR mitigates an issue with Ledger's on-device RLP deserialization, see LedgerHQ/app-ethereum#409 Ledger's RLP deserialization code does not validate the length of the RLP list received, and it may prematurely enter the signing flow when a APDU chunk boundary falls immediately before the EIP-155 chain_id when deserializing a transaction. Since the chain_id is uninitialized, it is 0 during this signing flow. This may cause the user to accidentally sign the transaction with chain_id = 0. That signature would be returned from the device 1 packet earlier than expected by the communication loop. The device blocks the second-to-last packet waiting for the signer flow, and then errors on the successive packet (which contains the chain_id, zeroed r, and zeroed s) Since the signature's early arrival causes successive errors during the communication process, geth does not parse the improper signature produced by the device, and therefore no improperly-signed transaction can be created. User funds are not at risk. We mitigate by selecting the highest chunk size that leaves at least 4 bytes in the final chunk. * beacon/engine: don't omit empty withdrawals in ExecutionPayloadBodies (ethereum#26698) This ensures the "withdrawals" field will always be present in responses to getPayloadBodiesByRangeV1 and getPayloadBodiesByHashV1. --------- Co-authored-by: Felix Lange <fjl@twurst.com> * build: update to go 1.20.2 (ethereum#26824) * params: go-ethereum v1.11.3 stable * params: begin v1.11.4 release cycle * core/rawdb: find smallest block stored in key-value store when chain gapped (ethereum#26719) This change prints out more information about the problem, in the case where geth detects a gap between leveldb and ancients, so we can determine more exactly where the gap is (what the first missing is). Also prints out more metadata. --------- Co-authored-by: Martin Holst Swende <martin@swende.se> * signer/core: accept all solidity primitive types for EIP-712 signing (ethereum#26770) Accept all primitive types in Solidity for EIP-712 from intN, uintN, intN[], uintN[] for N as 0 to 256 in multiples of 8 --------- Co-authored-by: Martin Holst Swende <martin@swende.se> * params: remove EF azure bootnodes (ethereum#26828) * core/vm: use golang native big.Int (ethereum#26834) reverts ethereum#26021, to use the upstream bigint instead. * core/vm: fix typo in comment (ethereum#26838) fixes eip 220 -> 2200 * core/forkid: fix issue in validation test (ethereum#26544) This changes the test to match the comment description. Using timestampedConfig in this test case is incorrect, the comment says 'local is at Gray Glacier' and isn't aware of more forks. * cmd/evm: update readmes for the tests (ethereum#26841) * core, core/types: plain Message struct (ethereum#25977) Here, the core.Message interface turns into a plain struct and types.Message gets removed. This is a breaking change to packages core and core/types. While we do not promise API stability for package core, we do for core/types. An exception can be made for types.Message, since it doesn't have any purpose apart from invoking the state transition in package core. types.Message was also marked deprecated by the same commit it got added in, 4dca5d4 (November 2016). The core.Message interface was added in December 2014, in commit db49417, for the purpose of 'testing' state transitions. It's the same change that made transaction struct fields private. Before that, the state transition used *types.Transaction directly. Over time, multiple implementations of the interface accrued across different packages, since constructing a Message is required whenever one wants to invoke the state transition. These implementations all looked very similar, a struct with private fields exposing the fields as accessor methods. By changing Message into a struct with public fields we can remove all these useless interface implementations. It will also hopefully simplify future changes to the type with less updates to apply across all of go-ethereum when a field is added to Message. --------- Co-authored-by: Felix Lange <fjl@twurst.com> * travis: only build PPAs nightly, not on every push, too heavy (ethereum#26846) * p2p: small comment typo (ethereum#26850) Update server.go * core: add Timestamp method in BlockGen (ethereum#26844) Since forks are now scheduled by block time, it can be necessary to check the timestamp of a block while generating transactions. * core/txpool: implement additional DoS defenses (ethereum#26648) This adds two new rules to the transaction pool: - A future transaction can not evict a pending transaction. - A transaction can not overspend available funds of a sender. --- Co-authored-by: dwn1998 <42262393+dwn1998@users.noreply.github.com> Co-authored-by: Martin Holst Swende <martin@swende.se> * params: go-ethereum v1.11.4 stable * params: begin v1.11.5 release cycle * tests: define `MuirGlacier` fork (ethereum#26856) add muir glacier to t8n * code/vm: fix comment typo (ethereum#26865) it should be constantinople rather than contantinople * core: minor code refactor (ethereum#26852) * core: refactor code * core: drop it from this anonymous goroutine func * core/txpool: use priceList.Put instead of heap.Push (ethereum#26863) Minor refactor to use the 'intended' accessor * eth: return error if 'safe' or 'finalized' tag used pre-merge (ethereum#26862) Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Felix Lange <fjl@twurst.com> * .travis.yml: reenable PPA build on tag push (ethereum#26873) * core/state, trie: port changes from PBSS (ethereum#26763) * p2p/discover: pass invalid discv5 packets to Unhandled channel (ethereum#26699) This makes it possible to run another protocol alongside discv5, by reading unhandled packets from the channel. * all: update links in documentation (ethereum#26882) Co-authored-by: Stephen Flynn <stephen.flynn@gapac.com> * Increase websocket frame size (from erigon rpc client) (ethereum#26883) This increases the maximum allowed message size to 32MB. Originally submitted at erigontech/erigon#2739 example block failure: https://etherscan.io/tx/0x1317d973a55cedf9b0f2df6ea48e8077dd176f5444a3423368a46d6e4db89982#internal * cmd/devp2p, cmd/geth: add version in --help output (ethereum#26895) Not sure why this was removed, it's pretty useful to see the version also in --help. * Update core/gaspool.go Co-authored-by: Inphi <mlaw2501@gmail.com> --------- Signed-off-by: Sungwoo Kim <git@sung-woo.kim> Co-authored-by: Péter Szilágyi <peterke@gmail.com> Co-authored-by: rjl493456442 <garyrong0905@gmail.com> Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: ucwong <ucwong@126.com> Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: Jason Yuan <jason.yuan@curvegrid.com> Co-authored-by: Jason Yuan <jason.yuan869@gmail.com> Co-authored-by: Sungwoo Kim <git@sung-woo.kim> Co-authored-by: Yier <90763233+yierx@users.noreply.github.com> Co-authored-by: Catror <me@catror.com> Co-authored-by: Nate Armstrong <naterarmstrong@gmail.com> Co-authored-by: Chris Ziogas <ziogaschr@gmail.com> Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com> Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com> Co-authored-by: Peter (bitfly) <1674920+peterbitfly@users.noreply.github.com> Co-authored-by: PulsarAI <dev@pulsar-systems.fi> Co-authored-by: turboboost55 <7891737+turboboost55@users.noreply.github.com> Co-authored-by: Adrian Sutton <adrian@symphonious.net> Co-authored-by: Guruprasad Kamath <48196632+gurukamath@users.noreply.github.com> Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Co-authored-by: James Prestwich <10149425+prestwich@users.noreply.github.com> Co-authored-by: Daniel Fernandes <711733+daferna@users.noreply.github.com> Co-authored-by: Rafael Matias <rafael@skyle.net> Co-authored-by: xiyang <90125263+JBossBC@users.noreply.github.com> Co-authored-by: panicalways <113693386+panicalways@users.noreply.github.com> Co-authored-by: dwn1998 <42262393+dwn1998@users.noreply.github.com> Co-authored-by: s7v7nislands <s7v7nislands@gmail.com> Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com> Co-authored-by: Stephen Flynn <ssflynn@gmail.com> Co-authored-by: Stephen Flynn <stephen.flynn@gapac.com> Co-authored-by: Jonathan Otto <jonathan.otto@gmail.com> Co-authored-by: Inphi <mlaw2501@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6713fd5 - Browse repository at this point
Copy the full SHA 6713fd5View commit details
Commits on Mar 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 82a204c - Browse repository at this point
Copy the full SHA 82a204cView commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d4c557d - Browse repository at this point
Copy the full SHA d4c557dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 029d8e7 - Browse repository at this point
Copy the full SHA 029d8e7View commit details -
Merge pull request #108 from mdehoog/inphi/fix-kzg-verify
Fix verification of blob txs
Configuration menu - View commit details
-
Copy full SHA for 22f9817 - Browse repository at this point
Copy the full SHA 22f9817View commit details -
Configuration menu - View commit details
-
Copy full SHA for becee4d - Browse repository at this point
Copy the full SHA becee4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50010e3 - Browse repository at this point
Copy the full SHA 50010e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for baefcc1 - Browse repository at this point
Copy the full SHA baefcc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23b9a14 - Browse repository at this point
Copy the full SHA 23b9a14View commit details -
Merge pull request #109 from kevaundray/kw/add-kzg-file
Add KZG file to go-ethereum
Configuration menu - View commit details
-
Copy full SHA for f3a382f - Browse repository at this point
Copy the full SHA f3a382fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72fef7d - Browse repository at this point
Copy the full SHA 72fef7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d0e1d - Browse repository at this point
Copy the full SHA a6d0e1dView commit details
Commits on Mar 23, 2023
-
Merge pull request #110 from kevaundray/kw/update-gnark
Updates to latest gnark which now uses derived types instead of type aliases
Configuration menu - View commit details
-
Copy full SHA for 8569d91 - Browse repository at this point
Copy the full SHA 8569d91View commit details -
Lazy KZG crypto context initialization
Initializing the crypto context is expensive. This prohibits usecases where go-ethereum needs to run for short-lived programs because initialization occurs at init-time. By moving initialization to its first use, we minimize init cost.
Configuration menu - View commit details
-
Copy full SHA for abf34ed - Browse repository at this point
Copy the full SHA abf34edView commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ae66830 - Browse repository at this point
Copy the full SHA ae66830View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a2dd17 - Browse repository at this point
Copy the full SHA 4a2dd17View commit details -
Configuration menu - View commit details
-
Copy full SHA for b51448c - Browse repository at this point
Copy the full SHA b51448cView commit details -
Merge pull request #102 from marioevz/fix-b11r-excess-data-gas
cmd/evm: fix `excessDataGas` marshalling in b11r
Configuration menu - View commit details
-
Copy full SHA for 4607abe - Browse repository at this point
Copy the full SHA 4607abeView commit details
Commits on Mar 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f40a4bc - Browse repository at this point
Copy the full SHA f40a4bcView commit details -
Use exposed identity point in gnark-kzg instead of having it as a har…
…dcoded constant in the tests
Configuration menu - View commit details
-
Copy full SHA for a1dcfc8 - Browse repository at this point
Copy the full SHA a1dcfc8View commit details -
Merge pull request #112 from kevaundray/kw/add-zero-constant
Use the exported ZERO point from gnark-kzg
Configuration menu - View commit details
-
Copy full SHA for 04c616f - Browse repository at this point
Copy the full SHA 04c616fView commit details
Commits on Mar 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b6f59c2 - Browse repository at this point
Copy the full SHA b6f59c2View commit details -
Update consensus/misc/eip4844.go
Co-authored-by: Roberto Bayardo <bayardo@alum.mit.edu>
Configuration menu - View commit details
-
Copy full SHA for 26975b6 - Browse repository at this point
Copy the full SHA 26975b6View commit details -
Merge pull request #113 from mdehoog/inphi/header-check-edg
Validate excess_data_gas value in block header
Configuration menu - View commit details
-
Copy full SHA for 37dc1f1 - Browse repository at this point
Copy the full SHA 37dc1f1View commit details -
Merge pull request #111 from mdehoog/inphi/init-kzg
Lazy KZG crypto context initialization
Configuration menu - View commit details
-
Copy full SHA for 5d6fa4f - Browse repository at this point
Copy the full SHA 5d6fa4fView commit details
Commits on Mar 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 48d9cea - Browse repository at this point
Copy the full SHA 48d9ceaView commit details
Commits on Mar 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9239edf - Browse repository at this point
Copy the full SHA 9239edfView commit details -
Merge pull request #114 from mdehoog/inphi/caps
Update engine capabilities set
Configuration menu - View commit details
-
Copy full SHA for e864ddd - Browse repository at this point
Copy the full SHA e864dddView commit details
Commits on Apr 4, 2023
-
Merge pull request #115 from marioevz/add-sharding-fork-transition-t8n
tests: Add ShanghaiToShardingAtTime15k
Configuration menu - View commit details
-
Copy full SHA for fef4acf - Browse repository at this point
Copy the full SHA fef4acfView commit details
Commits on Apr 17, 2023
-
update kzg lib to latest (#118)
* update kzg lib to latest * add check of len(proofs) per free the blobs * fix type / typo bugs * use test factory for blob wrapper test data
Configuration menu - View commit details
-
Copy full SHA for d0b90b3 - Browse repository at this point
Copy the full SHA d0b90b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea43bc1 - Browse repository at this point
Copy the full SHA ea43bc1View commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1782f74 - Browse repository at this point
Copy the full SHA 1782f74View commit details -
Merge pull request #119 from mdehoog/inphi/tx-type
Change Blob Transaction Type to 0x03
Configuration menu - View commit details
-
Copy full SHA for b72ce2e - Browse repository at this point
Copy the full SHA b72ce2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a05b83b - Browse repository at this point
Copy the full SHA a05b83bView commit details
Commits on Apr 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for df61e91 - Browse repository at this point
Copy the full SHA df61e91View commit details -
Merge pull request #120 from mdehoog/inphi/txpool-limit
txpool: Update blob tx wrap data size
Configuration menu - View commit details
-
Copy full SHA for 1ea2f96 - Browse repository at this point
Copy the full SHA 1ea2f96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15504a6 - Browse repository at this point
Copy the full SHA 15504a6View commit details -
properly unify payload/blob returning in API, add proofs to blob bund…
…le, reject 0-blob blob txs (#122)
Configuration menu - View commit details
-
Copy full SHA for 47cf187 - Browse repository at this point
Copy the full SHA 47cf187View commit details
Commits on Apr 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 16b76ac - Browse repository at this point
Copy the full SHA 16b76acView commit details -
Merge pull request #123 from mdehoog/kzg-to-commit
engine: Update BlobsBundle fields
Configuration menu - View commit details
-
Copy full SHA for 70807cd - Browse repository at this point
Copy the full SHA 70807cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f54b68 - Browse repository at this point
Copy the full SHA 6f54b68View commit details
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0927b9c - Browse repository at this point
Copy the full SHA 0927b9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 674b2b1 - Browse repository at this point
Copy the full SHA 674b2b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bf5349 - Browse repository at this point
Copy the full SHA 4bf5349View commit details -
Merge pull request #126 from mdehoog/cancun
Trigger EIP-4844 on Cancun fork
Configuration menu - View commit details
-
Copy full SHA for 7d7c642 - Browse repository at this point
Copy the full SHA 7d7c642View commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 04bc070 - Browse repository at this point
Copy the full SHA 04bc070View commit details
Commits on May 3, 2023
-
Merge pull request #125 from spencer-tb/len-blob-errors
Add blob length errors for engine api and transition tool.
Configuration menu - View commit details
-
Copy full SHA for ac64c44 - Browse repository at this point
Copy the full SHA ac64c44View commit details
Commits on May 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 853c366 - Browse repository at this point
Copy the full SHA 853c366View commit details