-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A3P commands without synthetic-chain (#10396)
closes: #10369 ## Description Many of the imports from `@agoric/synthetic-chain` are not about synthetics per se. They should be possible with the code in agoric-sdk. This brings the new `@agoric/client-utils` into functional testing in a3p-integration. It makes the canonical source for `sync-tool.js` that was duplicated in different proposal tests. This also demonstrates a style of smart-wallet offer execution without the `@agoric/synthetic-chain` package. See `OpenVault`. It still goes through `execSwingsetTransaction` spawning `agd` but that could also be optimized with an RPC client lib for SwingSet that does signing (see #9200). That's out of scope for this effort to simply stop reliable in another repo for testing utilities. Review by commit is recommended ### Security Considerations n/a, tests ### Scaling Considerations n/a, tests ### Documentation Considerations When these patterns stabilize more we may want to write them down. For now I think let's keep it flexible. ### Testing Considerations per se ### Upgrade Considerations One impact to the upgrade process is that when moving a proposal from a3p-integration to agoric-3-proposals, the dependencies may have to be updated. Though it's likely they'll work on the `/usr/src/agoric-sdk` in the image
- Loading branch information
Showing
51 changed files
with
1,744 additions
and
1,327 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 @@ | ||
../ |
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 |
---|---|---|
|
@@ -12,11 +12,11 @@ | |
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@agoric/synthetic-chain": "^0.3.0", | ||
"@endo/init": "^1.1.5", | ||
"@endo/marshal": "^1.5.4", | ||
"@endo/init": "^1.1.6", | ||
"@endo/marshal": "^1.6.1", | ||
"ava": "^5.3.1", | ||
"better-sqlite3": "^9.6.0", | ||
"execa": "^9.3.1" | ||
"execa": "^9.5.1" | ||
}, | ||
"ava": { | ||
"concurrency": 1, | ||
|
@@ -28,5 +28,8 @@ | |
"scripts": { | ||
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"typescript": "^5.6.3" | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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,12 +1,14 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "esnext", | ||
"module": "esnext", | ||
"target": "ESNext", | ||
"module": "NodeNext", | ||
"allowJs": true, | ||
"checkJs": true, | ||
"strict": false, | ||
"strictNullChecks": true, | ||
"noEmit": true, | ||
"noImplicitThis": true | ||
"noImplicitThis": true, | ||
// XXX synthetic-chain has some errors | ||
"skipLibCheck": true | ||
} | ||
} |
Oops, something went wrong.