Agoric/dapp-orchestration-basics

chain not found:agoric not reported by UI

Opened this issue · 0 comments

dckc commented

When I first deployed to emerynet, I neglected to give chainDetails to the contract. And there is no chain info in agoricNames. So we get a failure, presumably from getChain('agoric'):

2024-10-01T00:42:32.543Z SwingSet: ls: v467: Error: chain not found:agoric
 at apply ()
 at Error (/bundled-source/.../node_modules/ses/src/error/tame-error-constructor.js:60)
 at makeError (/bundled-source/.../node_modules/ses/src/error/assert.js:351)
 at (.../orchestration/src/exos/chain-hub.js:228)
 at ()
 at ()

This was only evident by looking at node logs.

The UI showed:

image

The wallet action, for reference:

2024-10-01T03:21:28.058Z SwingSet: vat: v37: walletFactory.fromBridge: { blockHeight: 7325546, blockTime: 1727752882, owner: 'agoric1ldmtatp24qlllg
xmrsjzcpe20fvlkp448zcuce', spendAction: '{"body":"#{\\"method\\":\\"executeOffer\\",\\"offer\\":{\\"id\\":1727752874137,\\"invitationSpec\\":{\\"in
stance\\":\\"$0.Alleged: InstanceHandle#board021893\\",\\"publicInvitationMaker\\":\\"makeAccountInvitation\\",\\"source\\":\\"contract\\"},\\"offe
rArgs\\":{\\"chainName\\":\\"agoric\\"},\\"proposal\\":{\\"give\\":{\\"Deposit\\":{\\"brand\\":\\"$1.Alleged: BLD brand#board0566\\",\\"value\\":\\
"+1000\\"}},\\"want\\":{}}}}","slots":["board021893","board0566"]}', type: 'WALLET_SPEND_ACTION' }