-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Map not enough coins to fit the target
error
#2522
Comments
The reason for causing this issue is because of the deployer or the provider has 0 tokens at first. Hence I think to fix it is to use P.S. The current fuel dApp in Typescript SDK uses local node.
|
I'd like to close this in favour of #2467, I also don't think this is required for mainnet as we don't map any of the other VM errors. @FuelLabs/sdk-ts |
I was hoping we could squeeze this in because it's been more prevalent, but you also have a point. Maybe we can give it another week or so and then deprioritize it in case we can't get it across the line. |
@danielbate whilst I agree that this would be an exceptional use case in terms of mapping a VM error, the fact that other consumers have been perplexed by it suggests to me that we should consider the DX when this error is thrown. My personal opinion is that they should be directed to the faucet when this error is thrown, but that would require it to be mapped first. |
Errors like
not enough coins to fit the target
don't seem obvious to users:We should consider mapping this one even before we get to #2467.
Note
Should be done after:
UNKNOWN
error code andrawError
property toFuelError
#2521The text was updated successfully, but these errors were encountered: