You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2022. It is now read-only.
Can't successfully open up a vault within the dapp-treasury UI. Below is a video showing a group of failed vaults and the error message they provide. Whereas the UI error messages state that the following:
Requested {"brand":"[Alleged: RUN brand]","value":"[10001000n]"} exceeds max {"brand":"[Alleged: RUN brand]","value":"[9999993n]"}
The "value" properties above don't match up, and this is currently the behavior i'm always experiencing. I'm not sure if it has to do with the RUN fees but the difference between each "value" is extremely small which leads me to think that this might have something to do with it. For example, the difference in the BigInt values above is1.007n.
Inspecting the stack trace led me to finding a different error, further down than the error above, in which my local chain fails to validate the payment for opening a vault.
"[Alleged: BLD payment]" was not a live payment for brand "[Alleged: BLD brand]" . It could be a used-up payment, a payment for another brand, or it might not be a payment at all.
To Reproduce
Steps to reproduce the behavior:
follow instructions in dapp-treasury README.md to being running the dapp along with a local solo chain which uses the ui/use-on-chain-config.js properties.
navigate to the dapp-treasury UI and open a vault using any collateral type.
Navigate to wallet UI and accept payment.
View failed Vault creation within UI as well as console running the local chain.
Expected behavior
The treasury dapp should recognize that the payments are valid live payments and that the values embedded within these payments are correct.