Skip to content

Rename native contracts#2152

Merged
shargon merged 9 commits intomasterfrom
rename-native-contracts
Dec 17, 2020
Merged

Rename native contracts#2152
shargon merged 9 commits intomasterfrom
rename-native-contracts

Conversation

@erikzhang
Copy link
Member

@erikzhang erikzhang commented Dec 16, 2020

  1. Rename ManagementContract to ContractManagement.
  2. Rename DesignationContract to RoleManagement.

@Tommo-L
Copy link
Contributor

Tommo-L commented Dec 16, 2020

BTW, rename Committee to Council

@erikzhang
Copy link
Member Author

BTW, rename Committee to Council

It's another pr.

@devhawk
Copy link
Contributor

devhawk commented Dec 16, 2020

Should We also change NeoToken/GasToken back to NEO and GAS?

@cloud8little
Copy link
Contributor

Should We also change NeoToken/GasToken back to NEO and GAS?

Agree

@erikzhang
Copy link
Member Author

Should We also change NeoToken/GasToken back to NEO and GAS?

I don't think so. NEO is ambiguous, does it mean token or blockchain? And it has the same name as the root namespace, which will cause many conflicts.

@superboyiii
Copy link
Member

Do you think it's need to be merged into Preview4? @erikzhang

@Tommo-L
Copy link
Contributor

Tommo-L commented Dec 16, 2020

UT failed.

namespace Neo.SmartContract.Native
{
public sealed class DesignationContract : NativeContract
public sealed class RoleDesignation : NativeContract
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it is RoleManagement.

shargon
shargon previously approved these changes Dec 16, 2020
Copy link
Member

@shargon shargon left a 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

@devhawk
Copy link
Contributor

devhawk commented Dec 16, 2020

It's ok for me, but I prefer to merge this after preview4

I agree 100%

@erikzhang
Copy link
Member Author

Now it can be merged.

@shargon shargon merged commit 13c626c into master Dec 17, 2020
@shargon shargon deleted the rename-native-contracts branch December 17, 2020 20:48
ShawnYun pushed a commit to ShawnYun/neo that referenced this pull request Jan 8, 2021
* Rename native contracts

* Fix

* RoleManagement

Co-authored-by: Shargon <shargon@gmail.com>
cloud8little pushed a commit to cloud8little/neo that referenced this pull request Jan 24, 2021
* Rename native contracts

* Fix

* RoleManagement

Co-authored-by: Shargon <shargon@gmail.com>
ixje added a commit to CityOfZion/neo-mamba that referenced this pull request Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants