-
Notifications
You must be signed in to change notification settings - Fork 3
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
NEP-10 incompatibility: supportedStandards() needs to return an array of strings - not a simple string #3
Comments
The SC code has been code-audited at the beginning of August, except for the NEP-10 sample code. We wrote it according to the examples in the NEP-10 documentation. @mwherman2000 |
It appears that you neither read the spec nor read the referenced sample code. Both are very explicit that From the standard:
From the sample code referenced in the standard:
|
To be honest, I did not read the NEP-10 specification carefully and this code was added by the security auditor. There are already a lot of people using CGAS and we are not going to redeploy. In addition, I created a new project, where I used the correct nep-10 method. neo-project/examples#26 @mwherman2000 |
So what do you think NEO Global Development's response was (the NEO blockchain core development team)? "To be honest, I did not read the NEP-10 specification carefully and this code was added by the security auditor. There are already a lot of people using CGAS and we are not going to redeploy." (#3 (comment)) #thisishowblockchainprojectsdie |
The error is in line: https://github.com/neo-ngd/CNEO-Contract/blob/master/NeoContract/CNEO.cs#L267
NEP-10 Specification: https://github.com/neo-project/proposals/blob/master/nep-10.mediawiki
NEP-10 Specification sample code: neo-project/proposals#40 (comment)
Was this SC code reviewed? Was it tested?
The text was updated successfully, but these errors were encountered: