-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: detail structure of a3p-integration
- Loading branch information
Showing
4 changed files
with
121 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# Exit when any command fails | ||
set -e | ||
|
||
# Place here any actions that should happen before the upgrade is proposed. The | ||
# actions are executed in the previous chain software, and the effects are | ||
# persisted so they can be used in the steps after the upgrade is complete, | ||
# such as in the "use" or "test" steps, or further proposal layers. |
4 changes: 3 additions & 1 deletion
4
a3p-integration/proposals/a:upgrade-14/test.sh
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/bin/bash | ||
source /usr/src/upgrade-test-scripts/env_setup.sh | ||
|
||
# Place here any test that should be executed using the executed proposal. | ||
# The effects of this step are not persisted in further proposal layers. | ||
|
||
yarn ava |
7 changes: 4 additions & 3 deletions
7
a3p-integration/proposals/a:upgrade-14/use.sh
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# UNTIl this is upstream https://github.com/Agoric/agoric-3-proposals/issues/40 | ||
# Set to zero so tests don't have to pay gas (we're not testing that) | ||
sed --in-place=.bak s/'minimum-gas-prices = ""'/'minimum-gas-prices = "0ubld,0uist"'/ ~/.agoric/config/app.toml | ||
# Place here any actions that should happen after the upgrade has executed. The | ||
# actions are executed in the upgraded chain software and the effects are | ||
# persisted in the generated image for the upgrade, so they can be used in | ||
# later steps, such as the "test" step, or further proposal layers. |