Skip to content

Update reference tests to 12.4#5899

Merged
macfarla merged 4 commits intohyperledger:mainfrom
shemnon:refrests-12.4
Sep 21, 2023
Merged

Update reference tests to 12.4#5899
macfarla merged 4 commits intohyperledger:mainfrom
shemnon:refrests-12.4

Conversation

@shemnon
Copy link
Contributor

@shemnon shemnon commented Sep 19, 2023

PR description

Update reference tests to 12.4

  • Some in-memory storage changed to ConcurrentMap
  • exclude cancun from all EIP tests, EIP-4788 still in flux
  • Add new fields to ReferenceTestEnv, and re-order the reflected constructor for clarity and ease of development.

Fixed Issue(s)

includes speculative changes for #5898 concurrency issue. services/kvstore/... can be dropped out if there are other fixes, but transient failures result in blockchain and general state tests when removed

Update reference tests to 12.4
* Some in-memory storage changed to ConcurrentMap
* exclude cancun from all EIP tests, EIP-4788 still in flux
* Add new fields to ReferenceTestEnv, and re-order the reflected
  constructor for clarity and ease of development.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
@shemnon shemnon requested a review from matkt September 19, 2023 19:41
@github-actions
Copy link

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

public ReferenceTestEnv(
@JsonProperty("beaconRoot") final String beaconRoot,
@JsonProperty("blockHashes") final Map<String, String> blockHashes,
@JsonProperty("ommers") final List<String> _ommers,

Check notice

Code scanning / CodeQL

Useless parameter

The parameter '_ommers' is never used.
@JsonProperty("parentGasLimit") final String parentGasLimit,
@JsonProperty("parentGasUsed") final String parentGasUsed,
@JsonProperty("parentTimestamp") final String parentTimestamp,
@JsonProperty("parentUncleHash") final String _parentUncleHash) {

Check notice

Code scanning / CodeQL

Useless parameter

The parameter '_parentUncleHash' is never used.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Copy link
Contributor

@matkt matkt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why I decided not to put a concurrenthashmap. anyway it's good for me

@macfarla macfarla enabled auto-merge (squash) September 21, 2023 04:04
@macfarla macfarla merged commit db8bd9d into hyperledger:main Sep 21, 2023
jflo pushed a commit to jflo/besu that referenced this pull request Nov 10, 2023
* Update reference tests to 12.4

Update reference tests to 12.4
* Some in-memory storage changed to ConcurrentMap
* exclude cancun from all EIP tests, EIP-4788 still in flux
* Add new fields to ReferenceTestEnv, and re-order the reflected
  constructor for clarity and ease of development.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>

* spotless

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>

---------

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
NickSneo pushed a commit to NickSneo/besu that referenced this pull request Nov 12, 2023
* Update reference tests to 12.4

Update reference tests to 12.4
* Some in-memory storage changed to ConcurrentMap
* exclude cancun from all EIP tests, EIP-4788 still in flux
* Add new fields to ReferenceTestEnv, and re-order the reflected
  constructor for clarity and ease of development.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>

* spotless

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>

---------

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
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.

3 participants