Skip to content

fix: sepolia deployments#12329

Merged
just-mitch merged 17 commits intomasterfrom
spy/fix-sepolia-network-deploy
Mar 3, 2025
Merged

fix: sepolia deployments#12329
just-mitch merged 17 commits intomasterfrom
spy/fix-sepolia-network-deploy

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
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