Skip to content

Commit

Permalink
fix: chain-specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylar Simoncelli committed Sep 23, 2024
1 parent 93c64c5 commit 871380e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 255 deletions.
250 changes: 0 additions & 250 deletions .github/workflows/build-and-upload-draft-release.yml

This file was deleted.

6 changes: 4 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ INSTALL:
chainspecs:
FROM +setup
DO +INSTALL

COPY envs/devnet/.envrc envs/devnet/.envrc
COPY envs/devnet/addresses.json envs/devnet/addresses.json

Expand All @@ -154,9 +155,10 @@ chainspecs:
RUN . ./envs/devnet/.envrc \
&& partner-chains-node build-spec --chain local --disable-default-bootnode --raw > devnet_chain_spec.json
RUN . ./envs/staging-preview/.envrc \
&& partner-chains-node build-spec --chain staging-preview --disable-default-bootnode --raw > staging_preview_chain_spec.json
&& partner-chains-node build-spec --chain staging --disable-default-bootnode --raw > staging_preview_chain_spec.json
RUN . ./envs/staging-preprod/.envrc \
&& partner-chains-node build-spec --chain staging-preprod --disable-default-bootnode --raw > staging_preprod_chain_spec.json
&& partner-chains-node build-spec --chain staging --disable-default-bootnode --raw > staging_preprod_chain_spec.json

SAVE ARTIFACT devnet_chain_spec.json AS LOCAL devnet_chain_spec.json
SAVE ARTIFACT staging_preview_chain_spec.json AS LOCAL staging_preview_chain_spec.json
SAVE ARTIFACT staging_preprod_chain_spec.json AS LOCAL staging_preprod_chain_spec.json
Expand Down
6 changes: 3 additions & 3 deletions envs/staging-preprod/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export SIDECHAIN_BLOCK_BENEFICIARY="0x000000000000000000000000000000000000000000

# below exports parse config/addresses.json file, which needs to regenerated for each new sidechain by running
# pc-contracts-cli addresses ... > config/addresses.json
export COMMITTEE_CANDIDATE_ADDRESS=$(jq -r '.addresses.CommitteeCandidateValidator' envs/staging/addresses.json)
export D_PARAMETER_POLICY_ID=$(jq -r '.mintingPolicies.DParameterPolicy' envs/staging/addresses.json)
export PERMISSIONED_CANDIDATES_POLICY_ID=$(jq -r '.mintingPolicies.PermissionedCandidatesPolicy' envs/staging/addresses.json)
export COMMITTEE_CANDIDATE_ADDRESS=$(jq -r '.addresses.CommitteeCandidateValidator' envs/staging-preprod/addresses.json)
export D_PARAMETER_POLICY_ID=$(jq -r '.mintingPolicies.DParameterPolicy' envs/staging-preprod/addresses.json)
export PERMISSIONED_CANDIDATES_POLICY_ID=$(jq -r '.mintingPolicies.PermissionedCandidatesPolicy' envs/staging-preprod/addresses.json)

# native token observability
export NATIVE_TOKEN_POLICY_ID='ada83ddd029614381f00e28de0922ab0dec6983ea9dd29ae20eef9b4'
Expand Down

0 comments on commit 871380e

Please sign in to comment.