File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
packages/synthetic-chain/public/upgrade-test-scripts Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 13
13
14
14
startAgd
15
15
16
- echo " [$PROPOSAL ] Agd started. Running CoreEval submission ."
16
+ echo " [$PROPOSAL ] Agd started. Submitting proposal ."
17
17
cd /usr/src/proposals/" $PROPOSAL /" || fail " Proposal $PROPOSAL does not exist"
18
18
19
19
if [ -f " eval.sh" ]; then
20
- # this is what the script used to do. Also allows a proposal to override how they are eval-ed
20
+ # Allows a proposal to control its evaluation; used in particular for
21
+ # param-change proposals but also valid for other types such as core-eval.
21
22
echo " [$PROPOSAL ] Running eval.sh"
22
23
./eval.sh
23
24
else
24
- # newer proposals declare a submission
25
- echo " [$PROPOSAL ] Running proposal declared in package.json"
25
+ # Straightforward core-eval proposals can be specified directly in a "submission" directory
26
+ # containing $name.js scripts, $name-permit.json permits, and b1-$hash.json bundles.
27
+ echo " [$PROPOSAL ] Running core-evals from submission/"
26
28
# copy to run in the proposal package so the dependencies can be resolved
27
29
cp /usr/src/upgrade-test-scripts/eval_submission.js .
28
30
./eval_submission.js
29
31
fi
30
32
31
- echo " [$PROPOSAL ] Eval completed. Running 10 blocks and exiting."
33
+ echo " [$PROPOSAL ] Proposal eval completed. Running 10 blocks and exiting."
32
34
waitForBlock 10
33
35
34
36
killAgd
You can’t perform that action at this time.
0 commit comments