Skip to content

update template for fault proof upgrade resulting in new absolute prestate #320

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

Merged
merged 1 commit into from
Apr 18, 2025

Conversation

jackchuma
Copy link
Contributor

Fixes out-of-date contracts and adds necessary Makefile commands. Refers to https://github.com/base/contract-deployments/tree/main/sepolia/2025-04-14-upgrade-fault-proofs

@jackchuma jackchuma requested a review from Copilot April 16, 2025 21:49
@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Apr 16, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 2/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the upgrade template for fault proofs by modifying compiler settings and removing outdated validation documentation.

  • Adjusted the optimizer configuration in foundry.toml and removed the explicit solc_version setting.
  • Removed the outdated VALIDATION.md file that detailed state validation instructions.

Reviewed Changes

Copilot reviewed 2 out of 6 changed files in this pull request and generated no comments.

File Description
setup-templates/template-upgrade-fault-proofs/foundry.toml Updated optimizer_runs value and removed solc_version pinning to reflect new compilation requirements.
setup-templates/template-upgrade-fault-proofs/VALIDATION.md Removed outdated documentation for state validation.
Files not reviewed (4)
  • setup-templates/template-upgrade-fault-proofs/.env: Language not supported
  • setup-templates/template-upgrade-fault-proofs/Makefile: Language not supported
  • setup-templates/template-upgrade-fault-proofs/script/DeployDisputeGames.s.sol: Language not supported
  • setup-templates/template-upgrade-fault-proofs/script/UpgradeDGF.s.sol: Language not supported
Comments suppressed due to low confidence (3)

setup-templates/template-upgrade-fault-proofs/foundry.toml:7

  • The solc_version pinning has been removed, which could lead to unexpected compiler version behavior. Consider specifying a compiler version to ensure consistent compilation.
solc_version = "0.8.15"

setup-templates/template-upgrade-fault-proofs/VALIDATION.md:1

  • The removal of the VALIDATION.md file deletes previously provided state validation guidelines. Confirm that the essential validation instructions have been migrated or are no longer required.
Deleted file VALIDATION.md

setup-templates/template-upgrade-fault-proofs/foundry.toml:8

  • [nitpick] The optimizer_runs value has been significantly decreased from 999999 to 200; please confirm that this change is intentional and that the new value meets your performance and optimization expectations.
optimizer_runs = 200

@henridevieux henridevieux requested a review from jjtny1 April 17, 2025 14:58
@jackchuma jackchuma merged commit a324b9f into main Apr 18, 2025
4 checks passed
@jackchuma jackchuma deleted the jack/update-template-for-FP-upgrade branch April 18, 2025 23:20
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.

4 participants