-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Rename native contracts #2152
Rename native contracts #2152
Conversation
BTW, rename |
It's another pr. |
Should We also change NeoToken/GasToken back to NEO and GAS? |
Agree |
I don't think so. |
Do you think it's need to be merged into Preview4? @erikzhang |
UT failed. |
@@ -14,12 +12,12 @@ | |||
|
|||
namespace Neo.SmartContract.Native | |||
{ | |||
public sealed class DesignationContract : NativeContract | |||
public sealed class RoleDesignation : NativeContract |
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.
Maybe keep with ContractRoleDesignation
to follow ContractManagement
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.
I don't understand.
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.
Now it is RoleManagement
.
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.
It's ok for me, but I prefer to merge this after preview4
I agree 100% |
Now it can be merged. |
* Rename native contracts * Fix * RoleManagement Co-authored-by: Shargon <shargon@gmail.com>
* Rename native contracts * Fix * RoleManagement Co-authored-by: Shargon <shargon@gmail.com>
ManagementContract
toContractManagement
.DesignationContract
toRoleManagement
.