-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fast USDC a3p deployment proposal (#10517)
closes: #10492 ## Description Adds `f:fast-usdc` that invokes `init-fast-usdc.js` and such. ### Security / Scaling / Upgrade Considerations Nothing novel to this PR. ### Documentation Considerations DRAFT until: - [x] Update a3p-integration documentation with how to get a chain running at a particular post-proposal configuration. ### Testing Considerations tests that `agoricNames.instance.fastUsdc` is present. includes a work-around for... - Agoric/agoric-3-proposals#192
- Loading branch information
Showing
7 changed files
with
4,442 additions
and
6 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 @@ | ||
nodeLinker: node-modules |
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,18 @@ | ||
// @ts-check | ||
/* global globalThis */ | ||
import test from 'ava'; | ||
import '@endo/init/legacy.js'; // axios compat | ||
import { makeVstorageKit } from '@agoric/client-utils'; | ||
|
||
const io = { fetch: globalThis.fetch }; | ||
const networkConfig = { | ||
rpcAddrs: ['http://0.0.0.0:26657'], | ||
chainName: 'agoriclocal', | ||
}; | ||
|
||
test('fastUsdc is in agoricNames.instance', async t => { | ||
const { agoricNames } = await makeVstorageKit(io, networkConfig); | ||
|
||
t.log('agoricNames.instance keys', Object.keys(agoricNames.instance)); | ||
t.truthy(agoricNames.instance.fastUsdc); | ||
}); |
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,30 @@ | ||
{ | ||
"agoricProposal": { | ||
"source": "subdir", | ||
"$UNTIL": "write-chain-info to agoricNames until #10445 and chainHub setup", | ||
"sdk-generate": [ | ||
"orchestration/write-chain-info.js", | ||
"fast-usdc/init-fast-usdc.js submission --oracleSet A3P_INTEGRATION" | ||
], | ||
"type": "/agoric.swingset.CoreEvalProposal" | ||
}, | ||
"type": "module", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@agoric/client-utils": "dev", | ||
"@agoric/synthetic-chain": "^0.4.3", | ||
"@endo/init": "^1.1.7", | ||
"ava": "^5.3.1" | ||
}, | ||
"ava": { | ||
"concurrency": 1, | ||
"timeout": "2m", | ||
"files": [ | ||
"!submission" | ||
] | ||
}, | ||
"scripts": { | ||
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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,2 @@ | ||
#!/bin/bash | ||
yarn ava |
Oops, something went wrong.