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
I found that if StorageMap is written in a global variables, the execution will report an error.
If the StorageMap is written in a variable in the method, it is executed correctly.
I found that if StorageMap is written in a global variables, the execution will report an error.
If the StorageMap is written in a variable in the method, it is executed correctly.
The
put
andget
methods will fail to execute, but theput2
andget2
methods will execute successfully.This bug will appear in both Neo2 and Neo3
The picture below is the execution result:
StorageMap 如果写在全局变量(静态变量)中,会执行出错,但写在方法里面就能正常执行,从Neo2到现在一直存在的Bug。为此我还补充了文档。但我觉得有坑的话应该先把坑填上,而不是叫所有人都绕过去走。
The text was updated successfully, but these errors were encountered: