Skip to content

Commit

Permalink
Merge pull request #8907 from Agoric/mhofman/reland-8801
Browse files Browse the repository at this point in the history
Re-add a CoreEval proposal to a3p-integration
  • Loading branch information
mergify[bot] authored and mhofman committed Feb 18, 2024
2 parents a573d6f + 448b5e6 commit 78e6d4c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ jobs:
# XXX skip TAP test output and collection for now; it hides the output from the logs
run: make docker-build-sdk
working-directory: packages/deployment
- uses: ./.github/actions/restore-node
with:
node-version: '18.x'
- name: setup a3p-integration
run: |
corepack enable
Expand Down
2 changes: 1 addition & 1 deletion a3p-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"fromTag": "use-upgrade-13"
},
"scripts": {
"build": "yarn synthetic-chain build",
"build": "../scripts/generate-a3p-submission.sh && yarn synthetic-chain build",
"test": "yarn synthetic-chain test",
"doctor": "yarn synthetic-chain doctor"
},
Expand Down
17 changes: 17 additions & 0 deletions scripts/generate-a3p-submission.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
set -ueo pipefail

sdkroot=$(cd -- "$(dirname "$0")/.." >/dev/null && pwd)

cd $sdkroot

buildSubmission() {
proposalName=$1
a3pProposal=$2

yarn agoric run packages/vats/scripts/$1.js

mkdir -p $sdkroot/a3p-integration/proposals/$2/submission
cp $(grep -oh '/.*b1-.*.json' $sdkroot/$1*) a3p-integration/proposals/$2/submission
mv $sdkroot/$1* a3p-integration/proposals/$2/submission
}

0 comments on commit 78e6d4c

Please sign in to comment.