-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[move core] Allow Identifiers to contain $
#17814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
In an unlikely scenario where we are upgrading the validators with this change, will there be a possibility of divergence if someone submits code with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is my understanding correct that with this change, users will be able to include $ in the bytecode if they hack it directly, right?
Teng is right, we need a feature flag. Yes, this will allow $ in identifiers in the VM, the assembler for example can do it. |
Now gated by bytecode version 9 |
48bff24
to
42de4e8
Compare
This enables intermediate tools to use `$` in identifiers to separate from user identifiers, e.g. names for public struct functions. This is only supported from bytecode version 9 onwards.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
This enables intermediate tools to use
$
in identifiers to separate from user identifiers, e.g. names for public struct functions.How Has This Been Tested?
Existing and new tests
Type of Change
Which Components or Systems Does This Change Impact?