Skip to content

Add prove-dryrun script#69

Draft
Kourin1996 wants to merge 3 commits intoKourin1996/cherry-pick-preflight-scriptfrom
Kourin1996/prove-dryrun
Draft

Add prove-dryrun script#69
Kourin1996 wants to merge 3 commits intoKourin1996/cherry-pick-preflight-scriptfrom
Kourin1996/prove-dryrun

Conversation

@Kourin1996
Copy link

This PR adds prove-dryrun command that creates a real proof for specified game and call prove with the proof in forked Anvil network.

This code is based on upstream preflight script (ref: #68)

@Kourin1996 Kourin1996 marked this pull request as ready for review November 28, 2025 10:18
@Kourin1996 Kourin1996 force-pushed the Kourin1996/prove-dryrun branch from 2c5e623 to 1b6f5ee Compare December 5, 2025 05:34
* feat: add preflight check script for fp

* docs: update and fix

* chore: cleanup

* chore: default to .env.preflight

* chore: apply comments

* docs: add note about altda feature flags

* feat: introduce SET_IMPL_BLOCK env var

* refactor: make AGG_PROOF_MODE configurable

* chore: make USE_KMS_REQUESTER optional

* docs: make l1 beacon rpc required

* configurable CHUNK_SIZE

* fix: effective strategy

* fix

* cleanup

* docs

* docs

---------

Co-authored-by: Farhad Shabani <Farhad.Shabani@gmail.com>
@Kourin1996 Kourin1996 force-pushed the Kourin1996/cherry-pick-preflight-script branch from 7605505 to 00cc287 Compare December 8, 2025 12:58
@Kourin1996 Kourin1996 force-pushed the Kourin1996/prove-dryrun branch from 1b6f5ee to 49ac1e3 Compare December 8, 2025 12:59
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't it better to place it under scripts/utils/bin as PARALLEL_COST_ESTIMATOR_README.md?

- `L2_RPC`: L2 execution RPC URL
- `L2_NODE_RPC`: L2 consensus RPC URL
- `EIGENDA_PROXY_ADDRESS`: EigenDA proxy URL
- `USE_KMS_REQUESTER`: If `false`, expects `NETWORK_PRIVATE_KEY` to be an AWS KMS key ARN
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- `USE_KMS_REQUESTER`: If `false`, expects `NETWORK_PRIVATE_KEY` to be an AWS KMS key ARN
- `USE_KMS_REQUESTER`: If `true`, expects `NETWORK_PRIVATE_KEY` to be an AWS KMS key ARN

Comment on lines +39 to +40
- `GAME_TYPE`: Fault dispute game type (e.g., `42`)
- `PROPOSER_ADDRESS`: Proposer address
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need these variables?

Suggested change
- `GAME_TYPE`: Fault dispute game type (e.g., `42`)
- `PROPOSER_ADDRESS`: Proposer address

@Kourin1996 Kourin1996 force-pushed the Kourin1996/cherry-pick-preflight-script branch 2 times, most recently from 44a65a0 to a8c9241 Compare December 12, 2025 16:28
@Kourin1996 Kourin1996 marked this pull request as draft December 18, 2025 11:51
@Kourin1996
Copy link
Author

Changed it as a draft because #68 is blocked (the PR updates ELFs and we shouldn't merge before next release)

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