Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 23.10.x #6158

Closed
wants to merge 83 commits into from
Closed

Conversation

jflo
Copy link
Contributor

@jflo jflo commented Nov 10, 2023

Release 23.10.2

Breaking Changes

  • TX pool eviction in the legacy TX pool now favours keeping oldest transactions (more likely to evict higher nonces, less likely to introduce nonce gaps) #6106 and #6146

Deprecations

Additions and Improvements

  • Ethereum Classic Spiral network upgrade #6078
  • Add a method to read from a Memory instance without altering its inner state #6073
  • TraceService: return results for transactions in block #6086
  • Accept input and data field for the payload of transaction-related RPC methods #6094
  • Add APIs to set and get the min gas price a transaction must pay for being selected during block creation #6097
  • TraceService: return results for transactions in block #6086
  • New option --min-priority-fee that sets the minimum priority fee a transaction must meet to be selected for a block. #6080 #6083
  • Implement new miner_setMinPriorityFee and miner_getMinPriorityFee RPC methods #6080
  • Clique config option createemptyblocks to not create empty blocks #6082
  • Upgrade EVM Reference Tests to v13 (Cancun) #6114
  • Add yParity to GraphQL and JSON-RPC for relevant querise. 6119
  • Force tx replacement price bump to zero when zero base fee market is configured or --min-gas-price is set to 0. This allows for easier tx replacement in networks where there is not gas price. #6079
  • Introduce the possibility to limit the time spent selecting pending transactions during block creation, using the new experimental option Xblock-txs-selection-max-time on PoS and PoW networks (by default set to 5000ms) or Xpoa-block-txs-selection-max-time on PoA networks (by default 75% of the min block time) #6044

Bug fixes


Gabriel-Trintinalia and others added 30 commits October 4, 2023 19:18
Add the ability to configure more parameters in the fluent API.
Specifically contract address, coinbase, difficulty, mixHash/prevRandao,
baseFee, block number, timestamp, gas limit, previous block hashes, and
versioned hashes. Also create EVM forks parametrically instead of by 
a method name.

Signed-off-by: Danno Ferrin <[email protected]>
* re-ordering error reporting priority
* fixes fork checking on getPayload
* adds acceptance test reproducing an issue where built blocks have proofs > txs
* test coverage and fix for subtle re-org bug prior to proposals
---------

Signed-off-by: Justin Florentine <[email protected]>
* Tests for GraphQL Cancun fields

Add tests for GraphQL fields added to support cancun.
Also, re-work test case inclusion code and update tests impacted by
adding a new block to the chain.

Signed-off-by: Danno Ferrin <[email protected]>

* unneeded deltas in genesis file

Signed-off-by: Danno Ferrin <[email protected]>

---------

Signed-off-by: Danno Ferrin <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
…rn object instead of list (hyperledger#5995)

Signed-off-by: Gabriel-Trintinalia <[email protected]>
* Change Array Copying

Change array copying by re-using arrays when safe.

Signed-off-by: Danno Ferrin <[email protected]>

* spotless

Signed-off-by: Danno Ferrin <[email protected]>

* different bigint API

Signed-off-by: Danno Ferrin <[email protected]>

* straddle case

Signed-off-by: Danno Ferrin <[email protected]>

* less stack traces

Signed-off-by: Danno Ferrin <[email protected]>

* spotless

Signed-off-by: Danno Ferrin <[email protected]>

---------

Signed-off-by: Danno Ferrin <[email protected]>
This is to base the existed implementation of EIP-6110 from Shanghai to Cancun. As well, it updates the implementation according to the latest Engine API specification.

Changes include:
-  Remove 6110 related changes from engine_newPayloadV2 and engine_getPayloadV2
-  Rename deposits to depositReceipts in EnginePayloadParameter
-  Introduce engine_newPayloadV6110 and engine_getPayloadV6110 that are based on engine_newPayloadV3 and engine_getPayloadV3
-  Revamp the existed 6110 acceptance test

---

Signed-off-by: Navie Chan <[email protected]>
Signed-off-by: naviechan <[email protected]>
Signed-off-by: Simon Dudley <[email protected]>
…ts (hyperledger#6013)

* add method to disable root verification for T8n and not Reference tests

Signed-off-by: Karim TAAM <[email protected]>
…to the plugin when not transaction is not selected (hyperledger#6010)

Signed-off-by: Gabriel-Trintinalia <[email protected]>
)

change Transaction Validation and Selection Plugin to make them more useful

Signed-off-by: Stefan <[email protected]>
Signed-off-by: Stefan Pingel <[email protected]>
Co-authored-by: Gabriel-Trintinalia <[email protected]>
…5748)

This avoid that any dependency can include the jdk15 version in the distribution.
Signed-off-by: Fabio Di Fabio <[email protected]>
Signed-off-by: Sally MacFarlane <[email protected]>
Co-authored-by: vuittont60 <[email protected]>
---------

Signed-off-by: naviechan <[email protected]>
Signed-off-by: Navie Chan <[email protected]>
Signed-off-by: Simon Dudley <[email protected]>
* Add a cache to EthFeeHistory and improve rewards algorithm
* cache the rewards by hash instead of block number
* Add final on some fields

Signed-off-by: Ameziane H <[email protected]>
…ceipts and total difficulty) (hyperledger#6009)

* Add a flag --cache-last-blocks to cache last n blocks, The default value is 0

Signed-off-by: Ameziane H <[email protected]>
fab-10 and others added 24 commits October 31, 2023 09:27
…perledger#6067)

* Don't put NONCE_TOO_LOW transactions into the invalid nonce cache

Signed-off-by: Matthew Whitehead <[email protected]>

* Update unit tests

Signed-off-by: Matthew Whitehead <[email protected]>

* Use list of errors to ignore

Signed-off-by: Matthew Whitehead <[email protected]>

---------

Signed-off-by: Matthew Whitehead <[email protected]>
Signed-off-by: Matt Whitehead <[email protected]>
Signed-off-by: Fabio Di Fabio <[email protected]>
Co-authored-by: Fabio Di Fabio <[email protected]>
Introduce a new Journaled World State Updater. Within a transaction it
keeps one copy of account and storage state, restoring previous 
revisions on reverts and exceptional halts. This updater only supports 
post-merge semantics with regard to empty accounts, namely that they do
not exist in world state.

Adds an EvmConfiguration option for stacked vs journaled updater, and
wire it in where needed. The staked updater is default mode, which is
the current behavior prior to this patch.

Signed-off-by: Danno Ferrin <[email protected]>
There was a slight problem on the bonsai side because all account reads did not go through a single method. One of the two add the account to the cache but the other did not. This had two consequences:

Less good performance because certain accounts had to be read several times and also all account reads were not marked in the trielog. This will fix both problems.

Signed-off-by: Karim TAAM <[email protected]>
v13 of the official Ethereum Reference Tests.

Signed-off-by: Danno Ferrin <[email protected]>
Update the GraphQL and JSON-RPC endpoints to provide `yParity` instead
of `v` for non-legacy transactions.
Update the JSON-RPC tests to use the Hive data. Add tests for Shanghai
and Cancun Blocks.

Signed-off-by: Danno Ferrin <[email protected]>
* Revert "Log missing chain head as warning, not trace (hyperledger#6127)"
* leave chain head at warning, just revert the discard warning

Signed-off-by: garyschulte <[email protected]>
* Reverse added order and sequence number

Signed-off-by: Matthew Whitehead <[email protected]>

* Remove extraneous 'addedAt' check

Signed-off-by: Matthew Whitehead <[email protected]>

---------

Signed-off-by: Matthew Whitehead <[email protected]>
Signed-off-by: Fabio Di Fabio <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
…ution (hyperledger#6102)

* Delete leftPad when capturing the stack before and after the execution
* Still use leftPad when displaying the stack in the output (ex. for debug_traceTransaction)
* Fix integration test
* Use StringBuilder to left pad the hex representation of a 32 bytes

Signed-off-by: Ameziane H <[email protected]>
Fix the flakeiness in EthGetTransactionByHashTest as well as some other
sonar identified cleanup.

Signed-off-by: Danno Ferrin <[email protected]>
hyperledger#6146)

* Apply the same reverse sort order as hyperledger#6106 but to the base fee sorter

Signed-off-by: Matthew Whitehead <[email protected]>

* Fix unit tests

Signed-off-by: Matthew Whitehead <[email protected]>

* Update eviction unit tests to expect highest-sequence TXs be evicted first

Signed-off-by: Matthew Whitehead <[email protected]>

* Update change log

Signed-off-by: Matthew Whitehead <[email protected]>

* Spotless fixes

Signed-off-by: Matthew Whitehead <[email protected]>

---------

Signed-off-by: Matthew Whitehead <[email protected]>
@jflo jflo closed this Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.