WARNING: Compiler instructed to emit for Algorand, but the conservative analysis found these potential problems #1544
-
We recently added the option to update a specified price of assets within a smart contract, while upgrading to Reach 0.1.13 from 0.1.12. One contract was not changed at all but started giving these messages after the upgrade. Since these changes, we have been getting warnings when compiling our contracts, our BE server logs, and FE console logs.
How concerned should we be with these warnings? Is it possible that our contracts can go into a broken state which will cause a loss of assets? We have 3 contracts total, with all giving similar warnings. Here's an example of a contract that allows users to swap ASAs for ASAs. https://gist.github.com/Fraccas/bac07ca00f8ae64da471061a36cf68d1 If we should not be concerned, is there a way to disable these messages from logging on to our site/backend? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You should be concerned. If you want to not print stuff out, you can use an environment variable: https://docs.reach.sh/frontend/#p_135 Here are some things to try:
|
Beta Was this translation helpful? Give feedback.
You should be concerned. If you want to not print stuff out, you can use an environment variable: https://docs.reach.sh/frontend/#p_135
Here are some things to try:
balance() == flatFee
parallelReduce
body and continuation are guaranteed to get different transactions