Skip to content

Commit

Permalink
fixup! WIP stATOM proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 2, 2023
1 parent c554707 commit f1cdc62
Show file tree
Hide file tree
Showing 6 changed files with 1,533 additions and 2 deletions.
1 change: 1 addition & 0 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ TODO
- [ ] separate agd and actions/test services with docker-compose (https://github.com/Agoric/agoric-sdk/discussions/8480#discussioncomment-7438329)
- [ ] way to query capdata in one shot (not resorting to follow jsonlines hackery)
- [ ] global install (tsx,execa) in the base image
- [ ] within each proposal, separate dirs for supporting files so images don't invalidate
2 changes: 2 additions & 0 deletions makeDockerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ RUN . ./upgrade-test-scripts/start_to_to.sh
# EVAL ${proposalName}
FROM use-${lastProposal.proposalName} as eval-${proposalName}
COPY --chmod=755 ./proposals/${proposalIdentifier}:${proposalName}/* /usr/src/proposals/${proposalIdentifier}:${proposalName}/
WORKDIR /usr/src/upgrade-test-scripts/
RUN ./run_eval.sh ${proposalIdentifier}:${proposalName}
`;
Expand Down
8 changes: 8 additions & 0 deletions proposals/55:stATOM-vaults/actions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# Exit when any command fails
set -e

source /usr/src/upgrade-test-scripts/env_setup.sh

echo "TODO make an stATOM vault"
16 changes: 16 additions & 0 deletions proposals/55:stATOM-vaults/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "module",
"license": "Apache-2.0",
"devDependencies": {},
"dependencies": {
"@endo/zip": "^0.2.35",
"ava": "^5.3.1",
"better-sqlite3": "^8.5.1",
"execa": "^7.2.0",
"tmp": "^0.2.1",
"tsx": "^3.14.0"
},
"scripts": {
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops"
}
}
Loading

0 comments on commit f1cdc62

Please sign in to comment.