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 has been archived by the owner on Sep 27, 2023. It is now read-only.
This problem can be partially solved by changing the methods definition:
methods {
// When a function is not using the environment (e.g., msg.sender), it can be declared as envfree balanceOf(address) returns(uint) envfree
allowance(address,address) returns(uint) envfree
totalSupply() returns(uint) envfree
}
To this:
methods {
// When a function is not using the environment (e.g., msg.sender), it can be declared as envfree function balanceOf(address) externalreturns(uint) envfree;
function allowance(address,address) externalreturns(uint) envfree;
function totalSupply() externalreturns(uint) envfree;
}
Running this script solved the issue for me.
However, having beginners to go through this process is counter productive.
Please update the repo with updated specs.
The text was updated successfully, but these errors were encountered: