Skip to content

Commit

Permalink
Remove bootnodes from devnet chainspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-tsurko committed Jul 22, 2024
1 parent a6f94aa commit a34538a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release-devnet-chainspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
maybe_release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -26,7 +28,7 @@ jobs:
git diff --quiet HEAD^ HEAD chainspecs/chain-spec.devnet.json || echo "changed=true" >> $GITHUB_OUTPUT
- name: Create timestamp (version)
if: steps.check_changes.outputs.changed == 'true'
if: steps.check_changed.outputs.changed == 'true'
id: timestamp
run: echo "timestamp=$(date +'%Y%m%d-%H%M')" >> $GITHUB_OUTPUT

Expand All @@ -40,5 +42,7 @@ jobs:
Automated release of Devnet chainnspec.
draft: false
prerelease: false
files:
chainspecs/chain-spec.devnet.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/release-testnet-chainspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
jobs:
maybe_release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -26,7 +28,7 @@ jobs:
git diff --quiet HEAD^ HEAD chainspecs/chain-spec.testnet.json || echo "changed=true" >> $GITHUB_OUTPUT
- name: Create timestamp (version)
if: steps.check_changes.outputs.changed == 'true'
if: steps.check_changed.outputs.changed == 'true'
id: timestamp
run: echo "timestamp=$(date +'%Y%m%d-%H%M')" >> $GITHUB_OUTPUT

Expand Down
4 changes: 1 addition & 3 deletions chainspecs/chain-spec.devnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "Development",
"id": "dev",
"chainType": "Development",
"bootNodes": [
"/ip4/185.190.140.207/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp"
],
"bootNodes": [ ],
"telemetryEndpoints": null,
"protocolId": null,
"properties": {
Expand Down

0 comments on commit a34538a

Please sign in to comment.