Agoric / dapp-orchestration-basics

0 stars 0 forks source link

Local Contract Installation & Testing #1

Open Jovonni opened 1 month ago

Jovonni commented 1 month ago

Finally got the bundle to install, with yarn start:contract installing into agoriclocal running inside of agoriclocal-genesis=0 pod, from multichain-testing:

yarn node scripts/deploy-contract.js \
                --install src/orca.contract.js \
                --eval src/platform-goals/board-aux.core.js \
                --eval src/orca.proposal.js
bundles add: orca from src/orca.contract.js
bundles bundled 346 files in bundle-orca.js at 2024-06-19T06:37:23.173Z
installing orca b1-817c6 4.788 Mb
cp [
  'bundles/bundle-orca.json',
  'default/agoriclocal-genesis-0:/root/bundles/bundle-orca.json'
]
docker exec try
docker exec try 2
[
  'cp',
  'bundles/bundle-orca.json',
  'default/agoriclocal-genesis-0:/root/bundles/bundle-orca.json'
] { stdio: 'inherit' }
agd
Defaulted container "validator" out of: validator, exposer, init-genesis (init), init-config (init)
after execFileSync
[ '-lah', '/root/bundles/bundle-orca.json' ]
exec [ '-lah', '/root/bundles/bundle-orca.json' ] { stdio: 'inherit' }
docker exec try
docker exec try 2
[ 'ls', '-lah', '/root/bundles/bundle-orca.json' ] { stdio: 'inherit' }
agd
-rw-r--r-- 1 501 staff 4.6M Jun 19 06:37 /root/bundles/bundle-orca.json
docker exec try
docker exec try 2
[
  'agd',              'tx',
  'swingset',         'install-bundle',
  'bundle-orca.json', '--gas',
  'auto',             '--from',
  'faucet',           '--chain-id',
  'agoriclocal',      '--yes',
  '--output',         'json'
] { encoding: 'utf-8' }
agd
gas estimate: 100459
{
  id: 'b1-817c6',
  installTx: 'BA8D4EBF7F5931BBA096F1909DDAE14C5F7CAAB5F1ED9555FB982139408D5F5A',
  height: '0'
}
{ name: 'orca', id: 'b1-817c6', installHeight: '0', installed: true }
docker exec try
docker exec try 2
[
  'agd',
  'keys',
  'show',
  '--address',
  'alice',
  '--keyring-backend',
  'test'
] { encoding: 'utf-8' }
agd
submit proposal board-aux
[
  'bundles/deploy-board-aux-permit.json',
  'bundles/deploy-board-aux.js'
]
await tx [
  'bundles/deploy-board-aux-permit.json',
  'bundles/deploy-board-aux.js'
]
$$$ agd tx gov submit-proposal swingset-core-eval bundles/deploy-board-aux-permit.json bundles/deploy-board-aux.js --title board-aux --description board-aux --deposit 10000000ubld --keyring-backend test --chain-id agoriclocal --from agoric127zqhrlwa9ds3dym4aly0aspl9tk8lmgu4ysy2 --broadcast-mode block --gas auto --gas-adjustment 1.4 --yes --output json
docker exec try
docker exec try 2
[
  'agd',
  'tx',
  'gov',
  'submit-proposal',
  'swingset-core-eval',
  'bundles/deploy-board-aux-permit.json',
  'bundles/deploy-board-aux.js',
  '--title',
  'board-aux',
  '--description',
  'board-aux',
  '--deposit',
  '10000000ubld',
  '--keyring-backend',
  'test',
  '--chain-id',
  'agoriclocal',
  '--from',
  'agoric127zqhrlwa9ds3dym4aly0aspl9tk8lmgu4ysy2',
  '--broadcast-mode',
  'block',
  '--gas',
  'auto',
  '--gas-adjustment',
  '1.4',
  '--yes',
  '--output',
  'json'
] { encoding: 'utf-8' }
agd
gas estimate: 1415250
{
  txhash: '974B4980926EBCE1542361E2D34D55E0B34F5BC3E56DC50788A569FE8F07F5C5',
  code: 0,
  height: '17800',
  gas_used: '1008933'
}
await voteLatestProposalAndWait [
  'bundles/deploy-board-aux-permit.json',
  'bundles/deploy-board-aux.js'
]
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposals', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
{ before: 'deposit', on: '6', delay: 1 } ...
$$$ agd tx gov deposit 6 50000000ubld --keyring-backend test --chain-id agoriclocal --from genesis --broadcast-mode block --gas auto --gas-adjustment 1.4 --yes --output json
docker exec try
docker exec try 2
[
  'agd',               'tx',
  'gov',               'deposit',
  '6',                 '50000000ubld',
  '--keyring-backend', 'test',
  '--chain-id',        'agoriclocal',
  '--from',            'genesis',
  '--broadcast-mode',  'block',
  '--gas',             'auto',
  '--gas-adjustment',  '1.4',
  '--yes',             '--output',
  'json'
] { encoding: 'utf-8' }
agd
gas estimate: 284593
$$$ agd tx gov vote 6 yes --keyring-backend test --chain-id agoriclocal --from genesis --broadcast-mode block --gas auto --gas-adjustment 1.4 --yes --output json
docker exec try
docker exec try 2
[
  'agd',               'tx',
  'gov',               'vote',
  '6',                 'yes',
  '--keyring-backend', 'test',
  '--chain-id',        'agoriclocal',
  '--from',            'genesis',
  '--broadcast-mode',  'block',
  '--gas',             'auto',
  '--gas-adjustment',  '1.4',
  '--yes',             '--output',
  'json'
] { encoding: 'utf-8' }
agd
gas estimate: 88978
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '6', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '6', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 6 to pass (status=PROPOSAL_STATUS_PASSED)
{ step: 'voting', on: '6', delay: 1 } ...
undefined 2024-06-19T06:37:55.076339834Z PROPOSAL_STATUS_PASSED
{ step: 'run', propsal: undefined, delay: 1 } ...
{ step: 'run', propsal: undefined, delay: 1 } ...
{ step: 'run', propsal: undefined, delay: 1 } ...
{
  id: '6',
  messages: [
    {
      '@type': '/cosmos.gov.v1.MsgExecLegacyContent',
      content: [Object],
      authority: 'agoric10d07y265gmmuvt4z0w9aw880jnsr700jgl36x9'
    }
  ],
  status: 'PROPOSAL_STATUS_PASSED',
  final_tally_result: {
    yes_count: '10000000000',
    abstain_count: '0',
    no_count: '0',
    no_with_veto_count: '0'
  },
  submit_time: '2024-06-19T06:37:25.076339834Z',
  deposit_end_time: '2024-06-19T06:37:55.076339834Z',
  total_deposit: [ { denom: 'ubld', amount: '60000000' } ],
  voting_start_time: '2024-06-19T06:37:25.076339834Z',
  voting_end_time: '2024-06-19T06:37:55.076339834Z',
  metadata: ''
}
docker exec try
docker exec try 2
[
  'agd',
  'keys',
  'show',
  '--address',
  'alice',
  '--keyring-backend',
  'test'
] { encoding: 'utf-8' }
agd
submit proposal orca
[ 'bundles/deploy-orca-permit.json', 'bundles/deploy-orca.js' ]
await tx [ 'bundles/deploy-orca-permit.json', 'bundles/deploy-orca.js' ]
$$$ agd tx gov submit-proposal swingset-core-eval bundles/deploy-orca-permit.json bundles/deploy-orca.js --title orca --description orca --deposit 10000000ubld --keyring-backend test --chain-id agoriclocal --from agoric127zqhrlwa9ds3dym4aly0aspl9tk8lmgu4ysy2 --broadcast-mode block --gas auto --gas-adjustment 1.4 --yes --output json
docker exec try
docker exec try 2
[
  'agd',
  'tx',
  'gov',
  'submit-proposal',
  'swingset-core-eval',
  'bundles/deploy-orca-permit.json',
  'bundles/deploy-orca.js',
  '--title',
  'orca',
  '--description',
  'orca',
  '--deposit',
  '10000000ubld',
  '--keyring-backend',
  'test',
  '--chain-id',
  'agoriclocal',
  '--from',
  'agoric127zqhrlwa9ds3dym4aly0aspl9tk8lmgu4ysy2',
  '--broadcast-mode',
  'block',
  '--gas',
  'auto',
  '--gas-adjustment',
  '1.4',
  '--yes',
  '--output',
  'json'
] { encoding: 'utf-8' }
agd
gas estimate: 113061272
{
  txhash: '96FCA5A4633E50158592C50294E3E224891151D18AC36C5E42861CE8B2CC091B',
  code: 0,
  height: '17847',
  gas_used: '80756102'
}
await voteLatestProposalAndWait [ 'bundles/deploy-orca-permit.json', 'bundles/deploy-orca.js' ]
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposals', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
{ before: 'deposit', on: '7', delay: 1 } ...
$$$ agd tx gov deposit 7 50000000ubld --keyring-backend test --chain-id agoriclocal --from genesis --broadcast-mode block --gas auto --gas-adjustment 1.4 --yes --output json
docker exec try
docker exec try 2
[
  'agd',               'tx',
  'gov',               'deposit',
  '7',                 '50000000ubld',
  '--keyring-backend', 'test',
  '--chain-id',        'agoriclocal',
  '--from',            'genesis',
  '--broadcast-mode',  'block',
  '--gas',             'auto',
  '--gas-adjustment',  '1.4',
  '--yes',             '--output',
  'json'
] { encoding: 'utf-8' }
agd
gas estimate: 16675198
$$$ agd tx gov vote 7 yes --keyring-backend test --chain-id agoriclocal --from genesis --broadcast-mode block --gas auto --gas-adjustment 1.4 --yes --output json
docker exec try
docker exec try 2
[
  'agd',               'tx',
  'gov',               'vote',
  '7',                 'yes',
  '--keyring-backend', 'test',
  '--chain-id',        'agoriclocal',
  '--from',            'genesis',
  '--broadcast-mode',  'block',
  '--gas',             'auto',
  '--gas-adjustment',  '1.4',
  '--yes',             '--output',
  'json'
] { encoding: 'utf-8' }
agd
gas estimate: 1579033
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_VOTING_PERIOD)
{ step: 'voting', on: '7', delay: 1 } ...
docker exec try
docker exec try 2
[ 'agd', 'query', 'gov', 'proposal', '7', '--output', 'json' ] { encoding: 'utf-8', stdio: [ 'ignore', 'pipe', 'ignore' ] }
agd
Waiting for proposal 7 to pass (status=PROPOSAL_STATUS_PASSED)
{ step: 'voting', on: '7', delay: 1 } ...
undefined 2024-06-19T06:38:33.774446672Z PROPOSAL_STATUS_PASSED
{ step: 'run', propsal: undefined, delay: 1 } ...
{ step: 'run', propsal: undefined, delay: 1 } ...
{ step: 'run', propsal: undefined, delay: 1 } ...
{
  id: '7',
  messages: [
    {
      '@type': '/cosmos.gov.v1.MsgExecLegacyContent',
      content: [Object],
      authority: 'agoric10d07y265gmmuvt4z0w9aw880jnsr700jgl36x9'
    }
  ],
  status: 'PROPOSAL_STATUS_PASSED',
  final_tally_result: {
    yes_count: '10000000000',
    abstain_count: '0',
    no_count: '0',
    no_with_veto_count: '0'
  },
  submit_time: '2024-06-19T06:38:03.774446672Z',
  deposit_end_time: '2024-06-19T06:38:33.774446672Z',
  total_deposit: [ { denom: 'ubld', amount: '60000000' } ],
  voting_start_time: '2024-06-19T06:38:03.774446672Z',
  voting_end_time: '2024-06-19T06:38:33.774446672Z',
  metadata: ''
}

Now, debugging contract installation on the node for any issues.

Jovonni commented 1 month ago

Ah, just hit:

6:38AM INF proposal tallied module=x/gov proposal=7 results=passed
2024-06-19T06:38:35.533Z SwingSet: vat: v1: installation ORCA: new Promise
2024-06-19T06:38:35.621Z SwingSet: vat: v1: core eval for ORCA
2024-06-19T06:38:35.623Z SwingSet: vat: v1: CORE_EVAL failed: (ReferenceError#3)
2024-06-19T06:38:35.623Z SwingSet: vat: v1: ReferenceError#3: installContract: get E$1: undefined variable
2024-06-19T06:38:35.624Z SwingSet: vat: v1: ReferenceError: installContract: get E$1: undefined variable
 at installContract (#6050:20)
 at installContract (#6050:19)
 at startDaoContract (#6050:11096)
 at startDaoContract (#6050:11066)
 at ()

2024-06-19T06:38:35.624Z SwingSet: xsnap: v1: ReferenceError#3 ERROR_NOTE: Sent as error:liveSlots:v1#70003
2024-06-19T06:38:35.625Z SwingSet: ls: v1: Logging sent error stack (ReferenceError#3)
2024-06-19T06:38:35.664Z SwingSet: xsnap: v10: UnhandledPromiseRejectionWarning: (RemoteReferenceError(error:liveSlots:v1#70003)#3)
2024-06-19T06:38:35.664Z SwingSet: xsnap: v10: RemoteReferenceError(error:liveSlots:v1#70003)#3: installContract: get E$1: undefined variable
2024-06-19T06:38:35.665Z SwingSet: xsnap: v10: ReferenceError: installContract: get E$1: undefined variable
 at makeError (/bundled-source/.../node_modules/ses/src/error/assert.js:349)
 at decodeErrorCommon (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:309)
 at decodeFromSmallcaps (/bundled-source/.../node_modules/@endo/marshal/src/encodeToSmallcaps.js:437)
 at fromCapData (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:398)
 at notifyOnePromise (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1192)
 at notify (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1216)
 at dispatchToUserspace (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1485)
 at runWithoutMetering (/bundled-source/.../packages/swingset-xsnap-supervisor/lib/supervisor-subprocess-xsnap.js:59)
 at ()

I've seen this before on another project, working through it.

Jovonni commented 1 month ago

seems to be from here:

const installContract = async (
  { consume: { zoe }, installation: { produce: produceInstallation } },
  { name, bundleID },
) => {
  const installation = await E$1(zoe).installBundleID(bundleID);
  produceInstallation[name].reset();
  produceInstallation[name].resolve(installation);
  console.log(name, '(re-)installed as', bundleID.slice(0, 8));
  return installation;
};
Jovonni commented 1 month ago

reverted jsconfig back as @samsiegart suggested, that works for the E$1 errors from above anymore:

working through this now

5:38PM INF proposal tallied module=x/gov proposal=11 results=passed
2024-06-19T17:38:59.310Z SwingSet: vat: v1: CORE_EVAL failed: (Error#7)
2024-06-19T17:38:59.310Z SwingSet: vat: v1: Error#7: zone not permitted, only [ 'consume', 'installation', 'instance', 'issuer', 'brand' ]
2024-06-19T17:38:59.311Z SwingSet: vat: v1: Error: "zone" not permitted, only ["consume","installation","instance","issuer","brand"]
 at apply ()
 at Error (/bundled-source/.../node_modules/ses/src/error/tame-error-constructor.js:54)
 at makeError (/bundled-source/.../node_modules/ses/src/error/assert.js:349)
 at fail (/bundled-source/.../node_modules/ses/src/error/assert.js:479)
 at get (.../vats/src/core/utils.js:145)
 at ()
 at produceBoardAuxManager (#6658:92)
 at produceBoardAuxManager (#6658:91)
 at ()

2024-06-19T17:38:59.311Z SwingSet: xsnap: v1: Error#7 ERROR_NOTE: Sent as error:liveSlots:v1#70007
2024-06-19T17:38:59.311Z SwingSet: ls: v1: Logging sent error stack (Error#7)
2024-06-19T17:38:59.315Z SwingSet: xsnap: v10: UnhandledPromiseRejectionWarning: (RemoteError(error:liveSlots:v1#70007)#7)
2024-06-19T17:38:59.315Z SwingSet: xsnap: v10: RemoteError(error:liveSlots:v1#70007)#7: "zone" not permitted, only ["consume","installation","instance","issuer","brand"]
2024-06-19T17:38:59.315Z SwingSet: xsnap: v10: Error: "zone" not permitted, only ["consume","installation","instance","issuer","brand"]
 at apply ()
 at Error (/bundled-source/.../node_modules/ses/src/error/tame-error-constructor.js:54)
 at makeError (/bundled-source/.../node_modules/ses/src/error/assert.js:349)
 at decodeErrorCommon (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:309)
 at decodeFromSmallcaps (/bundled-source/.../node_modules/@endo/marshal/src/encodeToSmallcaps.js:437)
 at fromCapData (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:398)
 at notifyOnePromise (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1192)
 at notify (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1216)
 at dispatchToUserspace (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1485)
 at runWithoutMetering (/bundled-source/.../packages/swingset-xsnap-supervisor/lib/supervisor-subprocess-xsnap.js:59)
 at ()

maybe something wrong with the proposal:

export const permit = harden({
  consume: {
    agoricNames: true,
    brandAuxPublisher: true,
    startUpgradable: true, 
    zoe: true,
    board: true,
    chainStorage: true,
    orchestration: true,
    chainTimerService: true
  },
  installation: {
    consume: { [contractName]: true },
    produce: { [contractName]: true },
  },
  instance: { produce: { [contractName]: true } },
  // permitting brands
  issuer: { consume: { IST: true }, produce: { } },
  brand: { consume: { IST: true  }, produce: { } },
});
Jovonni commented 1 month ago

Note: Debugging this during contract startup, progress for previous checkpoint. Bundle installs properly, now at start-up it throws:

2024-06-22T04:26:37.807Z SwingSet: vat: v1: { installation: Object [Alleged: BundleIDInstallation] {}, issuerKeywordRecord: {}, terms: {} }
2024-06-22T04:26:37.808Z SwingSet: vat: v1: orca start args: { installation: Object [Alleged: BundleIDInstallation] {}, issuerKeywordRecord: {}, terms: {} }
4:26AM INF Timed out dur=400 height=1222 module=consensus round=0 step=3
4:26AM INF client state updated client-id=07-tendermint-0 height=0-1475 module=x/ibc/client
4:26AM INF client state updated client-id=07-tendermint-0 height=0-1475 module=x/ibc/client
2024-06-22T04:26:40.505Z SwingSet: xsnap: v39: error during vat dispatch() of startVat,[object Object] (SyntaxError#1)
2024-06-22T04:26:40.506Z SwingSet: xsnap: v39: SyntaxError#1: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
2024-06-22T04:26:40.506Z SwingSet: xsnap: v39: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
 at rejectHtmlComments (/bundled-source/.../node_modules/ses/src/transforms.js:75)
 at mandatoryTransforms (/bundled-source/.../node_modules/ses/src/transforms.js:237)
 at applyTransforms (/bundled-source/.../node_modules/ses/src/transforms.js:252)
 at safeEvaluate (/bundled-source/.../node_modules/ses/src/make-safe-evaluator.js:68)
 at execute (.../compartment-mapper/src/parse-pre-cjs.js:30)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:102)
 at compartmentImportNow (/bundled-source/.../node_modules/ses/src/compartment.js:79)
 at require (.../compartment-mapper/src/parse-cjs-shared-export-wrapper.js:140)
 at (#1916:7)
 at execute (.../compartment-mapper/src/parse-pre-cjs.js:40)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:102)
 at compartmentImportNow (/bundled-source/.../node_modules/ses/src/compartment.js:79)
 at require (.../compartment-mapper/src/parse-cjs-shared-export-wrapper.js:140)
 at (#1915:4)
 at execute (.../compartment-mapper/src/parse-pre-cjs.js:40)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:102)
 at imports (/bundled-source/.../node_modules/ses/src/module-instance.js:374)
 at (.../cosmic-proto/dist/codegen/agoric/vbank/vbank.js:1)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:469)
 at imports (/bundled-source/.../node_modules/ses/src/module-instance.js:374)
 at (.../cosmic-proto/dist/codegen/agoric/vbank/genesis.js:1)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:469)
 at imports (/bundled-source/.../node_modules/ses/src/module-instance.js:374)
 at (.../cosmic-proto/dist/codegen/agoric/bundle.js:1)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:469)
 at imports (/bundled-source/.../node_modules/ses/src/module-instance.js:374)
 at (.../cosmic-proto/dist/codegen/index.js:1)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:469)
 at imports (/bundled-source/.../node_modules/ses/src/module-instance.js:374)
 at (.../cosmic-proto/dist/index.js:1)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:469)
 at imports (/bundled-source/.../node_modules/ses/src/module-instance.js:374)
 at (.../orchestration/src/exos/stakingAccountKit.js:1)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:469)
 at imports (/bundled-source/.../node_modules/ses/src/module-instance.js:374)
 at (.../dapp-agoric-orca-contract/src/orca.contract.js:1)
 at execute (/bundled-source/.../node_modules/ses/src/module-instance.js:469)
 at compartmentImportNow (/bundled-source/.../node_modules/ses/src/compartment.js:79)
 at (/bundled-source/.../node_modules/ses/src/compartment.js:140)
 at ()

2024-06-22T04:26:40.506Z SwingSet: xsnap: v39: UnhandledPromiseRejectionWarning: (SyntaxError#1)
2024-06-22T04:26:40.530Z SwingSet: kernel: kernel terminating vat v39 (failure=true)
2024-06-22T04:26:40.539Z SwingSet: ls: v2: Logging sent error stack (Error#4)
2024-06-22T04:26:40.539Z SwingSet: ls: v2: Error#4: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
2024-06-22T04:26:40.539Z SwingSet: ls: v2: Error: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
 at apply ()
 at Error (/bundled-source/.../node_modules/ses/src/error/tame-error-constructor.js:54)
 at newVatCallback (.../swingset-vat/src/vats/vat-admin/vat-vat-admin.js:508)
 at vatTerminated (.../swingset-vat/src/vats/vat-admin/vat-vat-admin.js:566)
 at apply ()
 at localApplyMethod (/bundled-source/.../node_modules/@endo/eventual-send/src/local.js:126)
 at apply ()
 at dispatchToHandler (/bundled-source/.../node_modules/@endo/eventual-send/src/handled-promise.js:156)
 at win (/bundled-source/.../node_modules/@endo/eventual-send/src/handled-promise.js:505)
 at ()

2024-06-22T04:26:40.540Z SwingSet: ls: v2: Error#4 ERROR_NOTE: Sent as error:liveSlots:v2#70002
2024-06-22T04:26:40.561Z SwingSet: ls: v9: Logging sent error stack (RemoteError(error:liveSlots:v2#70002)#2)
2024-06-22T04:26:40.562Z SwingSet: ls: v9: RemoteError(error:liveSlots:v2#70002)#2: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
2024-06-22T04:26:40.562Z SwingSet: ls: v9: Error: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
 at apply ()
 at Error (/bundled-source/.../node_modules/ses/src/error/tame-error-constructor.js:54)
 at makeError (/bundled-source/.../node_modules/ses/src/error/assert.js:349)
 at decodeErrorCommon (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:309)
 at decodeFromSmallcaps (/bundled-source/.../node_modules/@endo/marshal/src/encodeToSmallcaps.js:437)
 at fromCapData (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:398)
 at notifyOnePromise (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1192)
 at notify (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1216)
 at dispatchToUserspace (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1485)
 at runWithoutMetering (/bundled-source/.../packages/swingset-xsnap-supervisor/lib/supervisor-subprocess-xsnap.js:59)
 at ()

2024-06-22T04:26:40.562Z SwingSet: ls: v9: RemoteError(error:liveSlots:v2#70002)#2 ERROR_NOTE: Sent as error:liveSlots:v9#70002
2024-06-22T04:26:40.566Z SwingSet: vat: v1: CORE_EVAL failed: (RemoteError(error:liveSlots:v9#70002)#2)
2024-06-22T04:26:40.566Z SwingSet: vat: v1: RemoteError(error:liveSlots:v9#70002)#2: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
2024-06-22T04:26:40.566Z SwingSet: vat: v1: Error: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
 at apply ()
 at Error (/bundled-source/.../node_modules/ses/src/error/tame-error-constructor.js:54)
 at makeError (/bundled-source/.../node_modules/ses/src/error/assert.js:349)
 at decodeErrorCommon (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:309)
 at decodeFromSmallcaps (/bundled-source/.../node_modules/@endo/marshal/src/encodeToSmallcaps.js:437)
 at fromCapData (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:398)
 at notifyOnePromise (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1192)
 at notify (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1216)
 at dispatchToUserspace (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1485)
 at runWithoutMetering (/bundled-source/.../packages/swingset-xsnap-supervisor/lib/supervisor-subprocess-xsnap.js:59)
 at ()

2024-06-22T04:26:40.566Z SwingSet: xsnap: v1: RemoteError(error:liveSlots:v9#70002)#2 ERROR_NOTE: Sent as error:liveSlots:v1#70002
2024-06-22T04:26:40.567Z SwingSet: ls: v1: Logging sent error stack (RemoteError(error:liveSlots:v9#70002)#2)
2024-06-22T04:26:40.570Z SwingSet: xsnap: v10: UnhandledPromiseRejectionWarning: (RemoteError(error:liveSlots:v1#70002)#2)
2024-06-22T04:26:40.570Z SwingSet: xsnap: v10: RemoteError(error:liveSlots:v1#70002)#2: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
2024-06-22T04:26:40.570Z SwingSet: xsnap: v10: Error: Vat Creation Error: Error: SyntaxError: Possible HTML comment rejected at <unknown>:2635. (SES_HTML_COMMENT_REJECTED)
 at apply ()
 at Error (/bundled-source/.../node_modules/ses/src/error/tame-error-constructor.js:54)
 at makeError (/bundled-source/.../node_modules/ses/src/error/assert.js:349)
 at decodeErrorCommon (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:309)
 at decodeFromSmallcaps (/bundled-source/.../node_modules/@endo/marshal/src/encodeToSmallcaps.js:437)
 at fromCapData (/bundled-source/.../node_modules/@endo/marshal/src/marshal.js:398)
 at notifyOnePromise (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1192)
 at notify (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1216)
 at dispatchToUserspace (/bundled-source/.../packages/swingset-liveslots/src/liveslots.js:1485)
 at runWithoutMetering (/bundled-source/.../packages/swingset-xsnap-supervisor/lib/supervisor-subprocess-xsnap.js:59)
 at ()

working through it.

Jovonni commented 1 month ago

fixed with https://github.com/Agoric/agoric-sdk/pull/9564 to bn.js