-
Notifications
You must be signed in to change notification settings - Fork 1
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
For CI, deploy to Arbitrum Sepolia instead of Base Sepolia #89
Conversation
Removed the `db-export` from `deploy:ci` as it is a post-deploy operation and is invoked from the makefile. Removed `tsc` from `gen-types` and added it to `build` as a more natural fit.
Added `yarn` `clean` and `build` to the generic `deploy` target so all deployments are clean.
Tweaked foundry variables to match those added to GitHub Environment. Added the required variable mapping to GitHub Action Tweaked the `Makefile` to `clean` and `build` before deploy and resume. Added the DEPLOY_SCRIPT variable to the Makefile Added the DEPLOYER_AUTHENTICATION variable to the Makefile, defaulting to the PK parameter and env variable. But this simplifies deploying to testnet from local.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the deployment to arbitrumSepolia from the branch works fine using the below on my machine at lest. please confirm the versions of forge and forge-std you are using.
forge nightly (foundryup) forge 0.2.0 (4351742 2024-08-07T00:24:31.137910000Z)
foundryup
forge --version
git submodule status
07263d193d621c4b2b0ce8b4d54af58f6957d97d forge-std (v1.9.1)
dbb6104ce834628e473d2173bbc9d47f81a9eec3 openzeppelin-contracts (v5.0.0-12-gdbb6104c)
Thanks for the review, @lucasia
I foolishly ran
I will re-test the deployment. UPDATEThe problem was that I did not have |
…ation. Added comments explaining some deployment discoveries.
Removed the Base Sepolia key.
For CI, deploy to Arbitrum Sepolia instead of Base Sepolia
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
Removed the separation of deployment and verification of contracts. Removed the shell script that enabled the separation. Directly reference the Verifier URL in the script command.
Closing - de-prioritized. |
Deploy to Arbitrum Sepolia testnet instead of Base Sepolia, for CI deployments.
Done
deploy:ci
build script to invokemake deploy-arbitrumSepolia
testnet
Environment with same.foundry.toml
with same.deploy
andverify
commands in make to use the Build Scripts to assure a consistent statecast wallet
Account and Password, like so:DEPLOYER_AUTHENTICATION="--account DEVOPS_DEPLOYER --password xyz"
testnet.toml
to reference the correct Chain Id.Resolves #88