- 23 Aug, 2023 5 commits
-
-
rjl493456442 authored
eth/catalyst: only enable full payload in dev mode
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Delweng authored
graphql: fix the panic of nil timer.Stop Signed-off-by:
jsvisa <delweng@gmail.com>
-
Martin Holst Swende authored
We're trying a new named pipe library, which should hopefully fix some occasional failures in CI. --------- Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 22 Aug, 2023 8 commits
-
-
Felix Lange authored
Fixes an error in tests of internal/ethapi.
-
Martin Holst Swende authored
The PR #26274 broke the evm statetest command a bit, in that it stopped spitting out the stateroot following a non-successful statetest-execution. This PR changes it back, so the stateroot is unconditionally output on stderr, and makes it so fuzzing works again.
-
Martin Holst Swende authored
This change implements "EIP 4788 : Beacon block root in the EVM". It implements version-2 of EPI-4788, main difference being that the contract is an actual contract rather than a precompile, as in #27289.
-
Marius van der Wijden authored
-
Martin Holst Swende authored
build: update to go 1.21
-
shuo authored
* typo: reply -> replay * rebuild
-
Delweng authored
Currently, we trigger the logic to (un)index transactions when the node receives a new block. However, in some cases the node may not receive new blocks (eg, when the Geth node is configured without peer discovery, or when it acts as an RPC node for historical-only data). In these situations, the Geth node user may not have previously configured txlookuplimit (i.e. the default of around one year), but later realizes they need to index all historical blocks. However, adding txlookuplimit=0 and restarting geth has no effect. This change makes it check for required indexing work once, on startup, to fix the issue. Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Delweng authored
Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 21 Aug, 2023 2 commits
-
-
jwasinger authored
Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Marius van der Wijden authored
-
- 18 Aug, 2023 3 commits
-
-
Marius van der Wijden authored
-
Marius van der Wijden authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Roberto Bayardo authored
Optimizations: - Previously, if a transaction was reverting, EstimateGas would exhibit worst-case behavior and binary search up to the max gas limit (~40 state-clone + tx executions). This change allows EstimateGas to return after only a single unconstrained execution in this scenario. - Uses the gas used from the unconstrained execution to bias the remaining binary search towards the likely solution in a simple way that doesn't impact the worst case. For a typical contract-invoking transaction, this reduces the median number of state-clone+executions from 25 to 18 (28% reduction). Cleanup: - added & improved function + code comments - correct the EstimateGas documentation to clarify the gas limit determination is at latest block, not pending, if the blockNr is unspecified.
-
- 17 Aug, 2023 2 commits
-
-
Delweng authored
ReadSkeletonHeader can return nil if the header is missing, so we should not access fields on it. Note that calling .Hash() on a nil header is fine, so there is no need to actually check for nil. Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Martin Holst Swende authored
This change fixes the a potential race by using mutexes when the m.cache is read or modified.
-
- 16 Aug, 2023 4 commits
-
-
lightclient authored
This changes the forkID calculation to ignore time-based forks that occurred before the genesis block. It's supposed to be done this way because the spec says: > If a chain is configured to start with a non-Frontier ruleset already in its genesis, that is NOT considered a fork.
-
lightclient authored
FromBig returns true *when overflow occurs*
-
Delweng authored
This raises the JSON-RPC batch request limits significantly for the engine API endpoint. The limits are now also hard-coded, so users won't get them wrong. I have chosen these limits: maximum batch items: 2000 maximum batch response size: 250MB While it would also be possible to disable batch limits completely for the engine API, I think having some limits is a good safety net against misbehaving CLs. Since this isn't configurable, we really want to ensure this limit will never become an issue in the CL/EL communication, so I set them quite high. --------- Signed-off-by:
jsvisa <delweng@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
-
- 15 Aug, 2023 4 commits
-
-
Joe Netti authored
This change fixes a bug in js tracer, where `ctx.GasPrice.toString(16)` returns a number string in base `10`.
-
Paweł Bylica authored
-
lonika authored
-
Delweng authored
-
- 14 Aug, 2023 3 commits
-
-
ucwong authored
-
Delweng authored
This fixes a regression where -txlookuplimit was not applied anymore.
-
Felix Lange authored
This PR removes the newly added txpool.Transaction wrapper type, and instead adds a way of keeping the blob sidecar within types.Transaction. It's better this way because most code in go-ethereum does not care about blob transactions, and probably never will. This will start mattering especially on the client side of RPC, where all APIs are based on types.Transaction. Users need to be able to use the same signing flows they already have. However, since blobs are only allowed in some places but not others, we will now need to add checks to avoid creating invalid blocks. I'm still trying to figure out the best place to do some of these. The way I have it currently is as follows: - In block validation (import), txs are verified not to have a blob sidecar. - In miner, we strip off the sidecar when committing the transaction into the block. - In TxPool validation, txs must have a sidecar to be added into the blobpool. - Note there is a special case here: when transactions are re-added because of a chain reorg, we cannot use the transactions gathered from the old chain blocks as-is, because they will be missing their blobs. This was previously handled by storing the blobs into the 'blobpool limbo'. The code has now changed to store the full transaction in the limbo instead, but it might be confusing for code readers why we're not simply adding the types.Transaction we already have. Code changes summary: - txpool.Transaction removed and all uses replaced by types.Transaction again - blobpool now stores types.Transaction instead of defining its own blobTx format for storage - the blobpool limbo now stores types.Transaction instead of storing only the blobs - checks to validate the presence/absence of the blob sidecar added in certain critical places
-
- 12 Aug, 2023 1 commit
-
-
Felix Lange authored
-
- 11 Aug, 2023 7 commits
-
-
Felix Lange authored
This upgrades to the latest release of ckzg, and also attempts to fix some blst-related build errors that occur on launchpad.net.
-
Péter Szilágyi authored
The Go authors updated golang/x/ext to change the function signature of the slices sort method. It's an entire shitshow now because x/ext is not tagged, so everyone's codebase just picked a new version that some other dep depends on, causing our code to fail building. This PR updates the dep on our code too and does all the refactorings to follow upstream...
-
Péter Szilágyi authored
-
DongXi Huang authored
Remove duplication in signer --------- Co-authored-by:
GDdark <huangdongxi@minijoy.work> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
This should fix #27726. With enough load, it might happen that the SetPongHandler callback gets invoked before the call to SetReadDeadline is made in pingLoop. When this occurs, the socket will end up with a 30s read deadline even though it got the pong, which will lead to a timeout. The fix here is processing the pong on pingLoop, synchronizing with the code that sends the ping.
-
Delweng authored
-
imulmat4 authored
-
- 10 Aug, 2023 1 commit
-
-
Péter Szilágyi authored
-