Skip to content

Commit ce94710

Browse files
committed
fix(vats): fix lint problems
1 parent 81f66da commit ce94710

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

packages/vats/src/my-lien.js

+12
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ const XLien = {
2020
* @template T
2121
*/
2222

23+
/**
24+
* @typedef {Object} StakingAuthority
25+
* @property {(address: string, wantedBrand: Brand) => Promise<{
26+
* bonded: Amount,
27+
* liened: Amount,
28+
* locked: Amount,
29+
* total: Amount,
30+
* unbonding: Amount,
31+
* currentTime: bigint,
32+
* }>} getAccountState
33+
*/
34+
2335
/**
2436
* @param {ERef<import('./bridge').BridgeManager>} bridgeManager
2537
* @param {Brand} stake

packages/vats/test/authorityViz.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @ts-check
22
import '@agoric/install-ses';
3-
import { makeSimBootstrapManifest } from '../src/core/sim-behaviors.js';
3+
import * as manifests from '../src/core/manifest.js';
44

55
const { entries } = Object;
66

@@ -112,9 +112,11 @@ const main = async (args, { readFile, stdout }) => {
112112
},
113113
},
114114
} = config;
115-
const manifest = opts.includes('--sim-chain')
116-
? makeSimBootstrapManifest(bootstrapManifest)
117-
: bootstrapManifest;
115+
const manifest =
116+
bootstrapManifest ||
117+
(opts.includes('--sim-chain')
118+
? manifests.SIM_CHAIN_BOOTSTRAP_MANIFEST
119+
: manifests.CHAIN_BOOTSTRAP_MANIFEST);
118120

119121
// console.log(JSON.stringify(bootstrapManifest, null, 2));
120122
const g = manifest2graph(manifest);

0 commit comments

Comments
 (0)