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
In the Superprovider there is a function to fetch the nonce of the selected account.
If this is a new account the nonce is 0, and that is interpreted as an error since the if statement is vague.
const nonce = await this.getNonce(this.selectedEnvironment.endpoint, this.selectedAccount.address)
.catch((err) => console.log(err));
if (!nonce) {
alert('The nonce could not be fetched');
return;
}
Steps to reproduce
Deploy a CryptoPizza template
Deploy using Default account
Switch to new pristine account
Create a new pizza
See the error alert popup.
Expected result
Nonce for pristine accounts are 0 and that should not be interpreted as an error.
Actual result
For pristine accounts the application fails posting a transaction from preview.
Reproducible
Yes, if using the fixed features where the correct account is set in the preview (#86)
The text was updated successfully, but these errors were encountered:
Environment/Browser
Chromium
Description
In the Superprovider there is a function to fetch the nonce of the selected account.
If this is a new account the nonce is 0, and that is interpreted as an error since the
if
statement is vague.Steps to reproduce
Expected result
Nonce for pristine accounts are 0 and that should not be interpreted as an error.
Actual result
For pristine accounts the application fails posting a transaction from preview.
Reproducible
Yes, if using the fixed features where the correct account is set in the preview (#86)
The text was updated successfully, but these errors were encountered: