Skip to content
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

Create eip-1538 #1567

Closed
wants to merge 139 commits into from
Closed

Create eip-1538 #1567

wants to merge 139 commits into from

Conversation

mudgen
Copy link
Contributor

@mudgen mudgen commented Nov 8, 2018

This pull request adds eip-1538.

Information about ERC1538 is here: #1538

@fulldecent
Copy link
Contributor

_functionSignatures may be better as a bytes4[]. Currently it is string which does not seem semantic.

@fulldecent
Copy link
Contributor

Ownership is orthogonal to the goals of this project so I believe it is unnecessary for the specification to include this.

Also, there might be a vulnerability about storage.

I don't think ERC-930 is ready for prime time. More discussion there.

@mudgen
Copy link
Contributor Author

mudgen commented Nov 9, 2018

_functionSignatures may be better as a bytes4[]. Currently it is string which does not seem semantic.

Yes, using bytes4[] is semantically better but then functions in the ERC1538Query interface, as given in the standard, will not work. Because they require the function signatures.

Also, using strings of function signatures enables implementors to prevent selector clashing, where one signature hashes to the same 4 bytes as another.

@mudgen
Copy link
Contributor Author

mudgen commented Nov 9, 2018

Ownership is orthogonal to the goals of this project so I believe it is unnecessary for the specification to include this.

I agree with you which is why Ownership is not part of the standard. The standard says the following: "Typically some kind of authentication is needed for adding/replacing/removing functions from a transparent contract, however the scheme for authentication or ownership is not part of this standard." Also checkout the section of the standard called "Decentralized Authority".

Your comment:

Also, there might be a vulnerability about storage.

If you know of a vulnerability then please give the details.

I don't think ERC-930 is ready for prime time. More discussion there.

Do you mean ERC1538?

@bitcoinwarrior1
Copy link
Contributor

Hi @mudgen would be good if in future the commit messages were more clear in their intent

@mudgen
Copy link
Contributor Author

mudgen commented Nov 12, 2018

@James-Sangalli I understand, I will work on improving my commit messages.

@mudgen
Copy link
Contributor Author

mudgen commented Nov 15, 2018

@fulldecent I appreciate your help and input about ERC1538. If there are ways to make it better then let's make it better. Because of your input and other's input the standard is getting better. I recently added several new sections to the standard that you may be interested in.

Here are titles of the new sections:
Security
Transparency
Versions of Functions
Best Practices, Tools and More Information
String of Function Signatures Instead of bytes4[] Array of Function Selectors

@fulldecent
Copy link
Contributor

I do not see this new version in EIPs. Specifically I do not see "# String of Function"

It was in the wrong place.
Added several new sections.
@mudgen
Copy link
Contributor Author

mudgen commented Nov 15, 2018

@fulldecent sorry, it wasn't updated in the EIP. I just updated it, so the new things are there now.

EIPS/eip-1538.md Outdated
author: Nick Mudge <nick@mokens.io>
status: Draft
type: Standards Track
category ERC
Copy link
Member

Choose a reason for hiding this comment

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

Misses a colon.

status: Draft
type: Standards Track
category ERC
created: 31 October 2018
Copy link
Member

Choose a reason for hiding this comment

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

This date format isn't following the required one, yyyy-mm-dd.

@axic
Copy link
Member

axic commented Mar 1, 2019

@mudgen any chance this PR could be rebased? It seems like it imports a lot of unnecessary commits.

@nicksavers nicksavers mentioned this pull request Mar 27, 2019
@mudgen mudgen closed this Mar 27, 2019
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.

5 participants