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

chore: bold deploy script improvements #263

Merged
merged 24 commits into from
Nov 21, 2024
Merged

Conversation

gzeoneth
Copy link
Member

@gzeoneth gzeoneth commented Nov 14, 2024

Various changes to the bold deployment script, no contract change.

  • Allow overriding ROLLUP_ADDRESS for testnode integration
  • Wait for deployments to be included in a block
  • Allow the upgrade execution script to execute the upgrade with a private key
  • Add ANVILFORK flag for fork testing
  • Parse log properly to extract post upgrade informations
  • Add more logging for debug
  • Fixes an issue where wrong currentInboxCount is used for validation

This PR also changed the imported nitro-contract version, but will be deprecated and removed in #266

@cla-bot cla-bot bot added the s label Nov 14, 2024
@gzeoneth gzeoneth changed the title wip: bold deploy script improvements chore: bold deploy script improvements Nov 21, 2024
@gzeoneth gzeoneth marked this pull request as ready for review November 21, 2024 06:29
scripts/boldUpgradeCommon.ts Show resolved Hide resolved
scripts/executeBoldUpgrade.ts Outdated Show resolved Hide resolved
@@ -315,32 +369,44 @@ async function checkOldRollup(params: VerificationParams) {
) {
throw new Error('Old rollup was not upgraded')
}

// using the reader factory here for typing
const rollupReaderContract = RollupReader__factory.connect(config.contracts.rollup, l1Rpc)
Copy link
Contributor

Choose a reason for hiding this comment

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

why does this rollupreader still exist? i thought we were getting rid of it

Copy link
Member Author

@gzeoneth gzeoneth Nov 21, 2024

Choose a reason for hiding this comment

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

it is in the #266 PR, I don't want to mix the contract change with this PR but that will be merged after this one

@gzeoneth gzeoneth merged commit fdd5b15 into bold-merge Nov 21, 2024
9 checks passed
@gzeoneth gzeoneth deleted the bold-merge-script branch November 21, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants