diff --git a/a3p-integration/proposals/p:upgrade-19/.gitignore b/a3p-integration/proposals/p:upgrade-19/.gitignore index 59e3519121b..ba9fa18d3e4 100644 --- a/a3p-integration/proposals/p:upgrade-19/.gitignore +++ b/a3p-integration/proposals/p:upgrade-19/.gitignore @@ -1,6 +1,7 @@ replaceFeeDistributor/ testUpgradedBoard/ addUsdLemons/ +addUsdOlives/ upgradeProvisionPool/ upgradeAgoricNames/ - +appendChainInfo/ diff --git a/a3p-integration/proposals/p:upgrade-19/agoricNames.test.js b/a3p-integration/proposals/p:upgrade-19/agoricNames.test.js index d15a8c3beaa..7c6173fb7f5 100644 --- a/a3p-integration/proposals/p:upgrade-19/agoricNames.test.js +++ b/a3p-integration/proposals/p:upgrade-19/agoricNames.test.js @@ -1,33 +1,83 @@ /* eslint-env node */ /** - * @file - * Ideas: - * - write something new to agoricNames and check vstorage - * - can you add a new chain for orc? - * - can you add a new psm? - * - can you open a vault? + * @file The goal of this file is to test different aspects of agoricNames to make sure + * everything works after an upgrade. Here's the test plan; + * 1. upgrade agoricNames + * 2. send a core-eval that writes into children of agoricNames (brand, issuer, instance...) + * 2b. expect a child nameHub of agoricNames will publish ALL its entries when a new item is written to it + * 2c. check the values in the vstorage match before and after the upgrade + * 2d. also check that new items are in the vstorage as well + * 3. append new chain + * CONTEXT: there are two new children introduced to agoricNames by orchestration and their + * onUpdate callback isn't durable. So we must check that if we write a new chain info to those child + * nameHubs, we should observe the new value in vstorage. + * 3b. send a core-eval that writes new chain info to published.agoricNames.chain and published.agoricNames.chainConnection + * 3c. wait until the expected data observed in vstorage + * + * + * TESTING CODE THAT HOLDS ONTO 'agoricNames': smartWallet is one of the vats that depend on agoricNames to work properly the most. + * smartWallet uses agoricNames to; + * - create purses for known brands + * - looks for the brand in agoricNames.brand + * - creates a purse for the brand using the issuer in agoricNames.issuer + * - create invitations for a from the publicFacet of a given instance (agoricNames.instance) + * + * So the fact that a user can complete an offer successfully means; + * - smartWallet can find the instance on agoricNames.instance (for invitationSource = 'agoricContract') + * - smartWallet can find, if not present create, a purse for known brand, agoricNames.brand + * and agoricNames.issuer returned correct values + * + * + * 4. add a new PSM and swap against it + * 4b. adding the new PSM requires introducing a new asset to the chain and writing + * the PSM instance to agoricNames.instance + * 4c. being able to deposit the new asset to a user means that smartWallet created a purse + * for the new brand + * 4d. being able to send the offer to the PSM instance means smartWallet can find the instance + * in agoricNames.instance + * + * 5. we want to make sure objects that were already in agoricNames works as well, so open a vault + * in an existing collateralManager + * 5a. fund GOV1 with ATOM + * 5b. open a vault + * 5c. check the vault is opened successfully + * */ import '@endo/init'; import test from 'ava'; import { - evalBundles, - agd as agdAmbient, agoric, - getDetailsMatchingVats, + ATOM_DENOM, + evalBundles, + getIncarnation, + GOV1ADDR, + openVault, } from '@agoric/synthetic-chain'; -import { makeVstorageKit } from '@agoric/client-utils'; - -const AGORIC_NAMES_UPGRADE_DIR = 'upgradeAgoricNames'; -const WRITE_AGORIC_NAMES = 'writeToAgoricNames'; - -const ambientAuthority = { - query: agdAmbient.query, - follow: agoric.follow, - setTimeout, - log: console.log, -}; +import { makeVstorageKit, retryUntilCondition } from '@agoric/client-utils'; +import { + bankSend, + extractBalance, + psmSwap, + tryISTBalances, +} from './test-lib/psm-lib.js'; +import { getBalances, listVaults } from './test-lib/utils.js'; +import { walletUtils } from './test-lib/index.js'; + +const AGORIC_NAMES_UPGRADE_DIR = 'agoricNamesCoreEvals/upgradeAgoricNames'; +const WRITE_AGORIC_NAMES_DIR = 'agoricNamesCoreEvals/writeToAgoricNames'; +const APPEND_CHAIN_DIR = 'agoricNamesCoreEvals/appendChainInfo'; +const ADD_USD_OLIVES_DIR = 'agoricNamesCoreEvals/addUsdOlives'; +const DEPOSIT_USD_OLIVES_DIR = 'agoricNamesCoreEvals/depositUsdOlives'; + +const makeWaitUntilKeyFound = (keyFinder, vstorage) => (path, targetKey) => + retryUntilCondition( + () => vstorage.keys(path), + keys => keyFinder(keys, targetKey), + 'Key not found.', + { maxRetries: 5, retryIntervalMs: 2000, log: console.log, setTimeout }, + ); test.before(async t => { const vstorageKit = await makeVstorageKit( @@ -40,20 +90,14 @@ test.before(async t => { }; }); -test.serial.only('upgrade agoricNames', async t => { +test.serial('upgrade agoricNames', async t => { await evalBundles(AGORIC_NAMES_UPGRADE_DIR); - const vatDetailsAfter = await getDetailsMatchingVats('agoricNames'); - const { incarnation } = vatDetailsAfter.find(vat => - vat.vatName.endsWith('agoricNames'), - ); - - t.log(vatDetailsAfter); + const incarnation = await getIncarnation('agoricNames'); t.is(incarnation, 1, 'incorrect incarnation'); - t.pass(); }); -test.serial.only('check all existing values are preserved', async t => { +test.serial('check all existing values are preserved', async t => { // @ts-expect-error const { vstorageKit } = t.context; const agoricNamesChildren = [ @@ -78,7 +122,7 @@ test.serial.only('check all existing values are preserved', async t => { const agoricNamesBefore = await getAgoricNames(); console.log('AGORIC_NAMES_BEFORE', agoricNamesBefore); - await evalBundles(WRITE_AGORIC_NAMES); + await evalBundles(WRITE_AGORIC_NAMES_DIR); const agoricNamesAfter = await getAgoricNames(); t.like(agoricNamesAfter, agoricNamesBefore); @@ -91,12 +135,105 @@ test.serial.only('check all existing values are preserved', async t => { ); }); -test.serial.only('check we can add new chains', async t => { - await evalBundles('chainInfoTest'); - t.pass(); +test.serial('check we can add new chains', async t => { + // @ts-expect-error + const { vstorageKit } = t.context; + await evalBundles(APPEND_CHAIN_DIR); + + const waitUntilKeyFound = makeWaitUntilKeyFound( + (keys, targetKey) => keys.includes(targetKey), + vstorageKit.vstorage, + ); + await Promise.all([ + waitUntilKeyFound('published.agoricNames.chain', 'hot'), + waitUntilKeyFound( + 'published.agoricNames.chainConnection', + 'cosmoshub-4_hot-1', + ), + ]); + + const [chainInfo, connectionInfo] = await Promise.all([ + vstorageKit.readLatestHead('published.agoricNames.chain.hot'), + vstorageKit.readLatestHead( + 'published.agoricNames.chainConnection.cosmoshub-4_hot-1', + ), + ]); + + t.log({ + chainInfo, + connectionInfo, + }); + + t.deepEqual(chainInfo, { allegedName: 'Hot New Chain', chainId: 'hot-1' }); + t.deepEqual(connectionInfo, { + client_id: '07-tendermint-2', + counterparty: { + client_id: '07-tendermint-3', + connection_id: 'connection-99', + }, + id: 'connection-1', + state: 3, + transferChannel: { + channelId: 'channel-1', + counterPartyChannelId: 'channel-1', + counterPartyPortId: 'transfer', + ordering: 1, + portId: 'transfer', + state: 3, + version: 'ics20-1', + }, + }); +}); + +test.serial('check contracts depend on agoricNames are not broken', async t => { + await evalBundles(ADD_USD_OLIVES_DIR); + + await evalBundles(DEPOSIT_USD_OLIVES_DIR); + + const psmSwapIo = { + now: Date.now, + follow: agoric.follow, + setTimeout, + log: console.log, + }; + + const balancesBefore = await getBalances([GOV1ADDR]); + + await psmSwap( + GOV1ADDR, + ['swap', '--pair', 'IST.USD_OLIVES', '--wantMinted', 1], + psmSwapIo, + ); + + const balancesAfter = await getBalances([GOV1ADDR]); + await tryISTBalances( + t, + extractBalance(balancesAfter, 'uist'), + extractBalance(balancesBefore, 'uist') + 1000000, // in uist + ); }); -test.serial.skip( - 'check contracts depend on agoricNames are not broken', - async t => {}, -); +test.serial('open a vault', async t => { + await bankSend(GOV1ADDR, `200000000000000000${ATOM_DENOM}`); + const istBalanceBefore = await getBalances([GOV1ADDR]); + const activeVaultsBefore = await listVaults(GOV1ADDR, walletUtils); + + const mint = '5.0'; + const collateral = '10.0'; + await openVault(GOV1ADDR, mint, collateral); + + const istBalanceAfter = await getBalances([GOV1ADDR]); + const activeVaultsAfter = await listVaults(GOV1ADDR, walletUtils); + + await tryISTBalances( + t, + extractBalance(istBalanceAfter, 'uist'), + extractBalance(istBalanceBefore, 'uist') + 5000000, + ); + + t.is( + activeVaultsAfter.length, + activeVaultsBefore.length + 1, + `The number of active vaults should increase after opening a new vault.`, + ); +}); diff --git a/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/depositUsdOlives/deposit-usd-olives-permit.json b/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/depositUsdOlives/deposit-usd-olives-permit.json new file mode 100644 index 00000000000..d5f34fdb422 --- /dev/null +++ b/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/depositUsdOlives/deposit-usd-olives-permit.json @@ -0,0 +1,7 @@ +{ + "consume": { + "contractKits": true, + "namesByAddressAdmin": true, + "agoricNames": true + } +} diff --git a/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/depositUsdOlives/deposit-usd-olives.js b/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/depositUsdOlives/deposit-usd-olives.js new file mode 100644 index 00000000000..c7ebcf75281 --- /dev/null +++ b/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/depositUsdOlives/deposit-usd-olives.js @@ -0,0 +1,52 @@ +// @ts-nocheck +/* eslint-disable no-undef */ +const GOV_ONE_ADDR = 'agoric1ee9hr0jyrxhy999y755mp862ljgycmwyp4pl7q'; + +const depositUsdOlives = async powers => { + const { + consume: { + contractKits: contractKitsP, + namesByAddressAdmin: namesByAddressAdminP, + agoricNames, + }, + } = powers; + + const namesByAddressAdmin = await namesByAddressAdminP; + + const getDepositFacet = async address => { + const hub = E(E(namesByAddressAdmin).lookupAdmin(address)).readonly(); + return E(hub).lookup('depositFacet'); + }; + + const [contractKits, usdOlivesIssuer, usdOlivesBrand, ppDepositFacet] = + await Promise.all([ + contractKitsP, + E(agoricNames).lookup('issuer', 'USD_OLIVES'), + E(agoricNames).lookup('brand', 'USD_OLIVES'), + getDepositFacet(GOV_ONE_ADDR), + ]); + + console.log('[CONTRACT_KITS]', contractKits); + console.log('[ISSUER]', usdOlivesIssuer); + + let usdOlivesMint; + for (const { publicFacet, creatorFacet: mint } of contractKits.values()) { + if (publicFacet === usdOlivesIssuer) { + usdOlivesMint = mint; + console.log('BINGO', mint); + break; + } + } + + console.log('Minting USD_OLIVES'); + const helloPayment = await E(usdOlivesMint).mintPayment( + harden({ brand: usdOlivesBrand, value: 1_000_000n }), + ); + + console.log('Funding provision pool...'); + await E(ppDepositFacet).receive(helloPayment); + + console.log('Done.'); +}; + +depositUsdOlives; diff --git a/a3p-integration/proposals/p:upgrade-19/writeToAgoricNames/write-to-agoricNames-permit.json b/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/writeToAgoricNames/write-to-agoricNames-permit.json similarity index 96% rename from a3p-integration/proposals/p:upgrade-19/writeToAgoricNames/write-to-agoricNames-permit.json rename to a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/writeToAgoricNames/write-to-agoricNames-permit.json index 0099d415358..7204f88ad23 100644 --- a/a3p-integration/proposals/p:upgrade-19/writeToAgoricNames/write-to-agoricNames-permit.json +++ b/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/writeToAgoricNames/write-to-agoricNames-permit.json @@ -2,4 +2,4 @@ "consume": { "agoricNamesAdmin": true } -} \ No newline at end of file +} diff --git a/a3p-integration/proposals/p:upgrade-19/writeToAgoricNames/write-to-agoricNames.js b/a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/writeToAgoricNames/write-to-agoricNames.js similarity index 100% rename from a3p-integration/proposals/p:upgrade-19/writeToAgoricNames/write-to-agoricNames.js rename to a3p-integration/proposals/p:upgrade-19/agoricNamesCoreEvals/writeToAgoricNames/write-to-agoricNames.js diff --git a/a3p-integration/proposals/p:upgrade-19/package.json b/a3p-integration/proposals/p:upgrade-19/package.json index 5b120f2b804..1a900e8bee7 100644 --- a/a3p-integration/proposals/p:upgrade-19/package.json +++ b/a3p-integration/proposals/p:upgrade-19/package.json @@ -8,7 +8,9 @@ "vats/upgrade-paRegistry.js", "vats/upgrade-board.js", "testing/test-upgraded-board.js testUpgradedBoard", - "vats/upgrade-agoricNames.js upgradeAgoricNames" + "vats/upgrade-agoricNames.js agoricNamesCoreEvals/upgradeAgoricNames", + "testing/append-chain-info agoricNamesCoreEvals/appendChainInfo", + "testing/add-USD-OLIVES.js agoricNamesCoreEvals/addUsdOlives" ] }, "type": "module", @@ -22,6 +24,7 @@ "@endo/errors": "1.2.7", "@endo/init": "^1.1.5", "@endo/marshal": "^1.5.4", + "agoric": "dev", "ava": "^5.3.1", "better-sqlite3": "^9.6.0", "execa": "9.1.0" diff --git a/a3p-integration/proposals/p:upgrade-19/test-lib/index.js b/a3p-integration/proposals/p:upgrade-19/test-lib/index.js new file mode 100644 index 00000000000..e726672b3c1 --- /dev/null +++ b/a3p-integration/proposals/p:upgrade-19/test-lib/index.js @@ -0,0 +1,20 @@ +/* eslint-env node */ +import { makeWalletUtils } from '@agoric/client-utils'; + +export const networkConfig = { + rpcAddrs: ['http://0.0.0.0:26657'], + chainName: 'agoriclocal', +}; + +/** + * Resolve after a delay in milliseconds. + * + * @param {number} ms + * @returns {Promise} + */ +const delay = ms => new Promise(resolve => setTimeout(() => resolve(), ms)); + +export const walletUtils = await makeWalletUtils( + { delay, fetch }, + networkConfig, +); diff --git a/a3p-integration/proposals/p:upgrade-19/test-lib/psm-lib.js b/a3p-integration/proposals/p:upgrade-19/test-lib/psm-lib.js new file mode 100644 index 00000000000..8f8d0abadc8 --- /dev/null +++ b/a3p-integration/proposals/p:upgrade-19/test-lib/psm-lib.js @@ -0,0 +1,287 @@ +/* eslint-env node */ +// from z:acceptance/test-lib/psm-lib.js + +import { execa } from 'execa'; +import { getNetworkConfig } from 'agoric/src/helpers.js'; +import { waitUntilOfferResult } from '@agoric/client-utils'; +import { deepMapObject } from '@agoric/internal'; +import { + agd, + agopsLocation, + CHAINID, + executeCommand, + VALIDATORADDR, +} from '@agoric/synthetic-chain'; + +/** @import {Result as ExecaResult, ExecaError} from 'execa'; */ +/** + * @typedef {ExecaResult & { all: string } & ( + * | { failed: false } + * | Pick< + * ExecaError & { failed: true }, + * | 'failed' + * | 'shortMessage' + * | 'cause' + * | 'exitCode' + * | 'signal' + * | 'signalDescription' + * > + * )} SendOfferResult + */ + +/** + * @import {Coin} from '@agoric/cosmic-proto/cosmos/base/v1beta1/coin.js'; + */ + +/** + * Given either an array of [string, Value] or + * { [labelKey]: string, [valueKey]: Value } entries, or a + * Record object, log a concise representation similar to + * the latter but hiding implementation details of any embedded remotables. + * + * Sample output from any of the following input data: + * - { foo: { brand: FooBrand, value: '42' }, bar: { brand: BarBrand, value: '100' } } + * - [['foo', { brand: FooBrand, value: '42' }], ['bar', { brand: BarBrand, value: '100' }]] + * - [{ label: 'foo', amount: { brand: FooBrand, value: '42' } }, + * { label: 'bar', amount: { brand: BarBrand, value: '100' } }] + * + * $label $shape { + * foo: { + * brand: Object Alleged: Foo brand {}, + * value: '42', + * }, + * bar: { + * brand: Object Alleged: Bar brand {}, + * value: '100', + * }, + * } + * + * where $shape is `{ [label]: amount, ... }` for the third kind of input data + * but is otherwise empty. + * @deprecated should be in @agoric/client-utils? + * + * @template [Value=unknown] + * @param {string} label + * @param {Array<[string, Value] | object> | Record} data + * @param {(...args: unknown[]) => void} [log] + * @returns {void} + */ +export const logRecord = (label, data, log = console.log) => { + const entries = Array.isArray(data) ? [...data] : Object.entries(data); + /** @type {[labelKey: PropertyKey, valueKey: PropertyKey] | undefined} */ + let shape; + for (let i = 0; i < entries.length; i += 1) { + let entry = entries[i]; + if (!Array.isArray(entry)) { + // Determine which key of a two-property "entry object" (e.g., + // {denom, amount} or {brand, value} is the label and which is the value + // (which may be of type object or number or bigint or string). + if (!shape) { + const entryKeys = Object.keys(entry); + if (entryKeys.length !== 2) { + throw Error( + `[INTERNAL logRecord] not shaped like a record entry: {${entryKeys}}`, + ); + } + const valueKeyIndex = entryKeys.findIndex( + k => + typeof entry[k] === 'object' || + (entry[k].trim() !== '' && !Number.isNaN(Number(entry[k]))), + ); + if (valueKeyIndex === undefined) { + throw Error( + `[INTERNAL logRecord] no value property: {${entryKeys}}={${Object.values(entry).map(String)}}`, + ); + } + shape = /** @type {[string, string]} */ ( + valueKeyIndex === 1 ? entryKeys : entryKeys.reverse() + ); + } + // Convert the entry object to a [key, value] entry array. + entries[i] = shape.map(k => entry[k]); + entry = entries[i]; + } + // Simplify remotables in the value. + entry[1] = deepMapObject(entry[1], value => { + const tag = + value && typeof value === 'object' && value[Symbol.toStringTag]; + return tag + ? Object.defineProperty({}, Symbol.toStringTag, { + value: tag, + enumerable: false, + }) + : value; + }); + } + log( + label, + shape ? `{ [${String(shape[0])}]: ${String(shape[1])}, ... }` : '', + Object.fromEntries(entries), + ); +}; + +/** + * @typedef {object} PsmMetrics + * @property {import('@agoric/ertp').Amount<'nat'>} anchorPoolBalance + * @property {import('@agoric/ertp').Amount<'nat'>} feePoolBalance + * @property {import('@agoric/ertp').Amount<'nat'>} mintedPoolBalance + * @property {import('@agoric/ertp').Amount<'nat'>} totalAnchorProvided + * @property {import('@agoric/ertp').Amount<'nat'>} totalMintedProvided + */ + +/** + * Import from synthetic-chain once it is updated + * + * @param {string} addr + * @param {string} wanted + * @param {string} [from] + */ +export const bankSend = (addr, wanted, from = VALIDATORADDR) => { + const chain = ['--chain-id', CHAINID]; + const fromArg = ['--from', from]; + const testKeyring = ['--keyring-backend', 'test']; + const noise = [...fromArg, ...chain, ...testKeyring, '--yes']; + + return agd.tx('bank', 'send', from, addr, wanted, ...noise); +}; + +/** + * A variant of {@link sendOfferAgoric} that uses `agd` directly to e.g. + * control gas calculation. + * + * @param {string} address + * @param {Promise} offerPromise + * @returns {Promise} + */ +export const sendOfferAgd = async (address, offerPromise) => { + const offer = await offerPromise; + const networkConfig = await getNetworkConfig({ env: process.env, fetch }); + const { chainName, rpcAddrs } = networkConfig; + const args = /** @type {string[]} */ ( + // @ts-expect-error heterogeneous concat + [].concat( + [`--node=${rpcAddrs[0]}`, `--chain-id=${chainName}`], + [`--keyring-backend=test`, `--from=${address}`], + ['tx', 'swingset', 'wallet-action', '--allow-spend', offer], + '--yes', + '-bblock', + '-ojson', + ) + ); + + const [settlement] = await Promise.allSettled([ + execa('agd', args, { all: true }), + ]); + + // Upon successful exit, verify that the *output* also indicates success. + // cf. https://github.com/Agoric/agoric-sdk/blob/master/packages/agoric-cli/src/lib/wallet.js + if (settlement.status === 'fulfilled') { + const result = settlement.value; + try { + const tx = JSON.parse(result.stdout); + if (tx.code !== 0) { + return { ...result, failed: true, shortMessage: `code ${tx.code}` }; + } + } catch (err) { + return { + ...result, + failed: true, + shortMessage: 'unexpected output', + cause: err, + }; + } + } + + return settlement.status === 'fulfilled' + ? settlement.value + : settlement.reason; +}; + +/** + * @param {string} address + * @param {Array} params + * @param {{ + * follow: (...params: string[]) => Promise; + * sendOffer?: (address: string, offerPromise: Promise) => Promise; + * setTimeout: typeof global.setTimeout; + * now: () => number; + * log: typeof console.log + * }} io + */ +export const psmSwap = async (address, params, io) => { + const { now, sendOffer = sendOfferAgd, ...waitIO } = io; + const offerId = `${address}-psm-swap-${now()}`; + const newParams = ['psm', ...params, '--offerId', offerId]; + const offerPromise = executeCommand(agopsLocation, newParams); + const sendResult = await sendOffer(address, offerPromise); + if (sendResult.failed) { + const { + command, + durationMs, + shortMessage, + cause, + exitCode, + signal, + signalDescription, + all: output, + } = sendResult; + const summary = { + command, + durationMs, + shortMessage, + cause, + exitCode, + signal, + signalDescription, + output, + }; + console.error('psmSwap tx send failed', summary); + throw Error( + `psmSwap tx send failed: ${JSON.stringify({ exitCode, signal, signalDescription })}`, + { cause }, + ); + } + console.log('psmSwap tx send results', sendResult.all); + + await waitUntilOfferResult(address, offerId, true, waitIO, { + errorMessage: `${offerId} not succeeded`, + }); +}; + +/** + * + * @param {Coin[]} balances + * @param {string} targetDenom + */ +export const extractBalance = (balances, targetDenom) => { + const balance = balances.find(({ denom }) => denom === targetDenom); + if (!balance) return 0; + return Number(balance.amount); +}; + +/** + * Checking IST balances can be tricky because of the execution fee mentioned in + * https://github.com/Agoric/agoric-sdk/issues/6525. So we first check for + * equality, but if that fails we recheck against an assumption that a fee of + * the default "minFeeDebit" has been charged. + * + * @param {import('ava').ExecutionContext} t + * @param {number} actualBalance + * @param {number} expectedBalance + */ +export const tryISTBalances = async (t, actualBalance, expectedBalance) => { + const firstTry = await t.try(tt => { + tt.is(actualBalance, expectedBalance); + }); + if (firstTry.passed) { + firstTry.commit(); + return; + } + + firstTry.discard(); + t.log('tryISTBalances assuming no batched IST fee', ...firstTry.errors); + // See golang/cosmos/x/swingset/types/default-params.go + // and `ChargeBeans` in golang/cosmos/x/swingset/keeper/keeper.go. + const minFeeDebit = 200_000; + t.is(actualBalance + minFeeDebit, expectedBalance); +}; diff --git a/a3p-integration/proposals/p:upgrade-19/test-lib/utils.js b/a3p-integration/proposals/p:upgrade-19/test-lib/utils.js new file mode 100644 index 00000000000..dfcdff13f64 --- /dev/null +++ b/a3p-integration/proposals/p:upgrade-19/test-lib/utils.js @@ -0,0 +1,66 @@ +/* eslint-env node */ +import { makeStargateClient, makeVstorageKit } from '@agoric/client-utils'; +import { readFile, writeFile } from 'node:fs/promises'; +import { networkConfig } from './index.js'; + +export const stargateClientP = makeStargateClient(networkConfig, { fetch }); +export const vstorageKitP = makeVstorageKit({ fetch }, networkConfig); + +/** + * @import {WalletUtils} from '@agoric/client-utils'; + * @import {CurrentWalletRecord} from '@agoric/smart-wallet/src/smartWallet.js'; + */ + +/** + * @param {string} fileName base file name without .tjs extension + * @param {Record} replacements + */ +export const replaceTemplateValuesInFile = async (fileName, replacements) => { + let script = await readFile(`${fileName}.tjs`, 'utf-8'); + for (const [template, value] of Object.entries(replacements)) { + script = script.replaceAll(`{{${template}}}`, value); + } + await writeFile(`${fileName}.js`, script); +}; + +// FIXME this return type depends on its arguments in surprising ways +/** + * @param {string[]} addresses + * @param {string} [targetDenom] + * @returns {Promise} + */ +export const getBalances = async (addresses, targetDenom = undefined) => { + const client = await stargateClientP; + const balancesList = await Promise.all( + addresses.map(async address => { + const balances = await client.getAllBalances(address); + + if (targetDenom) { + const balance = balances.find(({ denom }) => denom === targetDenom); + return balance ? BigInt(balance.amount) : undefined; + } + + return balances; + }), + ); + + return addresses.length === 1 ? balancesList[0] : balancesList; +}; + +// TODO move this out of testing. To inter-protocol? +// "vaults" is an Inter thing, but vstorage shape is a full chain (client) thing +// Maybe a plugin architecture where the truth is in inter-protocol and the +// client-lib rolls up the exports of many packages? +/** + * @param {string} addr + * @param {WalletUtils} walletUtils + * @returns {Promise} + */ +export const listVaults = async (addr, { getCurrentWalletRecord }) => { + const current = await getCurrentWalletRecord(addr); + const vaultStoragePaths = current.offerToPublicSubscriberPaths.map( + ([_offerId, pathmap]) => pathmap.vault, + ); + + return vaultStoragePaths; +}; diff --git a/a3p-integration/proposals/p:upgrade-19/test.sh b/a3p-integration/proposals/p:upgrade-19/test.sh index 055727518f8..aa766db3a28 100644 --- a/a3p-integration/proposals/p:upgrade-19/test.sh +++ b/a3p-integration/proposals/p:upgrade-19/test.sh @@ -4,3 +4,4 @@ yarn ava replaceFeeDistributor.test.js yarn ava upgradedBoard.test.js yarn ava provisionPool.test.js +yarn ava agoricNames.test.js diff --git a/a3p-integration/proposals/p:upgrade-19/yarn.lock b/a3p-integration/proposals/p:upgrade-19/yarn.lock index e795ff2f376..a9c86ac69e3 100644 --- a/a3p-integration/proposals/p:upgrade-19/yarn.lock +++ b/a3p-integration/proposals/p:upgrade-19/yarn.lock @@ -5,6 +5,17 @@ __metadata: version: 8 cacheKey: 10c0 +"@agoric/access-token@npm:0.4.22-dev-e596a01.0+e596a01": + version: 0.4.22-dev-e596a01.0 + resolution: "@agoric/access-token@npm:0.4.22-dev-e596a01.0" + dependencies: + n-readlines: "npm:^1.0.0" + proper-lockfile: "npm:^4.1.2" + tmp: "npm:^0.2.1" + checksum: 10c0/087a332eb5ed185826b6699d0f22d9f9c92fc86549b5e385d79859f2dffed43d12c1c9ade41050d27dd20b3762d67ce75b9b716cca579b0883bef4a6cae14a9c + languageName: node + linkType: hard + "@agoric/babel-generator@npm:^7.17.6": version: 7.17.6 resolution: "@agoric/babel-generator@npm:7.17.6" @@ -61,6 +72,35 @@ __metadata: languageName: node linkType: hard +"@agoric/base-zone@npm:0.1.1-dev-e596a01.0+e596a01": + version: 0.1.1-dev-e596a01.0 + resolution: "@agoric/base-zone@npm:0.1.1-dev-e596a01.0" + dependencies: + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/80d7d03d2d70e42a8544f8ba559324c4a5e7adf808a179d1a3a10f8f12f589d97422999f700542ed3e2935f6219c53890f7334cecf28bdc1d8c1e11f4ce6f0da + languageName: node + linkType: hard + +"@agoric/cache@npm:0.3.3-dev-e596a01.0+e596a01": + version: 0.3.3-dev-e596a01.0 + resolution: "@agoric/cache@npm:0.3.3-dev-e596a01.0" + dependencies: + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + checksum: 10c0/6ab6482ca14e179873bccc027643d8a3848e74a810e6f70b1a81c89eaec9105588479298daa07a8aba78d85e3d17b4835c3ceccc7333dcc6dba4ba720a00cdad + languageName: node + linkType: hard + "@agoric/casting@npm:0.4.3-dev-02c06c4.0+02c06c4": version: 0.4.3-dev-02c06c4.0 resolution: "@agoric/casting@npm:0.4.3-dev-02c06c4.0" @@ -82,6 +122,27 @@ __metadata: languageName: node linkType: hard +"@agoric/casting@npm:0.4.3-dev-e596a01.0+e596a01": + version: 0.4.3-dev-e596a01.0 + resolution: "@agoric/casting@npm:0.4.3-dev-e596a01.0" + dependencies: + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@cosmjs/encoding": "npm:^0.32.3" + "@cosmjs/proto-signing": "npm:^0.32.3" + "@cosmjs/stargate": "npm:^0.32.3" + "@cosmjs/tendermint-rpc": "npm:^0.32.3" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/lockdown": "npm:^1.0.13" + "@endo/marshal": "npm:^1.6.2" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/87b3e726fc872c286e4ab22759542248403ba00aeadf14c969d3579059e7518525b88d5b5ae93546c6722b319c16ffe1a8e633c38f39c67758a188ac3060cb0e + languageName: node + linkType: hard + "@agoric/client-utils@npm:0.1.1-dev-02c06c4.0": version: 0.1.1-dev-02c06c4.0 resolution: "@agoric/client-utils@npm:0.1.1-dev-02c06c4.0" @@ -103,6 +164,27 @@ __metadata: languageName: node linkType: hard +"@agoric/client-utils@npm:0.1.1-dev-e596a01.0+e596a01": + version: 0.1.1-dev-e596a01.0 + resolution: "@agoric/client-utils@npm:0.1.1-dev-e596a01.0" + dependencies: + "@agoric/casting": "npm:0.4.3-dev-e596a01.0+e596a01" + "@agoric/ertp": "npm:0.16.3-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/smart-wallet": "npm:0.5.4-dev-e596a01.0+e596a01" + "@agoric/vats": "npm:0.15.2-dev-e596a01.0+e596a01" + "@cosmjs/stargate": "npm:^0.32.3" + "@cosmjs/tendermint-rpc": "npm:^0.32.3" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/7ffb8aca467fda3474081eda4749707c9beae2dac589467bf8eca9e0d6b244bf459458b3e9cff3e58149a04ade7684bb2c31e76a3df24f95ba6b65f542ee7af1 + languageName: node + linkType: hard + "@agoric/cosmic-proto@npm:0.4.1-dev-02c06c4.0+02c06c4": version: 0.4.1-dev-02c06c4.0 resolution: "@agoric/cosmic-proto@npm:0.4.1-dev-02c06c4.0" @@ -113,6 +195,16 @@ __metadata: languageName: node linkType: hard +"@agoric/cosmic-proto@npm:0.4.1-dev-e596a01.0+e596a01": + version: 0.4.1-dev-e596a01.0 + resolution: "@agoric/cosmic-proto@npm:0.4.1-dev-e596a01.0" + dependencies: + "@endo/base64": "npm:^1.0.9" + "@endo/init": "npm:^1.1.7" + checksum: 10c0/2048e794ec9a346fb3a618b1b64d54985241967930b8b34c9220316b206fca4d3ecdf738e23e56021d45c3818f4513842e6d4c4d917a537dad59c13651d0ae35 + languageName: node + linkType: hard + "@agoric/ertp@npm:0.16.3-dev-02c06c4.0+02c06c4": version: 0.16.3-dev-02c06c4.0 resolution: "@agoric/ertp@npm:0.16.3-dev-02c06c4.0" @@ -151,6 +243,25 @@ __metadata: languageName: node linkType: hard +"@agoric/ertp@npm:0.16.3-dev-e596a01.0+e596a01": + version: 0.16.3-dev-e596a01.0 + resolution: "@agoric/ertp@npm:0.16.3-dev-e596a01.0" + dependencies: + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@agoric/zone": "npm:0.2.3-dev-e596a01.0+e596a01" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/ab700381bfa907b08984fa7545ddfecf470ca33417d260d3f46a8e6e9f9de3c1eb32bca8f7ca94ef11e5d694c6f847ed7297eed5d48daa40fba236934caefd93 + languageName: node + linkType: hard + "@agoric/governance@npm:0.10.4-dev-02c06c4.0+02c06c4": version: 0.10.4-dev-02c06c4.0 resolution: "@agoric/governance@npm:0.10.4-dev-02c06c4.0" @@ -175,6 +286,56 @@ __metadata: languageName: node linkType: hard +"@agoric/governance@npm:0.10.4-dev-e596a01.0+e596a01": + version: 0.10.4-dev-e596a01.0 + resolution: "@agoric/governance@npm:0.10.4-dev-e596a01.0" + dependencies: + "@agoric/ertp": "npm:0.16.3-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/time": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@agoric/zoe": "npm:0.26.3-dev-e596a01.0+e596a01" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + import-meta-resolve: "npm:^2.2.1" + checksum: 10c0/89da3da85ca87524f7bb81322587a44e9cd24aa72d9e83215bad6763ddda308ab639db1c8db4c0164748c4a897732b652b586b21c03ec9e63799cd2ac5eb1478 + languageName: node + linkType: hard + +"@agoric/inter-protocol@npm:0.16.2-dev-e596a01.0+e596a01": + version: 0.16.2-dev-e596a01.0 + resolution: "@agoric/inter-protocol@npm:0.16.2-dev-e596a01.0" + dependencies: + "@agoric/ertp": "npm:0.16.3-dev-e596a01.0+e596a01" + "@agoric/governance": "npm:0.10.4-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/time": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@agoric/vats": "npm:0.15.2-dev-e596a01.0+e596a01" + "@agoric/zoe": "npm:0.26.3-dev-e596a01.0+e596a01" + "@agoric/zone": "npm:0.2.3-dev-e596a01.0+e596a01" + "@endo/captp": "npm:^4.4.3" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + jessie.js: "npm:^0.3.4" + checksum: 10c0/f4b468a93d33330ae41a57b5892eb25f880fd3f44264031a6b42ffd3b2ddf883af9a89a2dd3e647b75ac665512fff88a136b2e80a4f7c355f2d96a4faaa0f891 + languageName: node + linkType: hard + "@agoric/internal@npm:0.3.3-dev-02c06c4.0+02c06c4": version: 0.3.3-dev-02c06c4.0 resolution: "@agoric/internal@npm:0.3.3-dev-02c06c4.0" @@ -215,6 +376,26 @@ __metadata: languageName: node linkType: hard +"@agoric/internal@npm:0.3.3-dev-e596a01.0+e596a01": + version: 0.3.3-dev-e596a01.0 + resolution: "@agoric/internal@npm:0.3.3-dev-e596a01.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-dev-e596a01.0+e596a01" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/stream": "npm:^1.2.8" + anylogger: "npm:^0.21.0" + jessie.js: "npm:^0.3.4" + checksum: 10c0/4126ce8655136ccf4f4bf7e01bb376bdada84bd1cda9cc6e1cf15971c28601a301d768d3b3fe2d692fe6e56a7b17726a8df0043c507943f8d28980a5b3d704a0 + languageName: node + linkType: hard + "@agoric/internal@npm:dev": version: 0.3.3-dev-1dd4589.0 resolution: "@agoric/internal@npm:0.3.3-dev-1dd4589.0" @@ -257,6 +438,17 @@ __metadata: languageName: node linkType: hard +"@agoric/kmarshal@npm:0.1.1-dev-e596a01.0+e596a01": + version: 0.1.1-dev-e596a01.0 + resolution: "@agoric/kmarshal@npm:0.1.1-dev-e596a01.0" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + checksum: 10c0/065c51515ce0a679c1d884d1d7a62c20effa371b22ea64acab9204f4a7bde8a18ec90d64cf4c6a577f81df77f49aa3b82269ba76e62670217866ad417fa131f9 + languageName: node + linkType: hard + "@agoric/network@npm:0.1.1-dev-02c06c4.0+02c06c4": version: 0.1.1-dev-02c06c4.0 resolution: "@agoric/network@npm:0.1.1-dev-02c06c4.0" @@ -274,6 +466,23 @@ __metadata: languageName: node linkType: hard +"@agoric/network@npm:0.1.1-dev-e596a01.0+e596a01": + version: 0.1.1-dev-e596a01.0 + resolution: "@agoric/network@npm:0.1.1-dev-e596a01.0" + dependencies: + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@endo/base64": "npm:^1.0.9" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/479f46b9c690b1f849bfa4d7af16eb26d84075ca08b9d9aa5779e9665c3af542c9f721e49705ffe6ff16c1a8eb476e8694bd2da74f3f83ecf027061943c11baf + languageName: node + linkType: hard + "@agoric/notifier@npm:0.6.3-dev-02c06c4.0+02c06c4": version: 0.6.3-dev-02c06c4.0 resolution: "@agoric/notifier@npm:0.6.3-dev-02c06c4.0" @@ -304,6 +513,21 @@ __metadata: languageName: node linkType: hard +"@agoric/notifier@npm:0.6.3-dev-e596a01.0+e596a01": + version: 0.6.3-dev-e596a01.0 + resolution: "@agoric/notifier@npm:0.6.3-dev-e596a01.0" + dependencies: + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/7eccc2a40185ce33027bbfe6f10b7118ff19924295b65053e89189ca512e990218b2a3519f87dd19a411c623777c1a22c55ee256f764e86bc4e6fb56ce1e5058 + languageName: node + linkType: hard + "@agoric/smart-wallet@npm:0.5.4-dev-02c06c4.0+02c06c4": version: 0.5.4-dev-02c06c4.0 resolution: "@agoric/smart-wallet@npm:0.5.4-dev-02c06c4.0" @@ -327,6 +551,29 @@ __metadata: languageName: node linkType: hard +"@agoric/smart-wallet@npm:0.5.4-dev-e596a01.0+e596a01": + version: 0.5.4-dev-e596a01.0 + resolution: "@agoric/smart-wallet@npm:0.5.4-dev-e596a01.0" + dependencies: + "@agoric/ertp": "npm:0.16.3-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@agoric/vats": "npm:0.15.2-dev-e596a01.0+e596a01" + "@agoric/vow": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/zoe": "npm:0.26.3-dev-e596a01.0+e596a01" + "@agoric/zone": "npm:0.2.3-dev-e596a01.0+e596a01" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/c970404d201decbfac57e5a6d6b368639e8f52a13fe1a26219975d7b7b4cdf7e5aa17de8a1135003a9b0383bc3507c794e8c09a9c4f39cc3e7da7a78af2f7051 + languageName: node + linkType: hard + "@agoric/store@npm:0.9.3-dev-02c06c4.0+02c06c4": version: 0.9.3-dev-02c06c4.0 resolution: "@agoric/store@npm:0.9.3-dev-02c06c4.0" @@ -366,6 +613,19 @@ __metadata: languageName: node linkType: hard +"@agoric/store@npm:0.9.3-dev-e596a01.0+e596a01": + version: 0.9.3-dev-e596a01.0 + resolution: "@agoric/store@npm:0.9.3-dev-e596a01.0" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/b931aa2566d2ef2fea087938c34a79a6682a15f0fc9a5084e73c671d970f22ab3a1040febab4f7f0ae793858597834d76840b1d9c20a89048b725e3b5443b84f + languageName: node + linkType: hard + "@agoric/swing-store@npm:0.9.2-dev-02c06c4.0+02c06c4": version: 0.9.2-dev-02c06c4.0 resolution: "@agoric/swing-store@npm:0.9.2-dev-02c06c4.0" @@ -396,6 +656,21 @@ __metadata: languageName: node linkType: hard +"@agoric/swing-store@npm:0.9.2-dev-e596a01.0+e596a01": + version: 0.9.2-dev-e596a01.0 + resolution: "@agoric/swing-store@npm:0.9.2-dev-e596a01.0" + dependencies: + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@endo/base64": "npm:^1.0.9" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/check-bundle": "npm:^1.0.12" + "@endo/errors": "npm:^1.2.8" + "@endo/nat": "npm:^5.0.13" + better-sqlite3: "npm:^9.1.1" + checksum: 10c0/bcedeb1c71cdb429e4587730b726309f7feb6ef5e81ad58282d0c350fbbdb1a56f889c0163c3dba35142a6feccb0a10dfbadcb3a8a18d7426684faa6cfbaf71c + languageName: node + linkType: hard + "@agoric/swingset-liveslots@npm:0.10.3-dev-02c06c4.0+02c06c4": version: 0.10.3-dev-02c06c4.0 resolution: "@agoric/swingset-liveslots@npm:0.10.3-dev-02c06c4.0" @@ -438,6 +713,27 @@ __metadata: languageName: node linkType: hard +"@agoric/swingset-liveslots@npm:0.10.3-dev-e596a01.0+e596a01": + version: 0.10.3-dev-e596a01.0 + resolution: "@agoric/swingset-liveslots@npm:0.10.3-dev-e596a01.0" + dependencies: + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@endo/env-options": "npm:^1.1.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/eecefa9afa9f918753770c42029af28652c432ffa60841c1fdd2ec6ec851d0a4b17838e80b95a3650551819e069d9ec0301114064e1e21fb57de1d69dcd5d21d + languageName: node + linkType: hard + "@agoric/swingset-vat@npm:0.32.3-dev-02c06c4.0+02c06c4": version: 0.32.3-dev-02c06c4.0 resolution: "@agoric/swingset-vat@npm:0.32.3-dev-02c06c4.0" @@ -534,6 +830,54 @@ __metadata: languageName: node linkType: hard +"@agoric/swingset-vat@npm:0.32.3-dev-e596a01.0+e596a01": + version: 0.32.3-dev-e596a01.0 + resolution: "@agoric/swingset-vat@npm:0.32.3-dev-e596a01.0" + dependencies: + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/kmarshal": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/swing-store": "npm:0.9.2-dev-e596a01.0+e596a01" + "@agoric/swingset-liveslots": "npm:0.10.3-dev-e596a01.0+e596a01" + "@agoric/swingset-xsnap-supervisor": "npm:0.10.3-dev-e596a01.0+e596a01" + "@agoric/time": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@agoric/xsnap-lockdown": "npm:0.14.1-dev-e596a01.0+e596a01" + "@endo/base64": "npm:^1.0.9" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/check-bundle": "npm:^1.0.12" + "@endo/compartment-mapper": "npm:^1.4.0" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/ses-ava": "npm:^1.2.8" + "@endo/stream": "npm:^1.2.8" + "@endo/zip": "npm:^1.0.9" + ansi-styles: "npm:^6.2.1" + anylogger: "npm:^0.21.0" + better-sqlite3: "npm:^9.1.1" + import-meta-resolve: "npm:^2.2.1" + microtime: "npm:^3.1.0" + semver: "npm:^6.3.0" + tmp: "npm:^0.2.1" + yargs-parser: "npm:^21.1.1" + peerDependencies: + "@agoric/xsnap": ^0.14.2 + ava: ^5.3.0 + bin: + vat: bin/vat + checksum: 10c0/bf6b36fb6323cc00dedba73aecbdedcb6ab82555cbe3faf1bf54528bf057a84b4d813f126d8f59622a80d25a7f659a9be2f84524cf90ef93f1c0e8b1eb7f0e3f + languageName: node + linkType: hard + "@agoric/swingset-xsnap-supervisor@npm:0.10.3-dev-02c06c4.0+02c06c4": version: 0.10.3-dev-02c06c4.0 resolution: "@agoric/swingset-xsnap-supervisor@npm:0.10.3-dev-02c06c4.0" @@ -548,6 +892,13 @@ __metadata: languageName: node linkType: hard +"@agoric/swingset-xsnap-supervisor@npm:0.10.3-dev-e596a01.0+e596a01": + version: 0.10.3-dev-e596a01.0 + resolution: "@agoric/swingset-xsnap-supervisor@npm:0.10.3-dev-e596a01.0" + checksum: 10c0/917599c1a2d332cade944143894643061cdf260f93dc428e26df4f572cb08e4d649981c814545f15ced1ea737332ebc4f9fa1488f0a2d91cd2a647ead15aa05b + languageName: node + linkType: hard + "@agoric/synthetic-chain@npm:^0.4.3": version: 0.4.3 resolution: "@agoric/synthetic-chain@npm:0.4.3" @@ -587,6 +938,18 @@ __metadata: languageName: node linkType: hard +"@agoric/time@npm:0.3.3-dev-e596a01.0+e596a01": + version: 0.3.3-dev-e596a01.0 + resolution: "@agoric/time@npm:0.3.3-dev-e596a01.0" + dependencies: + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@endo/errors": "npm:^1.2.8" + "@endo/nat": "npm:^5.0.13" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/612a7aef958093220f176a90510544c9a2900654213a6fc28dc77b2d6036c852ee0724eaaa2f92ee6280c9421a5290a8ff276e1e3185b4c2bc1f793edef92c6e + languageName: node + linkType: hard + "@agoric/vat-data@npm:0.5.3-dev-02c06c4.0+02c06c4": version: 0.5.3-dev-02c06c4.0 resolution: "@agoric/vat-data@npm:0.5.3-dev-02c06c4.0" @@ -615,6 +978,20 @@ __metadata: languageName: node linkType: hard +"@agoric/vat-data@npm:0.5.3-dev-e596a01.0+e596a01": + version: 0.5.3-dev-e596a01.0 + resolution: "@agoric/vat-data@npm:0.5.3-dev-e596a01.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/swingset-liveslots": "npm:0.10.3-dev-e596a01.0+e596a01" + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/60cc9df55fcad0607907139e565a3c25c1e7e3c1dbb8aecac9a44d3f38baa51b109caf049d18ac2db37f8c918e8e6f1f99a621a761a14ad29274add4d9c6dbfc + languageName: node + linkType: hard + "@agoric/vats@npm:0.15.2-dev-02c06c4.0+02c06c4": version: 0.15.2-dev-02c06c4.0 resolution: "@agoric/vats@npm:0.15.2-dev-02c06c4.0" @@ -646,6 +1023,37 @@ __metadata: languageName: node linkType: hard +"@agoric/vats@npm:0.15.2-dev-e596a01.0+e596a01": + version: 0.15.2-dev-e596a01.0 + resolution: "@agoric/vats@npm:0.15.2-dev-e596a01.0" + dependencies: + "@agoric/cosmic-proto": "npm:0.4.1-dev-e596a01.0+e596a01" + "@agoric/ertp": "npm:0.16.3-dev-e596a01.0+e596a01" + "@agoric/governance": "npm:0.10.4-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/network": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/swingset-vat": "npm:0.32.3-dev-e596a01.0+e596a01" + "@agoric/time": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@agoric/vow": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/zoe": "npm:0.26.3-dev-e596a01.0+e596a01" + "@agoric/zone": "npm:0.2.3-dev-e596a01.0+e596a01" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + import-meta-resolve: "npm:^2.2.1" + jessie.js: "npm:^0.3.4" + checksum: 10c0/aedf4b872c1871eefadf23e54e48317d29afc512486d6f72f85af3f1ae293ef944e8b0f542f6a67bff40fcff7f44618ddd69a62ad9e1aa08575f1f87f6a4116f + languageName: node + linkType: hard + "@agoric/vow@npm:0.1.1-dev-02c06c4.0+02c06c4": version: 0.1.1-dev-02c06c4.0 resolution: "@agoric/vow@npm:0.1.1-dev-02c06c4.0" @@ -678,6 +1086,22 @@ __metadata: languageName: node linkType: hard +"@agoric/vow@npm:0.1.1-dev-e596a01.0+e596a01": + version: 0.1.1-dev-e596a01.0 + resolution: "@agoric/vow@npm:0.1.1-dev-e596a01.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@endo/env-options": "npm:^1.1.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/b2e78d46544356663b726be791385fc2518b2ae4b679f774d1bb16f711e7e4e468256bc5d7ab4c389458c1d802ee7b5a729f5be3b475faeaa4b70086cbaf8a01 + languageName: node + linkType: hard + "@agoric/xsnap-lockdown@npm:0.14.1-dev-02c06c4.0+02c06c4": version: 0.14.1-dev-02c06c4.0 resolution: "@agoric/xsnap-lockdown@npm:0.14.1-dev-02c06c4.0" @@ -692,6 +1116,13 @@ __metadata: languageName: node linkType: hard +"@agoric/xsnap-lockdown@npm:0.14.1-dev-e596a01.0+e596a01": + version: 0.14.1-dev-e596a01.0 + resolution: "@agoric/xsnap-lockdown@npm:0.14.1-dev-e596a01.0" + checksum: 10c0/454a7fa69028317d9d1f1c0cd0599a4de85cbc82e9550d51eead6ec5193ee330a1956cd9372632dc25cd248b6a25a6b99e4c8b4cc060a68065a58db756bffc8f + languageName: node + linkType: hard + "@agoric/zoe@npm:0.26.3-dev-02c06c4.0+02c06c4": version: 0.26.3-dev-02c06c4.0 resolution: "@agoric/zoe@npm:0.26.3-dev-02c06c4.0" @@ -725,6 +1156,39 @@ __metadata: languageName: node linkType: hard +"@agoric/zoe@npm:0.26.3-dev-e596a01.0+e596a01": + version: 0.26.3-dev-e596a01.0 + resolution: "@agoric/zoe@npm:0.26.3-dev-e596a01.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/ertp": "npm:0.16.3-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/notifier": "npm:0.6.3-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/swingset-liveslots": "npm:0.10.3-dev-e596a01.0+e596a01" + "@agoric/swingset-vat": "npm:0.32.3-dev-e596a01.0+e596a01" + "@agoric/time": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@agoric/vow": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/zone": "npm:0.2.3-dev-e596a01.0+e596a01" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + yargs-parser: "npm:^21.1.1" + checksum: 10c0/05898e27166028b62eee44f712384d79bc704a19a8277a5b343384c5b4e2de6b5f14799faa349acdbc7c2c69e96aaa89ce39f60f594a6956b94cf7b7c9d7be28 + languageName: node + linkType: hard + "@agoric/zoe@npm:dev": version: 0.26.3-dev-3b799b8.0 resolution: "@agoric/zoe@npm:0.26.3-dev-3b799b8.0" @@ -784,6 +1248,19 @@ __metadata: languageName: node linkType: hard +"@agoric/zone@npm:0.2.3-dev-e596a01.0+e596a01": + version: 0.2.3-dev-e596a01.0 + resolution: "@agoric/zone@npm:0.2.3-dev-e596a01.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/vat-data": "npm:0.5.3-dev-e596a01.0+e596a01" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + checksum: 10c0/f1847d20ff41cce66bcfde787ae87ba8d166387d5442c5121b14cb411dbcdcbfaa6c6e6dddbf6b44f8adc3ad8de97268c2053f091a872a7c379d2ad6df555ff7 + languageName: node + linkType: hard + "@babel/code-frame@npm:^7.25.9": version: 7.26.2 resolution: "@babel/code-frame@npm:7.26.2" @@ -869,6 +1346,13 @@ __metadata: languageName: node linkType: hard +"@colors/colors@npm:1.6.0": + version: 1.6.0 + resolution: "@colors/colors@npm:1.6.0" + checksum: 10c0/9328a0778a5b0db243af54455b79a69e3fb21122d6c15ef9e9fcc94881d8d17352d8b2b2590f9bdd46fac5c2d6c1636dcfc14358a20c70e22daf89e1a759b629 + languageName: node + linkType: hard + "@confio/ics23@npm:^0.6.8": version: 0.6.8 resolution: "@confio/ics23@npm:0.6.8" @@ -879,6 +1363,38 @@ __metadata: languageName: node linkType: hard +"@confio/relayer@npm:^0.11.3": + version: 0.11.3 + resolution: "@confio/relayer@npm:0.11.3" + dependencies: + "@cosmjs/cosmwasm-stargate": "npm:^0.32.1" + "@cosmjs/crypto": "npm:^0.32.1" + "@cosmjs/encoding": "npm:^0.32.1" + "@cosmjs/faucet-client": "npm:^0.32.1" + "@cosmjs/math": "npm:^0.32.1" + "@cosmjs/proto-signing": "npm:^0.32.1" + "@cosmjs/stargate": "npm:^0.32.1" + "@cosmjs/stream": "npm:^0.32.1" + "@cosmjs/tendermint-rpc": "npm:^0.32.1" + "@cosmjs/utils": "npm:^0.32.1" + ajv: "npm:7.1.1" + axios: "npm:^1.6.7" + commander: "npm:7.1.0" + cosmjs-types: "npm:^0.9.0" + fast-safe-stringify: "npm:2.0.4" + js-yaml: "npm:4.0.0" + lodash: "npm:4.17.21" + prom-client: "npm:13.1.0" + table: "npm:^6.7.1" + triple-beam: "npm:1.3.0" + winston: "npm:3.3.3" + bin: + ibc-relayer: build/binary/ibc-relayer/index.js + ibc-setup: build/binary/ibc-setup/index.js + checksum: 10c0/f6519a21a7e2b7d79835558305bbac6f6712b90f0e10f2c156ae74583ca170da0b97ec456272c25a2ffdcbe0343ad425e67886b792f2aed1f5303e34b93edf40 + languageName: node + linkType: hard + "@cosmjs/amino@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/amino@npm:0.32.4" @@ -891,7 +1407,25 @@ __metadata: languageName: node linkType: hard -"@cosmjs/crypto@npm:^0.32.4": +"@cosmjs/cosmwasm-stargate@npm:^0.32.1": + version: 0.32.4 + resolution: "@cosmjs/cosmwasm-stargate@npm:0.32.4" + dependencies: + "@cosmjs/amino": "npm:^0.32.4" + "@cosmjs/crypto": "npm:^0.32.4" + "@cosmjs/encoding": "npm:^0.32.4" + "@cosmjs/math": "npm:^0.32.4" + "@cosmjs/proto-signing": "npm:^0.32.4" + "@cosmjs/stargate": "npm:^0.32.4" + "@cosmjs/tendermint-rpc": "npm:^0.32.4" + "@cosmjs/utils": "npm:^0.32.4" + cosmjs-types: "npm:^0.9.0" + pako: "npm:^2.0.2" + checksum: 10c0/f7e285c51ef8b1098a9ea5ca2546a1e226b4fa0a990d95faa6f3b752f3638b6c55f36a56b6f4b11f0a66fd61e3ae8772921d8e99418218df0b2205efe1c82f37 + languageName: node + linkType: hard + +"@cosmjs/crypto@npm:^0.32.1, @cosmjs/crypto@npm:^0.32.3, @cosmjs/crypto@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/crypto@npm:0.32.4" dependencies: @@ -906,7 +1440,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/encoding@npm:^0.32.3, @cosmjs/encoding@npm:^0.32.4": +"@cosmjs/encoding@npm:^0.32.1, @cosmjs/encoding@npm:^0.32.3, @cosmjs/encoding@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/encoding@npm:0.32.4" dependencies: @@ -917,6 +1451,15 @@ __metadata: languageName: node linkType: hard +"@cosmjs/faucet-client@npm:^0.32.1": + version: 0.32.4 + resolution: "@cosmjs/faucet-client@npm:0.32.4" + dependencies: + axios: "npm:^1.6.0" + checksum: 10c0/1651cb370eb5fa2b12b6f94e06d1dc9a6306e34cad3fc87d9263d8b8a225d500449e10a9f6e326534f65261778208dab7fada6a70efb63195589ad08f58e1008 + languageName: node + linkType: hard + "@cosmjs/json-rpc@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/json-rpc@npm:0.32.4" @@ -927,7 +1470,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/math@npm:^0.32.4": +"@cosmjs/math@npm:^0.32.1, @cosmjs/math@npm:^0.32.3, @cosmjs/math@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/math@npm:0.32.4" dependencies: @@ -936,7 +1479,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/proto-signing@npm:^0.32.3, @cosmjs/proto-signing@npm:^0.32.4": +"@cosmjs/proto-signing@npm:^0.32.1, @cosmjs/proto-signing@npm:^0.32.3, @cosmjs/proto-signing@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/proto-signing@npm:0.32.4" dependencies: @@ -962,7 +1505,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/stargate@npm:^0.32.3": +"@cosmjs/stargate@npm:^0.32.1, @cosmjs/stargate@npm:^0.32.3, @cosmjs/stargate@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/stargate@npm:0.32.4" dependencies: @@ -980,7 +1523,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/stream@npm:^0.32.4": +"@cosmjs/stream@npm:^0.32.1, @cosmjs/stream@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/stream@npm:0.32.4" dependencies: @@ -989,7 +1532,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/tendermint-rpc@npm:^0.32.3, @cosmjs/tendermint-rpc@npm:^0.32.4": +"@cosmjs/tendermint-rpc@npm:^0.32.1, @cosmjs/tendermint-rpc@npm:^0.32.3, @cosmjs/tendermint-rpc@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/tendermint-rpc@npm:0.32.4" dependencies: @@ -1007,13 +1550,24 @@ __metadata: languageName: node linkType: hard -"@cosmjs/utils@npm:^0.32.4": +"@cosmjs/utils@npm:^0.32.1, @cosmjs/utils@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/utils@npm:0.32.4" checksum: 10c0/d5ff8b235094be1150853a715116049f73eb5cdfeea8ce8e22ecccc61ec99792db457404d4307782b1a2f935dcf438f5c485beabfcfbc1dc5df26eb6e6da9062 languageName: node linkType: hard +"@dabh/diagnostics@npm:^2.0.2": + version: 2.0.3 + resolution: "@dabh/diagnostics@npm:2.0.3" + dependencies: + colorspace: "npm:1.1.x" + enabled: "npm:2.0.x" + kuler: "npm:^2.0.0" + checksum: 10c0/a5133df8492802465ed01f2f0a5784585241a1030c362d54a602ed1839816d6c93d71dde05cf2ddb4fd0796238c19774406bd62fa2564b637907b495f52425fe + languageName: node + linkType: hard + "@endo/base64@npm:^1.0.8, @endo/base64@npm:^1.0.9": version: 1.0.9 resolution: "@endo/base64@npm:1.0.9" @@ -1021,7 +1575,7 @@ __metadata: languageName: node linkType: hard -"@endo/bundle-source@npm:^3.4.2": +"@endo/bundle-source@npm:^3.4.2, @endo/bundle-source@npm:^3.5.0": version: 3.5.0 resolution: "@endo/bundle-source@npm:3.5.0" dependencies: @@ -1043,7 +1597,7 @@ __metadata: languageName: node linkType: hard -"@endo/captp@npm:^4.4.2": +"@endo/captp@npm:^4.4.2, @endo/captp@npm:^4.4.3": version: 4.4.3 resolution: "@endo/captp@npm:4.4.3" dependencies: @@ -1056,7 +1610,7 @@ __metadata: languageName: node linkType: hard -"@endo/check-bundle@npm:^1.0.11": +"@endo/check-bundle@npm:^1.0.11, @endo/check-bundle@npm:^1.0.12": version: 1.0.12 resolution: "@endo/check-bundle@npm:1.0.12" dependencies: @@ -1170,7 +1724,7 @@ __metadata: languageName: node linkType: hard -"@endo/import-bundle@npm:^1.3.1": +"@endo/import-bundle@npm:^1.3.1, @endo/import-bundle@npm:^1.3.2": version: 1.3.2 resolution: "@endo/import-bundle@npm:1.3.2" dependencies: @@ -1273,7 +1827,7 @@ __metadata: languageName: node linkType: hard -"@endo/ses-ava@npm:^1.2.7": +"@endo/ses-ava@npm:^1.2.7, @endo/ses-ava@npm:^1.2.8": version: 1.2.8 resolution: "@endo/ses-ava@npm:1.2.8" dependencies: @@ -1396,6 +1950,13 @@ __metadata: languageName: node linkType: hard +"@iarna/toml@npm:^2.2.3": + version: 2.2.5 + resolution: "@iarna/toml@npm:2.2.5" + checksum: 10c0/d095381ad4554aca233b7cf5a91f243ef619e5e15efd3157bc640feac320545450d14b394aebbf6f02a2047437ced778ae598d5879a995441ab7b6c0b2c2f201 + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -1717,6 +2278,13 @@ __metadata: languageName: node linkType: hard +"@types/triple-beam@npm:^1.3.2": + version: 1.3.5 + resolution: "@types/triple-beam@npm:1.3.5" + checksum: 10c0/d5d7f25da612f6d79266f4f1bb9c1ef8f1684e9f60abab251e1261170631062b656ba26ff22631f2760caeafd372abc41e64867cde27fba54fafb73a35b9056a + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -1787,6 +2355,73 @@ __metadata: languageName: node linkType: hard +"agoric@npm:dev": + version: 0.21.2-dev-e596a01.0 + resolution: "agoric@npm:0.21.2-dev-e596a01.0" + dependencies: + "@agoric/access-token": "npm:0.4.22-dev-e596a01.0+e596a01" + "@agoric/cache": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/casting": "npm:0.4.3-dev-e596a01.0+e596a01" + "@agoric/client-utils": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/cosmic-proto": "npm:0.4.1-dev-e596a01.0+e596a01" + "@agoric/ertp": "npm:0.16.3-dev-e596a01.0+e596a01" + "@agoric/governance": "npm:0.10.4-dev-e596a01.0+e596a01" + "@agoric/inter-protocol": "npm:0.16.2-dev-e596a01.0+e596a01" + "@agoric/internal": "npm:0.3.3-dev-e596a01.0+e596a01" + "@agoric/network": "npm:0.1.1-dev-e596a01.0+e596a01" + "@agoric/smart-wallet": "npm:0.5.4-dev-e596a01.0+e596a01" + "@agoric/store": "npm:0.9.3-dev-e596a01.0+e596a01" + "@agoric/swingset-vat": "npm:0.32.3-dev-e596a01.0+e596a01" + "@agoric/vats": "npm:0.15.2-dev-e596a01.0+e596a01" + "@agoric/zoe": "npm:0.26.3-dev-e596a01.0+e596a01" + "@agoric/zone": "npm:0.2.3-dev-e596a01.0+e596a01" + "@confio/relayer": "npm:^0.11.3" + "@cosmjs/crypto": "npm:^0.32.3" + "@cosmjs/encoding": "npm:^0.32.3" + "@cosmjs/math": "npm:^0.32.3" + "@cosmjs/proto-signing": "npm:^0.32.3" + "@cosmjs/stargate": "npm:^0.32.3" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/compartment-mapper": "npm:^1.4.0" + "@endo/env-options": "npm:^1.1.8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/zip": "npm:^1.0.9" + "@iarna/toml": "npm:^2.2.3" + anylogger: "npm:^0.21.0" + chalk: "npm:^5.2.0" + commander: "npm:^12.1.0" + deterministic-json: "npm:^1.0.5" + esm: "github:agoric-labs/esm#Agoric-built" + inquirer: "npm:^8.2.2" + opener: "npm:^1.5.2" + tmp: "npm:^0.2.1" + ws: "npm:^7.2.0" + bin: + agops: src/bin-agops.js + agoric: src/entrypoint.js + checksum: 10c0/289b46275e527ada256066d82f5f0e25e3e95c1c09610bf0f4eaaff06ca63f7eca60bd476393590c0bcd5b6f85d0dba4ee5ff2e2db120cc9aa7580eea7a6301f + languageName: node + linkType: hard + +"ajv@npm:7.1.1": + version: 7.1.1 + resolution: "ajv@npm:7.1.1" + dependencies: + fast-deep-equal: "npm:^3.1.1" + json-schema-traverse: "npm:^1.0.0" + require-from-string: "npm:^2.0.2" + uri-js: "npm:^4.2.2" + checksum: 10c0/328a86011a67dc10eff41e3e2ef412f88f5de546ad2288c8a3d2a563c203dd4dd479660c07f99fd9499e36c723afee212704b25f5599815991409528fd638329 + languageName: node + linkType: hard + "ajv@npm:^6.12.4": version: 6.12.6 resolution: "ajv@npm:6.12.6" @@ -1799,6 +2434,27 @@ __metadata: languageName: node linkType: hard +"ajv@npm:^8.0.1": + version: 8.17.1 + resolution: "ajv@npm:8.17.1" + dependencies: + fast-deep-equal: "npm:^3.1.3" + fast-uri: "npm:^3.0.1" + json-schema-traverse: "npm:^1.0.0" + require-from-string: "npm:^2.0.2" + checksum: 10c0/ec3ba10a573c6b60f94639ffc53526275917a2df6810e4ab5a6b959d87459f9ef3f00d5e7865b82677cb7d21590355b34da14d1d0b9c32d75f95a187e76fff35 + languageName: node + linkType: hard + +"ansi-escapes@npm:^4.2.1": + version: 4.3.2 + resolution: "ansi-escapes@npm:4.3.2" + dependencies: + type-fest: "npm:^0.21.3" + checksum: 10c0/da917be01871525a3dfcf925ae2977bc59e8c513d4423368645634bf5d4ceba5401574eb705c1e92b79f7292af5a656f78c5725a4b0e1cec97c4b413705c1d50 + languageName: node + linkType: hard + "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -1918,6 +2574,20 @@ __metadata: languageName: node linkType: hard +"astral-regex@npm:^2.0.0": + version: 2.0.0 + resolution: "astral-regex@npm:2.0.0" + checksum: 10c0/f63d439cc383db1b9c5c6080d1e240bd14dae745f15d11ec5da863e182bbeca70df6c8191cffef5deba0b566ef98834610a68be79ac6379c95eeb26e1b310e25 + languageName: node + linkType: hard + +"async@npm:^3.1.0": + version: 3.2.6 + resolution: "async@npm:3.2.6" + checksum: 10c0/36484bb15ceddf07078688d95e27076379cc2f87b10c03b6dd8a83e89475a3c8df5848859dd06a4c95af1e4c16fc973de0171a77f18ea00be899aca2a4f85e70 + languageName: node + linkType: hard + "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -2003,6 +2673,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.6.7": + version: 1.7.9 + resolution: "axios@npm:1.7.9" + dependencies: + follow-redirects: "npm:^1.15.6" + form-data: "npm:^4.0.0" + proxy-from-env: "npm:^1.1.0" + checksum: 10c0/b7a41e24b59fee5f0f26c1fc844b45b17442832eb3a0fb42dd4f1430eb4abc571fe168e67913e8a1d91c993232bd1d1ab03e20e4d1fee8c6147649b576fc1b0b + languageName: node + linkType: hard + "axios@patch:axios@npm%3A1.7.7#~/.yarn/patches/axios-npm-1.7.7-cfbedc233d.patch": version: 1.7.7 resolution: "axios@patch:axios@npm%3A1.7.7#~/.yarn/patches/axios-npm-1.7.7-cfbedc233d.patch::version=1.7.7&hash=df7a05" @@ -2062,7 +2743,14 @@ __metadata: languageName: node linkType: hard -"bl@npm:^4.0.3": +"bintrees@npm:1.0.2": + version: 1.0.2 + resolution: "bintrees@npm:1.0.2" + checksum: 10c0/132944b20c93c1a8f97bf8aa25980a76c6eb4291b7f2df2dbcd01cb5b417c287d3ee0847c7260c9f05f3d5a4233aaa03dec95114e97f308abe9cc3f72bed4a44 + languageName: node + linkType: hard + +"bl@npm:^4.0.3, bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" dependencies: @@ -2213,7 +2901,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0": +"chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -2230,6 +2918,13 @@ __metadata: languageName: node linkType: hard +"chardet@npm:^0.7.0": + version: 0.7.0 + resolution: "chardet@npm:0.7.0" + checksum: 10c0/96e4731b9ec8050cbb56ab684e8c48d6c33f7826b755802d14e3ebfdc51c57afeece3ea39bc6b09acc359e4363525388b915e16640c1378053820f5e70d0f27d + languageName: node + linkType: hard + "chokidar@npm:^3.5.3": version: 3.6.0 resolution: "chokidar@npm:3.6.0" @@ -2307,6 +3002,22 @@ __metadata: languageName: node linkType: hard +"cli-cursor@npm:^3.1.0": + version: 3.1.0 + resolution: "cli-cursor@npm:3.1.0" + dependencies: + restore-cursor: "npm:^3.1.0" + checksum: 10c0/92a2f98ff9037d09be3dfe1f0d749664797fb674bf388375a2207a1203b69d41847abf16434203e0089212479e47a358b13a0222ab9fccfe8e2644a7ccebd111 + languageName: node + linkType: hard + +"cli-spinners@npm:^2.5.0": + version: 2.9.2 + resolution: "cli-spinners@npm:2.9.2" + checksum: 10c0/907a1c227ddf0d7a101e7ab8b300affc742ead4b4ebe920a5bf1bc6d45dce2958fcd195eb28fa25275062fe6fa9b109b93b63bc8033396ed3bcb50297008b3a3 + languageName: node + linkType: hard + "cli-truncate@npm:^3.1.0": version: 3.1.0 resolution: "cli-truncate@npm:3.1.0" @@ -2317,6 +3028,13 @@ __metadata: languageName: node linkType: hard +"cli-width@npm:^3.0.0": + version: 3.0.0 + resolution: "cli-width@npm:3.0.0" + checksum: 10c0/125a62810e59a2564268c80fdff56c23159a7690c003e34aeb2e68497dccff26911998ff49c33916fcfdf71e824322cc3953e3f7b48b27267c7a062c81348a9a + languageName: node + linkType: hard + "cliui@npm:^8.0.1": version: 8.0.1 resolution: "cliui@npm:8.0.1" @@ -2328,6 +3046,13 @@ __metadata: languageName: node linkType: hard +"clone@npm:^1.0.2": + version: 1.0.4 + resolution: "clone@npm:1.0.4" + checksum: 10c0/2176952b3649293473999a95d7bebfc9dc96410f6cbd3d2595cf12fd401f63a4bf41a7adbfd3ab2ff09ed60cb9870c58c6acdd18b87767366fabfc163700f13b + languageName: node + linkType: hard + "code-excerpt@npm:^4.0.0": version: 4.0.0 resolution: "code-excerpt@npm:4.0.0" @@ -2337,7 +3062,7 @@ __metadata: languageName: node linkType: hard -"color-convert@npm:^1.9.0": +"color-convert@npm:^1.9.0, color-convert@npm:^1.9.3": version: 1.9.3 resolution: "color-convert@npm:1.9.3" dependencies: @@ -2362,19 +3087,63 @@ __metadata: languageName: node linkType: hard -"color-name@npm:~1.1.4": +"color-name@npm:^1.0.0, color-name@npm:~1.1.4": version: 1.1.4 resolution: "color-name@npm:1.1.4" checksum: 10c0/a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 languageName: node linkType: hard -"combined-stream@npm:^1.0.8": - version: 1.0.8 - resolution: "combined-stream@npm:1.0.8" - dependencies: - delayed-stream: "npm:~1.0.0" - checksum: 10c0/0dbb829577e1b1e839fa82b40c07ffaf7de8a09b935cadd355a73652ae70a88b4320db322f6634a4ad93424292fa80973ac6480986247f1734a1137debf271d5 +"color-string@npm:^1.6.0": + version: 1.9.1 + resolution: "color-string@npm:1.9.1" + dependencies: + color-name: "npm:^1.0.0" + simple-swizzle: "npm:^0.2.2" + checksum: 10c0/b0bfd74c03b1f837f543898b512f5ea353f71630ccdd0d66f83028d1f0924a7d4272deb278b9aef376cacf1289b522ac3fb175e99895283645a2dc3a33af2404 + languageName: node + linkType: hard + +"color@npm:^3.1.3": + version: 3.2.1 + resolution: "color@npm:3.2.1" + dependencies: + color-convert: "npm:^1.9.3" + color-string: "npm:^1.6.0" + checksum: 10c0/39345d55825884c32a88b95127d417a2c24681d8b57069413596d9fcbb721459ef9d9ec24ce3e65527b5373ce171b73e38dbcd9c830a52a6487e7f37bf00e83c + languageName: node + linkType: hard + +"colorspace@npm:1.1.x": + version: 1.1.4 + resolution: "colorspace@npm:1.1.4" + dependencies: + color: "npm:^3.1.3" + text-hex: "npm:1.0.x" + checksum: 10c0/af5f91ff7f8e146b96e439ac20ed79b197210193bde721b47380a75b21751d90fa56390c773bb67c0aedd34ff85091883a437ab56861c779bd507d639ba7e123 + languageName: node + linkType: hard + +"combined-stream@npm:^1.0.8": + version: 1.0.8 + resolution: "combined-stream@npm:1.0.8" + dependencies: + delayed-stream: "npm:~1.0.0" + checksum: 10c0/0dbb829577e1b1e839fa82b40c07ffaf7de8a09b935cadd355a73652ae70a88b4320db322f6634a4ad93424292fa80973ac6480986247f1734a1137debf271d5 + languageName: node + linkType: hard + +"commander@npm:7.1.0": + version: 7.1.0 + resolution: "commander@npm:7.1.0" + checksum: 10c0/1c114cc2e0c7c980068d7f2472f3fc9129ea5d6f2f0a8699671afe5a44a51d5707a6c73daff1aaa919424284dea9fca4017307d30647935a1116518699d54c9d + languageName: node + linkType: hard + +"commander@npm:^12.1.0": + version: 12.1.0 + resolution: "commander@npm:12.1.0" + checksum: 10c0/6e1996680c083b3b897bfc1cfe1c58dfbcd9842fd43e1aaf8a795fbc237f65efcc860a3ef457b318e73f29a4f4a28f6403c3d653d021d960e4632dd45bde54a9 languageName: node linkType: hard @@ -2557,6 +3326,15 @@ __metadata: languageName: node linkType: hard +"defaults@npm:^1.0.3": + version: 1.0.4 + resolution: "defaults@npm:1.0.4" + dependencies: + clone: "npm:^1.0.2" + checksum: 10c0/9cfbe498f5c8ed733775db62dfd585780387d93c17477949e1670bfcfb9346e0281ce8c4bf9f4ac1fc0f9b851113bd6dc9e41182ea1644ccd97de639fa13c35a + languageName: node + linkType: hard + "define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.4": version: 1.1.4 resolution: "define-data-property@npm:1.1.4" @@ -2593,6 +3371,15 @@ __metadata: languageName: node linkType: hard +"deterministic-json@npm:^1.0.5": + version: 1.0.5 + resolution: "deterministic-json@npm:1.0.5" + dependencies: + json-stable-stringify: "npm:^1.0.1" + checksum: 10c0/e29679601cd3b05c73665529dcd0132b48797fd7dfbac6793238a479e82b5f3905114316fbb316332da58b4497e35df9aea77b41ff92fd74fe298a6f31b93d40 + languageName: node + linkType: hard + "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -2654,6 +3441,13 @@ __metadata: languageName: node linkType: hard +"enabled@npm:2.0.x": + version: 2.0.0 + resolution: "enabled@npm:2.0.0" + checksum: 10c0/3b2c2af9bc7f8b9e291610f2dde4a75cf6ee52a68f4dd585482fbdf9a55d65388940e024e56d40bb03e05ef6671f5f53021fa8b72a20e954d7066ec28166713f + languageName: node + linkType: hard + "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -2896,6 +3690,13 @@ __metadata: languageName: node linkType: hard +"esm@github:agoric-labs/esm#Agoric-built": + version: 3.2.25 + resolution: "esm@https://github.com/agoric-labs/esm.git#commit=3603726ad4636b2f865f463188fcaade6375638e" + checksum: 10c0/fc1e112a3a681e7b4152d4f5c76dd5aa9e30496d2020490ffa0fb61aaf57d1e12dae0c1074fdd2e0f08949ab2df7e00e750262356781f072e4119955ee10b754 + languageName: node + linkType: hard + "espree@npm:^9.6.0, espree@npm:^9.6.1": version: 9.6.1 resolution: "espree@npm:9.6.1" @@ -3017,6 +3818,17 @@ __metadata: languageName: node linkType: hard +"external-editor@npm:^3.0.3": + version: 3.1.0 + resolution: "external-editor@npm:3.1.0" + dependencies: + chardet: "npm:^0.7.0" + iconv-lite: "npm:^0.4.24" + tmp: "npm:^0.0.33" + checksum: 10c0/c98f1ba3efdfa3c561db4447ff366a6adb5c1e2581462522c56a18bf90dfe4da382f9cd1feee3e330108c3595a854b218272539f311ba1b3298f841eb0fbf339 + languageName: node + linkType: hard + "fast-check@npm:^3.0.0": version: 3.23.1 resolution: "fast-check@npm:3.23.1" @@ -3067,6 +3879,20 @@ __metadata: languageName: node linkType: hard +"fast-safe-stringify@npm:2.0.4": + version: 2.0.4 + resolution: "fast-safe-stringify@npm:2.0.4" + checksum: 10c0/5e4fbafe8b8c4a1681c2ab259ed8ce6672fc209683a141876f020c36a2cbec73bfe25c417c269f439797020996d04ed2d7c4c6b2c5cf393d6febbf7f4d8a5f53 + languageName: node + linkType: hard + +"fast-uri@npm:^3.0.1": + version: 3.0.3 + resolution: "fast-uri@npm:3.0.3" + checksum: 10c0/4b2c5ce681a062425eae4f15cdc8fc151fd310b2f69b1f96680677820a8b49c3cd6e80661a406e19d50f0c40a3f8bffdd458791baf66f4a879d80be28e10a320 + languageName: node + linkType: hard + "fastq@npm:^1.6.0": version: 1.17.1 resolution: "fastq@npm:1.17.1" @@ -3076,6 +3902,22 @@ __metadata: languageName: node linkType: hard +"fecha@npm:^4.2.0": + version: 4.2.3 + resolution: "fecha@npm:4.2.3" + checksum: 10c0/0e895965959cf6a22bb7b00f0bf546f2783836310f510ddf63f463e1518d4c96dec61ab33fdfd8e79a71b4856a7c865478ce2ee8498d560fe125947703c9b1cf + languageName: node + linkType: hard + +"figures@npm:^3.0.0": + version: 3.2.0 + resolution: "figures@npm:3.2.0" + dependencies: + escape-string-regexp: "npm:^1.0.5" + checksum: 10c0/9c421646ede432829a50bc4e55c7a4eb4bcb7cc07b5bab2f471ef1ab9a344595bbebb6c5c21470093fbb730cd81bbca119624c40473a125293f656f49cb47629 + languageName: node + linkType: hard + "figures@npm:^5.0.0": version: 5.0.0 resolution: "figures@npm:5.0.0" @@ -3158,6 +4000,13 @@ __metadata: languageName: node linkType: hard +"fn.name@npm:1.x.x": + version: 1.1.0 + resolution: "fn.name@npm:1.1.0" + checksum: 10c0/8ad62aa2d4f0b2a76d09dba36cfec61c540c13a0fd72e5d94164e430f987a7ce6a743112bbeb14877c810ef500d1f73d7f56e76d029d2e3413f20d79e3460a9a + languageName: node + linkType: hard + "follow-redirects@npm:^1.15.6": version: 1.15.9 resolution: "follow-redirects@npm:1.15.9" @@ -3419,7 +4268,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 @@ -3564,6 +4413,15 @@ __metadata: languageName: node linkType: hard +"iconv-lite@npm:^0.4.24": + version: 0.4.24 + resolution: "iconv-lite@npm:0.4.24" + dependencies: + safer-buffer: "npm:>= 2.1.2 < 3" + checksum: 10c0/c6886a24cc00f2a059767440ec1bc00d334a89f250db8e0f7feb4961c8727118457e27c495ba94d082e51d3baca378726cd110aaf7ded8b9bbfd6a44760cf1d4 + languageName: node + linkType: hard + "iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -3656,6 +4514,29 @@ __metadata: languageName: node linkType: hard +"inquirer@npm:^8.2.2": + version: 8.2.6 + resolution: "inquirer@npm:8.2.6" + dependencies: + ansi-escapes: "npm:^4.2.1" + chalk: "npm:^4.1.1" + cli-cursor: "npm:^3.1.0" + cli-width: "npm:^3.0.0" + external-editor: "npm:^3.0.3" + figures: "npm:^3.0.0" + lodash: "npm:^4.17.21" + mute-stream: "npm:0.0.8" + ora: "npm:^5.4.1" + run-async: "npm:^2.4.0" + rxjs: "npm:^7.5.5" + string-width: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + through: "npm:^2.3.6" + wrap-ansi: "npm:^6.0.1" + checksum: 10c0/eb5724de1778265323f3a68c80acfa899378cb43c24cdcb58661386500e5696b6b0b6c700e046b7aa767fe7b4823c6f04e6ddc268173e3f84116112529016296 + languageName: node + linkType: hard + "internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" @@ -3701,6 +4582,13 @@ __metadata: languageName: node linkType: hard +"is-arrayish@npm:^0.3.1": + version: 0.3.2 + resolution: "is-arrayish@npm:0.3.2" + checksum: 10c0/f59b43dc1d129edb6f0e282595e56477f98c40278a2acdc8b0a5c57097c9eff8fe55470493df5775478cf32a4dc8eaf6d3a749f07ceee5bc263a78b2434f6a54 + languageName: node + linkType: hard + "is-bigint@npm:^1.0.1": version: 1.0.4 resolution: "is-bigint@npm:1.0.4" @@ -3809,6 +4697,13 @@ __metadata: languageName: node linkType: hard +"is-interactive@npm:^1.0.0": + version: 1.0.0 + resolution: "is-interactive@npm:1.0.0" + checksum: 10c0/dd47904dbf286cd20aa58c5192161be1a67138485b9836d5a70433b21a45442e9611b8498b8ab1f839fc962c7620667a50535fdfb4a6bc7989b8858645c06b4d + languageName: node + linkType: hard + "is-lambda@npm:^1.0.1": version: 1.0.1 resolution: "is-lambda@npm:1.0.1" @@ -3902,6 +4797,13 @@ __metadata: languageName: node linkType: hard +"is-stream@npm:^2.0.0": + version: 2.0.1 + resolution: "is-stream@npm:2.0.1" + checksum: 10c0/7c284241313fc6efc329b8d7f08e16c0efeb6baab1b4cd0ba579eb78e5af1aa5da11e68559896a2067cd6c526bd29241dda4eb1225e627d5aa1a89a76d4635a5 + languageName: node + linkType: hard + "is-stream@npm:^4.0.1": version: 4.0.1 resolution: "is-stream@npm:4.0.1" @@ -3936,6 +4838,13 @@ __metadata: languageName: node linkType: hard +"is-unicode-supported@npm:^0.1.0": + version: 0.1.0 + resolution: "is-unicode-supported@npm:0.1.0" + checksum: 10c0/00cbe3455c3756be68d2542c416cab888aebd5012781d6819749fefb15162ff23e38501fe681b3d751c73e8ff561ac09a5293eba6f58fdf0178462ce6dcb3453 + languageName: node + linkType: hard + "is-unicode-supported@npm:^1.2.0": version: 1.3.0 resolution: "is-unicode-supported@npm:1.3.0" @@ -4025,6 +4934,17 @@ __metadata: languageName: node linkType: hard +"js-yaml@npm:4.0.0": + version: 4.0.0 + resolution: "js-yaml@npm:4.0.0" + dependencies: + argparse: "npm:^2.0.1" + bin: + js-yaml: bin/js-yaml.js + checksum: 10c0/ef8489b87d9796b45df9f0bf3eefbb343b5063e39a9911d7b8ddbd4518cafaf73b49150d1f5865f54ee68719642ff0ab86110b9a332ff88bb05cd3bcf3039de1 + languageName: node + linkType: hard + "js-yaml@npm:^3.14.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" @@ -4094,6 +5014,13 @@ __metadata: languageName: node linkType: hard +"json-schema-traverse@npm:^1.0.0": + version: 1.0.0 + resolution: "json-schema-traverse@npm:1.0.0" + checksum: 10c0/71e30015d7f3d6dc1c316d6298047c8ef98a06d31ad064919976583eb61e1018a60a0067338f0f79cabc00d84af3fcc489bd48ce8a46ea165d9541ba17fb30c6 + languageName: node + linkType: hard + "json-stable-stringify-without-jsonify@npm:^1.0.1": version: 1.0.1 resolution: "json-stable-stringify-without-jsonify@npm:1.0.1" @@ -4101,6 +5028,25 @@ __metadata: languageName: node linkType: hard +"json-stable-stringify@npm:^1.0.1": + version: 1.1.1 + resolution: "json-stable-stringify@npm:1.1.1" + dependencies: + call-bind: "npm:^1.0.5" + isarray: "npm:^2.0.5" + jsonify: "npm:^0.0.1" + object-keys: "npm:^1.1.1" + checksum: 10c0/3801e3eeccbd030afb970f54bea690a079cfea7d9ed206a1b17ca9367f4b7772c764bf77a48f03e56b50e5f7ee7d11c52339fe20d8d7ccead003e4ca69e4cfde + languageName: node + linkType: hard + +"jsonify@npm:^0.0.1": + version: 0.0.1 + resolution: "jsonify@npm:0.0.1" + checksum: 10c0/7f5499cdd59a0967ed35bda48b7cec43d850bbc8fb955cdd3a1717bb0efadbe300724d5646de765bb7a99fc1c3ab06eb80d93503c6faaf99b4ff50a3326692f6 + languageName: node + linkType: hard + "keyv@npm:^4.5.3": version: 4.5.4 resolution: "keyv@npm:4.5.4" @@ -4110,6 +5056,13 @@ __metadata: languageName: node linkType: hard +"kuler@npm:^2.0.0": + version: 2.0.0 + resolution: "kuler@npm:2.0.0" + checksum: 10c0/0a4e99d92ca373f8f74d1dc37931909c4d0d82aebc94cf2ba265771160fc12c8df34eaaac80805efbda367e2795cb1f1dd4c3d404b6b1cf38aec94035b503d2d + languageName: node + linkType: hard + "levn@npm:^0.4.1": version: 0.4.1 resolution: "levn@npm:0.4.1" @@ -4180,13 +5133,44 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.15": +"lodash.truncate@npm:^4.4.2": + version: 4.4.2 + resolution: "lodash.truncate@npm:4.4.2" + checksum: 10c0/4e870d54e8a6c86c8687e057cec4069d2e941446ccab7f40b4d9555fa5872d917d0b6aa73bece7765500a3123f1723bcdba9ae881b679ef120bba9e1a0b0ed70 + languageName: node + linkType: hard + +"lodash@npm:4.17.21, lodash@npm:^4.17.15, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 10c0/d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c languageName: node linkType: hard +"log-symbols@npm:^4.1.0": + version: 4.1.0 + resolution: "log-symbols@npm:4.1.0" + dependencies: + chalk: "npm:^4.1.0" + is-unicode-supported: "npm:^0.1.0" + checksum: 10c0/67f445a9ffa76db1989d0fa98586e5bc2fd5247260dafb8ad93d9f0ccd5896d53fb830b0e54dade5ad838b9de2006c826831a3c528913093af20dff8bd24aca6 + languageName: node + linkType: hard + +"logform@npm:^2.2.0, logform@npm:^2.7.0": + version: 2.7.0 + resolution: "logform@npm:2.7.0" + dependencies: + "@colors/colors": "npm:1.6.0" + "@types/triple-beam": "npm:^1.3.2" + fecha: "npm:^4.2.0" + ms: "npm:^2.1.1" + safe-stable-stringify: "npm:^2.3.1" + triple-beam: "npm:^1.3.0" + checksum: 10c0/4789b4b37413c731d1835734cb799240d31b865afde6b7b3e06051d6a4127bfda9e88c99cfbf296d084a315ccbed2647796e6a56b66e725bcb268c586f57558f + languageName: node + linkType: hard + "long@npm:^4.0.0": version: 4.0.0 resolution: "long@npm:4.0.0" @@ -4318,6 +5302,13 @@ __metadata: languageName: node linkType: hard +"mimic-fn@npm:^2.1.0": + version: 2.1.0 + resolution: "mimic-fn@npm:2.1.0" + checksum: 10c0/b26f5479d7ec6cc2bce275a08f146cf78f5e7b661b18114e2506dd91ec7ec47e7a25bf4360e5438094db0560bcc868079fb3b1fb3892b833c1ecbf63f80c95a4 + languageName: node + linkType: hard + "mimic-fn@npm:^4.0.0": version: 4.0.0 resolution: "mimic-fn@npm:4.0.0" @@ -4471,13 +5462,27 @@ __metadata: languageName: node linkType: hard -"ms@npm:^2.1.3": +"ms@npm:^2.1.1, ms@npm:^2.1.3": version: 2.1.3 resolution: "ms@npm:2.1.3" checksum: 10c0/d924b57e7312b3b63ad21fc5b3dc0af5e78d61a1fc7cfb5457edaf26326bf62be5307cc87ffb6862ef1c2b33b0233cdb5d4f01c4c958cc0d660948b65a287a48 languageName: node linkType: hard +"mute-stream@npm:0.0.8": + version: 0.0.8 + resolution: "mute-stream@npm:0.0.8" + checksum: 10c0/18d06d92e5d6d45e2b63c0e1b8f25376af71748ac36f53c059baa8b76ffac31c5ab225480494e7d35d30215ecdb18fed26ec23cafcd2f7733f2f14406bcd19e2 + languageName: node + linkType: hard + +"n-readlines@npm:^1.0.0": + version: 1.0.3 + resolution: "n-readlines@npm:1.0.3" + checksum: 10c0/436c27ac071409314093da35dc3a4c5198c94fb10ad12b1c4d2b3e44bdb634da0a7a8ab0c107c1f4815788cbf5e0c7c180e3037ba3d974f34637cab363a95a74 + languageName: node + linkType: hard + "napi-build-utils@npm:^1.0.1": version: 1.0.2 resolution: "napi-build-utils@npm:1.0.2" @@ -4667,6 +5672,33 @@ __metadata: languageName: node linkType: hard +"one-time@npm:^1.0.0": + version: 1.0.0 + resolution: "one-time@npm:1.0.0" + dependencies: + fn.name: "npm:1.x.x" + checksum: 10c0/6e4887b331edbb954f4e915831cbec0a7b9956c36f4feb5f6de98c448ac02ff881fd8d9b55a6b1b55030af184c6b648f340a76eb211812f4ad8c9b4b8692fdaa + languageName: node + linkType: hard + +"onetime@npm:^5.1.0": + version: 5.1.2 + resolution: "onetime@npm:5.1.2" + dependencies: + mimic-fn: "npm:^2.1.0" + checksum: 10c0/ffcef6fbb2692c3c40749f31ea2e22677a876daea92959b8a80b521d95cca7a668c884d8b2045d1d8ee7d56796aa405c405462af112a1477594cc63531baeb8f + languageName: node + linkType: hard + +"opener@npm:^1.5.2": + version: 1.5.2 + resolution: "opener@npm:1.5.2" + bin: + opener: bin/opener-bin.js + checksum: 10c0/dd56256ab0cf796585617bc28e06e058adf09211781e70b264c76a1dbe16e90f868c974e5bf5309c93469157c7d14b89c35dc53fe7293b0e40b4d2f92073bc79 + languageName: node + linkType: hard + "optionator@npm:^0.9.3": version: 0.9.4 resolution: "optionator@npm:0.9.4" @@ -4681,6 +5713,30 @@ __metadata: languageName: node linkType: hard +"ora@npm:^5.4.1": + version: 5.4.1 + resolution: "ora@npm:5.4.1" + dependencies: + bl: "npm:^4.1.0" + chalk: "npm:^4.1.0" + cli-cursor: "npm:^3.1.0" + cli-spinners: "npm:^2.5.0" + is-interactive: "npm:^1.0.0" + is-unicode-supported: "npm:^0.1.0" + log-symbols: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + wcwidth: "npm:^1.0.1" + checksum: 10c0/10ff14aace236d0e2f044193362b22edce4784add08b779eccc8f8ef97195cae1248db8ec1ec5f5ff076f91acbe573f5f42a98c19b78dba8c54eefff983cae85 + languageName: node + linkType: hard + +"os-tmpdir@npm:~1.0.2": + version: 1.0.2 + resolution: "os-tmpdir@npm:1.0.2" + checksum: 10c0/f438450224f8e2687605a8dd318f0db694b6293c5d835ae509a69e97c8de38b6994645337e5577f5001115470414638978cc49da1cdcc25106dad8738dc69990 + languageName: node + linkType: hard + "p-defer@npm:^1.0.0": version: 1.0.0 resolution: "p-defer@npm:1.0.0" @@ -4765,6 +5821,13 @@ __metadata: languageName: node linkType: hard +"pako@npm:^2.0.2": + version: 2.1.0 + resolution: "pako@npm:2.1.0" + checksum: 10c0/8e8646581410654b50eb22a5dfd71159cae98145bd5086c9a7a816ec0370b5f72b4648d08674624b3870a521e6a3daffd6c2f7bc00fdefc7063c9d8232ff5116 + languageName: node + linkType: hard + "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -4990,6 +6053,15 @@ __metadata: languageName: node linkType: hard +"prom-client@npm:13.1.0": + version: 13.1.0 + resolution: "prom-client@npm:13.1.0" + dependencies: + tdigest: "npm:^0.1.1" + checksum: 10c0/0f117e044bdbc7e8fb3a926e16e0e76ff3fb308dbc98fdb084dfa16ad52a0b68cf6a79a31e907b1c4ac9009b1d50848e3e72fb36ed43893291148e1505844fc2 + languageName: node + linkType: hard + "promise-retry@npm:^2.0.1": version: 2.0.1 resolution: "promise-retry@npm:2.0.1" @@ -5000,6 +6072,17 @@ __metadata: languageName: node linkType: hard +"proper-lockfile@npm:^4.1.2": + version: 4.1.2 + resolution: "proper-lockfile@npm:4.1.2" + dependencies: + graceful-fs: "npm:^4.2.4" + retry: "npm:^0.12.0" + signal-exit: "npm:^3.0.2" + checksum: 10c0/2f265dbad15897a43110a02dae55105c04d356ec4ed560723dcb9f0d34bc4fb2f13f79bb930e7561be10278e2314db5aca2527d5d3dcbbdee5e6b331d1571f6d + languageName: node + linkType: hard + "protobufjs@npm:6.11.4": version: 6.11.4 resolution: "protobufjs@npm:6.11.4" @@ -5111,7 +6194,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0": +"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.2": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -5157,6 +6240,13 @@ __metadata: languageName: node linkType: hard +"require-from-string@npm:^2.0.2": + version: 2.0.2 + resolution: "require-from-string@npm:2.0.2" + checksum: 10c0/aaa267e0c5b022fc5fd4eef49d8285086b15f2a1c54b28240fdf03599cbd9c26049fee3eab894f2e1f6ca65e513b030a7c264201e3f005601e80c49fb2937ce2 + languageName: node + linkType: hard + "resolve-cwd@npm:^3.0.0": version: 3.0.0 resolution: "resolve-cwd@npm:3.0.0" @@ -5206,6 +6296,16 @@ __metadata: languageName: node linkType: hard +"restore-cursor@npm:^3.1.0": + version: 3.1.0 + resolution: "restore-cursor@npm:3.1.0" + dependencies: + onetime: "npm:^5.1.0" + signal-exit: "npm:^3.0.2" + checksum: 10c0/8051a371d6aa67ff21625fa94e2357bd81ffdc96267f3fb0fc4aaf4534028343836548ef34c240ffa8c25b280ca35eb36be00b3cb2133fa4f51896d7e73c6b4f + languageName: node + linkType: hard + "retry@npm:^0.12.0": version: 0.12.0 resolution: "retry@npm:0.12.0" @@ -5257,6 +6357,7 @@ __metadata: "@endo/errors": "npm:1.2.7" "@endo/init": "npm:^1.1.5" "@endo/marshal": "npm:^1.5.4" + agoric: "npm:dev" ava: "npm:^5.3.1" better-sqlite3: "npm:^9.6.0" eslint: "npm:^8.57.0" @@ -5266,6 +6367,13 @@ __metadata: languageName: unknown linkType: soft +"run-async@npm:^2.4.0": + version: 2.4.1 + resolution: "run-async@npm:2.4.1" + checksum: 10c0/35a68c8f1d9664f6c7c2e153877ca1d6e4f886e5ca067c25cdd895a6891ff3a1466ee07c63d6a9be306e9619ff7d509494e6d9c129516a36b9fd82263d579ee1 + languageName: node + linkType: hard + "run-parallel@npm:^1.1.9": version: 1.2.0 resolution: "run-parallel@npm:1.2.0" @@ -5275,6 +6383,15 @@ __metadata: languageName: node linkType: hard +"rxjs@npm:^7.5.5": + version: 7.8.1 + resolution: "rxjs@npm:7.8.1" + dependencies: + tslib: "npm:^2.1.0" + checksum: 10c0/3c49c1ecd66170b175c9cacf5cef67f8914dcbc7cd0162855538d365c83fea631167cacb644b3ce533b2ea0e9a4d0b12175186985f89d75abe73dbd8f7f06f68 + languageName: node + linkType: hard + "safe-array-concat@npm:^1.1.2": version: 1.1.2 resolution: "safe-array-concat@npm:1.1.2" @@ -5305,7 +6422,14 @@ __metadata: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3.0.0": +"safe-stable-stringify@npm:^2.3.1": + version: 2.5.0 + resolution: "safe-stable-stringify@npm:2.5.0" + checksum: 10c0/baea14971858cadd65df23894a40588ed791769db21bafb7fd7608397dbdce9c5aac60748abae9995e0fc37e15f2061980501e012cd48859740796bea2987f49 + languageName: node + linkType: hard + +"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: 10c0/7e3c8b2e88a1841c9671094bbaeebd94448111dd90a81a1f606f3f67708a6ec57763b3b47f06da09fc6054193e0e6709e77325415dc8422b04497a8070fa02d4 @@ -5443,6 +6567,13 @@ __metadata: languageName: node linkType: hard +"signal-exit@npm:^3.0.2": + version: 3.0.7 + resolution: "signal-exit@npm:3.0.7" + checksum: 10c0/25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912 + languageName: node + linkType: hard + "signal-exit@npm:^4.0.1, signal-exit@npm:^4.1.0": version: 4.1.0 resolution: "signal-exit@npm:4.1.0" @@ -5468,6 +6599,15 @@ __metadata: languageName: node linkType: hard +"simple-swizzle@npm:^0.2.2": + version: 0.2.2 + resolution: "simple-swizzle@npm:0.2.2" + dependencies: + is-arrayish: "npm:^0.3.1" + checksum: 10c0/df5e4662a8c750bdba69af4e8263c5d96fe4cd0f9fe4bdfa3cbdeb45d2e869dff640beaaeb1ef0e99db4d8d2ec92f85508c269f50c972174851bc1ae5bd64308 + languageName: node + linkType: hard + "slash@npm:^4.0.0": version: 4.0.0 resolution: "slash@npm:4.0.0" @@ -5475,6 +6615,17 @@ __metadata: languageName: node linkType: hard +"slice-ansi@npm:^4.0.0": + version: 4.0.0 + resolution: "slice-ansi@npm:4.0.0" + dependencies: + ansi-styles: "npm:^4.0.0" + astral-regex: "npm:^2.0.0" + is-fullwidth-code-point: "npm:^3.0.0" + checksum: 10c0/6c25678db1270d4793e0327620f1e0f9f5bea4630123f51e9e399191bc52c87d6e6de53ed33538609e5eacbd1fab769fae00f3705d08d029f02102a540648918 + languageName: node + linkType: hard + "slice-ansi@npm:^5.0.0": version: 5.0.0 resolution: "slice-ansi@npm:5.0.0" @@ -5591,6 +6742,13 @@ __metadata: languageName: node linkType: hard +"stack-trace@npm:0.0.x": + version: 0.0.10 + resolution: "stack-trace@npm:0.0.10" + checksum: 10c0/9ff3dabfad4049b635a85456f927a075c9d0c210e3ea336412d18220b2a86cbb9b13ec46d6c37b70a302a4ea4d49e30e5d4944dd60ae784073f1cde778ac8f4b + languageName: node + linkType: hard + "stack-utils@npm:^2.0.6": version: 2.0.6 resolution: "stack-utils@npm:2.0.6" @@ -5767,6 +6925,19 @@ __metadata: languageName: node linkType: hard +"table@npm:^6.7.1": + version: 6.9.0 + resolution: "table@npm:6.9.0" + dependencies: + ajv: "npm:^8.0.1" + lodash.truncate: "npm:^4.4.2" + slice-ansi: "npm:^4.0.0" + string-width: "npm:^4.2.3" + strip-ansi: "npm:^6.0.1" + checksum: 10c0/35646185712bb65985fbae5975dda46696325844b78735f95faefae83e86df0a265277819a3e67d189de6e858c509b54e66ca3958ffd51bde56ef1118d455bf4 + languageName: node + linkType: hard + "tar-fs@npm:^2.0.0": version: 2.1.1 resolution: "tar-fs@npm:2.1.1" @@ -5806,6 +6977,15 @@ __metadata: languageName: node linkType: hard +"tdigest@npm:^0.1.1": + version: 0.1.2 + resolution: "tdigest@npm:0.1.2" + dependencies: + bintrees: "npm:1.0.2" + checksum: 10c0/10187b8144b112fcdfd3a5e4e9068efa42c990b1e30cd0d4f35ee8f58f16d1b41bc587e668fa7a6f6ca31308961cbd06cd5d4a4ae1dc388335902ae04f7d57df + languageName: node + linkType: hard + "temp-dir@npm:^3.0.0": version: 3.0.0 resolution: "temp-dir@npm:3.0.0" @@ -5813,6 +6993,13 @@ __metadata: languageName: node linkType: hard +"text-hex@npm:1.0.x": + version: 1.0.0 + resolution: "text-hex@npm:1.0.0" + checksum: 10c0/57d8d320d92c79d7c03ffb8339b825bb9637c2cbccf14304309f51d8950015c44464b6fd1b6820a3d4821241c68825634f09f5a2d9d501e84f7c6fd14376860d + languageName: node + linkType: hard + "text-table@npm:^0.2.0": version: 0.2.0 resolution: "text-table@npm:0.2.0" @@ -5820,6 +7007,13 @@ __metadata: languageName: node linkType: hard +"through@npm:^2.3.6": + version: 2.3.8 + resolution: "through@npm:2.3.8" + checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc + languageName: node + linkType: hard + "time-zone@npm:^1.0.0": version: 1.0.0 resolution: "time-zone@npm:1.0.0" @@ -5827,6 +7021,15 @@ __metadata: languageName: node linkType: hard +"tmp@npm:^0.0.33": + version: 0.0.33 + resolution: "tmp@npm:0.0.33" + dependencies: + os-tmpdir: "npm:~1.0.2" + checksum: 10c0/69863947b8c29cabad43fe0ce65cec5bb4b481d15d4b4b21e036b060b3edbf3bc7a5541de1bacb437bb3f7c4538f669752627fdf9b4aaf034cebd172ba373408 + languageName: node + linkType: hard + "tmp@npm:^0.2.1": version: 0.2.3 resolution: "tmp@npm:0.2.3" @@ -5843,6 +7046,20 @@ __metadata: languageName: node linkType: hard +"triple-beam@npm:1.3.0": + version: 1.3.0 + resolution: "triple-beam@npm:1.3.0" + checksum: 10c0/a6da96495f25b6c04b3629df5161c7eb84760927943f16665fd8dcd3a643daadf73d69eee78306b4b68d606937f22f8703afe763bc8d3723632ffb1f3a798493 + languageName: node + linkType: hard + +"triple-beam@npm:^1.3.0": + version: 1.4.1 + resolution: "triple-beam@npm:1.4.1" + checksum: 10c0/4bf1db71e14fe3ff1c3adbe3c302f1fdb553b74d7591a37323a7badb32dc8e9c290738996cbb64f8b10dc5a3833645b5d8c26221aaaaa12e50d1251c9aba2fea + languageName: node + linkType: hard + "ts-blank-space@npm:^0.4.1": version: 0.4.3 resolution: "ts-blank-space@npm:0.4.3" @@ -5852,6 +7069,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.1.0": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 + languageName: node + linkType: hard + "tunnel-agent@npm:^0.6.0": version: 0.6.0 resolution: "tunnel-agent@npm:0.6.0" @@ -5884,6 +7108,13 @@ __metadata: languageName: node linkType: hard +"type-fest@npm:^0.21.3": + version: 0.21.3 + resolution: "type-fest@npm:0.21.3" + checksum: 10c0/902bd57bfa30d51d4779b641c2bc403cdf1371fb9c91d3c058b0133694fcfdb817aef07a47f40faf79039eecbaa39ee9d3c532deff244f3a19ce68cea71a61e8 + languageName: node + linkType: hard + "typed-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-buffer@npm:1.0.2" @@ -6026,6 +7257,15 @@ __metadata: languageName: node linkType: hard +"wcwidth@npm:^1.0.1": + version: 1.0.1 + resolution: "wcwidth@npm:1.0.1" + dependencies: + defaults: "npm:^1.0.3" + checksum: 10c0/5b61ca583a95e2dd85d7078400190efd452e05751a64accb8c06ce4db65d7e0b0cde9917d705e826a2e05cc2548f61efde115ffa374c3e436d04be45c889e5b4 + languageName: node + linkType: hard + "well-known-symbols@npm:^2.0.0": version: 2.0.0 resolution: "well-known-symbols@npm:2.0.0" @@ -6092,6 +7332,34 @@ __metadata: languageName: node linkType: hard +"winston-transport@npm:^4.4.0": + version: 4.9.0 + resolution: "winston-transport@npm:4.9.0" + dependencies: + logform: "npm:^2.7.0" + readable-stream: "npm:^3.6.2" + triple-beam: "npm:^1.3.0" + checksum: 10c0/e2990a172e754dbf27e7823772214a22dc8312f7ec9cfba831e5ef30a5d5528792e5ea8f083c7387ccfc5b2af20e3691f64738546c8869086110a26f98671095 + languageName: node + linkType: hard + +"winston@npm:3.3.3": + version: 3.3.3 + resolution: "winston@npm:3.3.3" + dependencies: + "@dabh/diagnostics": "npm:^2.0.2" + async: "npm:^3.1.0" + is-stream: "npm:^2.0.0" + logform: "npm:^2.2.0" + one-time: "npm:^1.0.0" + readable-stream: "npm:^3.4.0" + stack-trace: "npm:0.0.x" + triple-beam: "npm:^1.3.0" + winston-transport: "npm:^4.4.0" + checksum: 10c0/18205fa1e3ebb88dc910fbe5337e3c9d2dbd94310978adca5ab77444b854d5679dec0a70fed425e77cf93e237390c7670bb937f14c492b8415e594ab21540d3d + languageName: node + linkType: hard + "word-wrap@npm:^1.2.5": version: 1.2.5 resolution: "word-wrap@npm:1.2.5" @@ -6110,6 +7378,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^6.0.1": + version: 6.2.0 + resolution: "wrap-ansi@npm:6.2.0" + dependencies: + ansi-styles: "npm:^4.0.0" + string-width: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + checksum: 10c0/baad244e6e33335ea24e86e51868fe6823626e3a3c88d9a6674642afff1d34d9a154c917e74af8d845fd25d170c4ea9cf69a47133c3f3656e1252b3d462d9f6c + languageName: node + linkType: hard + "wrap-ansi@npm:^8.1.0": version: 8.1.0 resolution: "wrap-ansi@npm:8.1.0" @@ -6138,7 +7417,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^7": +"ws@npm:^7, ws@npm:^7.2.0": version: 7.5.10 resolution: "ws@npm:7.5.10" peerDependencies: diff --git a/golang/cosmos/app/upgrade.go b/golang/cosmos/app/upgrade.go index 2858370cf05..43cdb931055 100644 --- a/golang/cosmos/app/upgrade.go +++ b/golang/cosmos/app/upgrade.go @@ -232,6 +232,9 @@ func unreleasedUpgradeHandler(app *GaiaApp, targetUpgrade string) func(sdk.Conte // vm.CoreProposalStepForModules( // "@agoric/builders/scripts/vats/upgrade-bank.js", // ), + // vm.CoreProposalStepForModules( + // "@agoric/builders/scripts/vats/upgrade-agoricNames.js", + // ), // ) } diff --git a/packages/builders/scripts/testing/add-USD-OLIVES.js b/packages/builders/scripts/testing/add-USD-OLIVES.js new file mode 100644 index 00000000000..679bb24fc6f --- /dev/null +++ b/packages/builders/scripts/testing/add-USD-OLIVES.js @@ -0,0 +1,19 @@ +import { makeHelpers } from '@agoric/deploy-script-support'; +import { psmProposalBuilder } from '../inter-protocol/add-collateral-core.js'; + +const addUsdOlivesProposalBuilder = async powers => { + return psmProposalBuilder(powers, { + anchorOptions: { + denom: 'ibc/000C0AAAEECAFE111', + keyword: 'USD_OLIVES', + decimalPlaces: 6, + proposedName: 'USD_OLIVES', + }, + }); +}; + +/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */ +export default async (homeP, endowments) => { + const { writeCoreEval } = await makeHelpers(homeP, endowments); + await writeCoreEval('add-OLIVES-PSM', addUsdOlivesProposalBuilder); +};