Skip to content

Commit

Permalink
Reenable finney state build - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gztensor committed Jul 30, 2024
1 parent 6cfb331 commit 65244f7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/check-finney-clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,19 +167,19 @@ jobs:
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v4

# - name: Download finney clone genesis and secrets
# uses: actions/download-artifact@v3
# with:
# name: finney-state
# path: finney-spec

# - name: Copy secrets and spec from artifacts
# run: |
# mkdir -p .baedeker/.bdk-env
# mkdir -p .baedeker/.bdk-env/specs
# mkdir -p .baedeker/.bdk-env/secret
# cp finney-spec/subtensor.json .baedeker/.bdk-env/specs
# cp -r finney-spec/secret/* .baedeker/.bdk-env/secret
- name: Download finney clone genesis and secrets
uses: actions/download-artifact@v3
with:
name: finney-state
path: finney-spec

- name: Copy secrets and spec from artifacts
run: |
mkdir -p .baedeker/.bdk-env
mkdir -p .baedeker/.bdk-env/specs
mkdir -p .baedeker/.bdk-env/secret
cp finney-spec/subtensor.json .baedeker/.bdk-env/specs
cp -r finney-spec/secret/* .baedeker/.bdk-env/secret
- name: Set up Docker Compose
run: |
Expand All @@ -191,6 +191,8 @@ jobs:
run: |
mkdir -p target
docker-compose -f docker-compose-baedeker.yml up -d
sleep 5
docker logs localnet
- name: Runtime upgrade
working-directory: .baedeker/util
Expand Down
2 changes: 1 addition & 1 deletion scripts/wait_first_block_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function reset_check {
block_id=0
}

max_attempts=10
max_attempts=20
attempt=0
while ! had_new_block; do
echo "Waiting for next block..."
Expand Down

0 comments on commit 65244f7

Please sign in to comment.