Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make the library's balanceOf() func only callable by contracts
Having it also callable by EOAs (i.e. with the `public` modifier) leads to the to-be-linked dependencies/references inserted into the bytecode of the contracts using the Native Tokens library. The latter was not compatible with the testing framework/methodology we use in the SabVM repo.
- Loading branch information