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
To be fair, I'm not entirely sure if we should label this as a bug as it doesn't seem too unreasonable to require Std = "0x1" in unit tests, at least in the short term. The error message should definitely be improved though.
Alternatively, I think It's possible to make the move-cli (or the unit test driver) resolve the named address "Std" into a numerical address and use that for native functions, but I don't know if we'll run into some unexpected rough edges.
Currently when the
move-cli
launches, it associates theMoveStdlib
native functions with address 0x1.This can be problematic if a user runs unit tests against a package that sets
Std
to a different numerical address. Here is an example:This will result in the Move VM failing to load the
MoveStdlib
modules containing native functions:The text was updated successfully, but these errors were encountered: