-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast USDC a3p deployment proposal #10517
Merged
+4,442
−6
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3bf01a2
feat(builders): fast-usdc oracleSet option for MAINNET, ...
dckc 2ae8e51
chore(f:fast-usdc): toward fast-usd: copy quickSend stuff
dckc a181f9b
feat(f:fast-usdc): add fast-usdc to a3p-integration
dckc b467173
docs(a3p-i): how to get a chain running
dckc 9b771d3
chore: put 'agoric' chain info in agorcNames UNTIL ...
dckc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this doesn't run until @agoric/synthetic-chain spins up the chain and stuff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right;
deploy.test.js
is invoked bytest.sh
, which is invoked in theTEST
stage. See docs on stages.