Agoric / dapp-agoric-basics

This is a simple app for the Agoric smart contract platform.
0 stars 3 forks source link

fix: swaparoo failed to deploy due to missing config.options.swaparooCommittee #25

Closed dckc closed 3 months ago

dckc commented 3 months ago

symptoms were: no swaparoo in published.agoricNames.instance.

Diagnosis:

agd-1  | 2024-03-19T21:48:56.868Z SwingSet: vat: v1: CORE_EVAL failed: (TypeError#3)
agd-1  | 2024-03-19T21:48:56.868Z SwingSet: vat: v1: TypeError#3: startMyCommittee: cannot coerce undefined to object
agd-1  | 2024-03-19T21:48:56.868Z SwingSet: vat: v1: TypeError: startMyCommittee: cannot coerce undefined to object
agd-1  |  at startMyCommittee (#9254:290)
agd-1  |  at startMyCommittee (#9254:277)
agd-1  |  at main (#9254:475)
agd-1  |  at ()

treatment: supply swaparooCommittee options using a new rollup plugin

dckc commented 3 months ago

Here's hoping we can use the e2e-tools.js to test contract functionality in end-to-end mode.

meanwhile... the curl test that looks for swaparoo was good enough to find this one.