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

Write validation inputs to json file in working directory #2349

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

eljobe
Copy link
Member

@eljobe eljobe commented May 29, 2024

Adds a simple method for dumping validation inputs to file on disk in json format.

This file can be useful as input to a run of the arbitrator prover to validate block hashes at various states in the state transition function.

eljobe added 2 commits May 24, 2024 14:22
This method just writes the ValidationInputs to a file called
block_inputs_${BLOCK_ID}.json in the working directory.

This isn't super-useful on its own. But, it can be used as-is in tests
to get validation inputs for use with the arbitraror's benchbin binary
which can validate a block.
@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label May 29, 2024
@eljobe eljobe requested review from anodar and amsanghi May 30, 2024 11:54
Copy link
Contributor

@amsanghi amsanghi left a comment

Choose a reason for hiding this comment

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

LGTM

@eljobe eljobe merged commit 7373a4e into master Jun 3, 2024
10 checks passed
@eljobe eljobe deleted the input-writes branch June 3, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants