Skip to content

Commit

Permalink
segregate test files in a3p proposals (#10853)
Browse files Browse the repository at this point in the history
refs: Agoric/agoric-3-proposals#115

## Description

A3P is getting this feature,
- Agoric/agoric-3-proposals#213

This PR takes advantage of it for a3p-integration tests.

### Security Considerations
none, just test

### Scaling Considerations
none, just test

### Documentation Considerations
none

### Testing Considerations
per se

### Upgrade Considerations
none, just test
  • Loading branch information
mergify[bot] authored Jan 23, 2025
2 parents 4a47b35 + 47857df commit 6627838
Show file tree
Hide file tree
Showing 44 changed files with 572 additions and 136 deletions.
2 changes: 1 addition & 1 deletion a3p-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"doctor": "yarn synthetic-chain doctor"
},
"dependencies": {
"@agoric/synthetic-chain": "^0.4.3",
"@agoric/synthetic-chain": "^0.5.1",
"@types/better-sqlite3": "^7.6.11"
},
"packageManager": "[email protected]",
Expand Down
5 changes: 3 additions & 2 deletions a3p-integration/proposals/f:fast-usdc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"source": "subdir",
"sdk-generate": [
"fast-usdc/start-fast-usdc.build.js submission --net A3P_INTEGRATION --noNoble",
"fast-usdc/add-operators.build.js add-operators --oracle oracleNew:agoric1hmdue96vs0p6zj42aa26x6zrqlythpxnvgsgpr"
"fast-usdc/add-operators.build.js test/add-operators --oracle oracleNew:agoric1hmdue96vs0p6zj42aa26x6zrqlythpxnvgsgpr"
],
"type": "/agoric.swingset.CoreEvalProposal"
},
Expand All @@ -12,7 +12,7 @@
"dependencies": {
"@agoric/client-utils": "dev",
"@agoric/fast-usdc": "dev",
"@agoric/synthetic-chain": "^0.4.3",
"@agoric/synthetic-chain": "^0.5.1",
"@endo/init": "^1.1.7",
"agoric": "dev",
"ava": "^5.3.1"
Expand All @@ -21,6 +21,7 @@
"concurrency": 1,
"timeout": "2m",
"files": [
"test/**/*.test.*",
"!submission"
]
},
Expand Down
4 changes: 4 additions & 0 deletions a3p-integration/proposals/f:fast-usdc/test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
set -euo pipefail

# segregate so changing these does not invalidate the proposal image
# à la https://github.com/Agoric/agoric-3-proposals/pull/213
cd test

echo AVAILABLE WALLETs
agd query vstorage children published.wallet

Expand Down
Loading

0 comments on commit 6627838

Please sign in to comment.