-
Notifications
You must be signed in to change notification settings - Fork 212
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
introducing new vbank assets results in O(n) work to update smart wallets #6652
Comments
Failing testea697a5 cc @turadg @arirubinstein
|
I coded up lazy purse creation in #6774 . But another option that's starting to look good is Skip chainStorage writes for vbank purse balancesNow that we have This would update our approach to It would be a significant change to the wallet front end. And we would need another approach when we add non-vbank assets (LP tokens etc.) I'm not sure how the REPL wallet API would work either. |
Describe the bug
As noted in a Dec 5 comment on #6625, when proposal 17 to add DAI passed and 2 new vbank issues were added, each smart wallet woke up, added a purse, and published its new state to vstorage:
agoric-sdk/packages/smart-wallet/src/smartWallet.js
Lines 523 to 524 in 2c812d2
This is clearly not consistent with our Limit work by message size design constraint.
To Reproduce
Steps to reproduce the behavior:
E(vbank).addAsset(...)
Expected behavior
TBD, but something that respects our Limit work by message size design constraint.
RPC clients should be able to get the list of vbank brands without relying on updates to individual wallets:
design discussion: IBIS: How to introduce new VBank Issuers to Wallets - Google Docs
Platform Environment
mainnet. pismoA
The text was updated successfully, but these errors were encountered: