We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The problem: Sometimes using sendQuantity sends the some Signa balance.
sendQuantity
Expected: Using sendQuantity must ensure no Signa will be transfered.
Cause: Wrong assembly implementation of sendQuantity. Implementation must ensure register B3 is zero.
The behavior can be mitigated using #pragma optimizationLevel 1? No.
#pragma optimizationLevel 1
Affects: All smart contracts that uses sendQuantity in SmartC versions 2.0.0 and 2.0.1
Workaround:
sendQuantityAndAmount
The text was updated successfully, but these errors were encountered:
Fix on sendQuantity built-in (issue #24)
73f8e90
Already fixed on stable 2.1.0.
Sorry, something went wrong.
No branches or pull requests
The problem:
Sometimes using
sendQuantity
sends the some Signa balance.Expected:
Using
sendQuantity
must ensure no Signa will be transfered.Cause:
Wrong assembly implementation of sendQuantity. Implementation must ensure register B3 is zero.
The behavior can be mitigated using
#pragma optimizationLevel 1
?No.
Affects:
All smart contracts that uses
sendQuantity
in SmartC versions 2.0.0 and 2.0.1Workaround:
sendQuantityAndAmount
with zero as amount, instead of sendQuantity.The text was updated successfully, but these errors were encountered: