Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silent failure on insufficient IST when installing bundles #60

Open
dckc opened this issue Jan 25, 2024 · 0 comments
Open

silent failure on insufficient IST when installing bundles #60

dckc opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dckc
Copy link
Member

dckc commented Jan 25, 2024

Sometimes yarn start:contract seems to do its thing, but then in the node logs, we see...

2024-01-24T23:35:57.700Z SwingSet: xsnap: v10: Error: bundleID not yet installed: b1-1b1b49dc4e7354d5dedb6681b72b372d85b7cfbfecaf1b459bc0b28a3cd739fc6b81bacf199d25e5bb9cd83a6aa7b91943c3629b23a2eecfdfebeb4895d6fe26

Then if we scroll waaaay back in the yarn start:contract terminal, we find that agd tx swingset install-bundle failed with insufficient funds:

agd tx swingset install-bundle --compress @/root/.agoric/cache/b1-d60605da4f3462e0cd27ed520b52c6ed173ecdd62fe7b21e13b25cb6264ac139a77b15daff4582f7d330d5af7f67403622b2905daec439bade02eba2cb97e20b.json --from user1 --keyring-backend=test --gas=auto --gas-adjustment=1.2 --chain-id=agoriclocal -bblock --yes -o json
gas estimate: 24001647
{"height":"0","txhash":"F7EED0924AC723C327AB34F4785DABE9635F5BDD5967F7F5A89DA1424CC17592","codespace":"sdk","code":20,"data":"","raw_log":"controller refused message admission: 1650000uist is smaller than 12000000uist: insufficient funds: mempool is full","logs":[],"info":"","gas_wanted":"24001647","gas_used":"1764529","tx":null,"timestamp":"","events":[]}

Note in particular code":20. Any code other than 0 is an error that we should signal loudly.

earlier discussion: #44 (comment)

cc @0xpatrickdev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant