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

Retesteth Tool #357

Merged
merged 47 commits into from
Oct 2, 2024
Merged

Retesteth Tool #357

merged 47 commits into from
Oct 2, 2024

Conversation

praetoriansentry
Copy link
Contributor

@praetoriansentry praetoriansentry commented Aug 27, 2024

Description

The main focus of this PR is to add a small too which could take test fillers for retesteth and marshal them into a form that that can be used to generate RPC level tests for cast or assertoor.

Right now the tool can handle some of the basics, but there are a bunch of gaps like:

  • Storage slot initialization
  • Access handling
  • Matrixed values, and gas limits
  • Tests that use the special solidity field

Even if all of those worked, there are always going to be severe limitiations with this approach because the exact pass/fail status of these transactions can't be asserted with the same degree of confidence that we might have in the test environment. We can't control the blocks, state, or genesis.

This PR also includes some other odds and ends like:

  • Minor changes to the ENR format
  • A command to produce a poseidon hash
  • Improved connection management within loadtest

@praetoriansentry praetoriansentry marked this pull request as ready for review October 1, 2024 22:45
cmd/loadtest/loadtest.go Outdated Show resolved Hide resolved
cmd/retest/retest.go Outdated Show resolved Hide resolved
cmd/retest/retest.go Outdated Show resolved Hide resolved
cmd/retest/retest.go Outdated Show resolved Hide resolved
cmd/retest/usage.md Outdated Show resolved Hide resolved
@praetoriansentry praetoriansentry merged commit 6e5ed41 into main Oct 2, 2024
5 checks passed
@praetoriansentry praetoriansentry deleted the jhilliard/poseidongold-hash-function branch October 2, 2024 12:21
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