Skip to content

Commit

Permalink
set blocks per epoch after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanchez committed Apr 20, 2024
1 parent 2bc3837 commit 6c99c85
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/upgrade-gaia-v16-fresh-state.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,10 @@
- name: _Blocks produced after upgrade
run: |
tests/test_block_production.sh 127.0.0.1 $VAL1_RPC_PORT 10
- name: Set blocks_per_epoch to 1
run: |
scripts/param_change.sh templates/proposal-blocks-per-epoch.json
- name: Restart relayer
run: sudo systemctl restart $RELAYER
Expand Down
12 changes: 12 additions & 0 deletions templates/proposal-blocks-per-epoch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "set the blocks per epoch to 1",
"description": "This will set blocks_per_epoch to 1",
"deposit": "1000000uatom",
"changes": [
{
"subspace": "provider",
"key": "BlocksPerEpoch",
"value": "1"
}
]
}

0 comments on commit 6c99c85

Please sign in to comment.