-
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.
- Loading branch information
1 parent
553b4d4
commit d7a0a0e
Showing
2 changed files
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import test from 'ava'; | ||
import '@endo/init/debug.js'; | ||
|
||
import { getVatDetails } from '@agoric/synthetic-chain'; | ||
|
||
const vats = { | ||
network: { incarnation: 2 }, | ||
ibc: { incarnation: 2 }, | ||
localchain: { incarnation: 2 }, | ||
orchestration: { incarnation: 1 }, | ||
transfer: { incarnation: 2 }, | ||
walletFactory: { incarnation: 6 }, | ||
zoe: { incarnation: 4 }, | ||
// Terminated in a future proposal. | ||
'-ATOM-USD_price_feed-governor': { incarnation: 0 }, | ||
}; | ||
|
||
test(`vat details`, async t => { | ||
const actual = {}; | ||
for await (const vatName of Object.keys(vats)) { | ||
actual[vatName] = await getVatDetails(vatName); | ||
} | ||
t.like(actual, vats, `vat details are alike`); | ||
}); | ||
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