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

fix: sepolia deployments #12329

Merged
merged 17 commits into from
Mar 3, 2025
Merged

fix: sepolia deployments #12329

merged 17 commits into from
Mar 3, 2025

Conversation

spypsy
Copy link
Member

@spypsy spypsy commented Feb 27, 2025

Follow-up fixes from merging #11945 & #12076

@spypsy spypsy changed the title fix: run prepare_sepolia_accounts from inside dir fix: prepare_sepolia_accounts script Feb 27, 2025
@spypsy spypsy force-pushed the spy/fix-sepolia-network-deploy branch from 678a71b to ed47234 Compare February 27, 2025 11:25
@spypsy spypsy marked this pull request as ready for review February 27, 2025 13:57
@spypsy spypsy requested a review from charlielye as a code owner February 27, 2025 13:57
@spypsy spypsy changed the title fix: prepare_sepolia_accounts script fix: sepolia deployments Feb 27, 2025
@@ -84,11 +84,6 @@ on:
required: false
type: string
default: "false"
ref:
Copy link
Member

Choose a reason for hiding this comment

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

I would like to keep this please, otherwise the values file needs to be in master in order to test a deployment.

Copy link
Member

Choose a reason for hiding this comment

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

unless the github.ref below does the same thing in that case all gucci

Copy link
Member Author

Choose a reason for hiding this comment

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

yesss workflow dispatch actions have this by default, we don't need an extra input of our own
image

cast wallet new-mnemonic --accounts "$num_accounts" --json >output.json
MNEMONIC=$(jq -r '.mnemonic' output.json)
ADDRESSES=$(jq -r '.accounts[].address' output.json)
rm output.json
Copy link
Collaborator

Choose a reason for hiding this comment

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

security nit: it's probably safer to put cleanup like this in a traped cleanup function.

@just-mitch just-mitch merged commit f72ccc2 into master Mar 3, 2025
6 checks passed
@just-mitch just-mitch deleted the spy/fix-sepolia-network-deploy branch March 3, 2025 15:07
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