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

NEP: NEO Executable Format (NEF) #121

Merged
merged 26 commits into from
Jul 29, 2021
Merged

Conversation

bettybao1209
Copy link
Contributor

close #120

nep-16.mediawiki Outdated Show resolved Hide resolved
Copy link
Member

@vncoelho vncoelho left a comment

Choose a reason for hiding this comment

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

Looks good, @bettybao1209, nice writting and definition.

nep-16.mediawiki Outdated Show resolved Hide resolved
@erikzhang erikzhang changed the title NEP: NeoContract NEF NEP: NEO Executable Format (NEF) Apr 1, 2020
Copy link
Contributor

@ixje ixje left a comment

Choose a reason for hiding this comment

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

This NEP describes a standard for how to store executable smart contract code that can be deployed. Given that NEO supports not just C# for writing contracts but also other languages the standard should provide sufficient information for other languages to create valid NEF files without having to look at the C# source code. The current revision provides too little information and relies heavily on knowing the C# source code. The below suggested changes should provide sufficient information such that alternative language implementers (like myself) do not require digging into the C# code.

nep-16.mediawiki Outdated Show resolved Hide resolved
nep-16.mediawiki Outdated Show resolved Hide resolved
nep-16.mediawiki Outdated Show resolved Hide resolved
nep-16.mediawiki Outdated Show resolved Hide resolved
nep-16.mediawiki Outdated Show resolved Hide resolved
nep-16.mediawiki Outdated Show resolved Hide resolved
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
@ixje
Copy link
Contributor

ixje commented May 25, 2020

@shargon I see you accepted only one suggestion. Do you have any feedback on the other ones?

shargon and others added 5 commits May 25, 2020 09:49
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
@shargon
Copy link
Member

shargon commented May 25, 2020

Maybe we can add this table

https://github.com/neo-project/neo/blob/425dbd54b8f510f1eb7f76df75c2b42947cd91e1/src/neo/SmartContract/NefFile.cs#L9-L20

Copy link
Contributor

@ixje ixje left a comment

Choose a reason for hiding this comment

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

fix to hyperlink format for mediawiki

nep-16.mediawiki Outdated Show resolved Hide resolved
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
nep-16.mediawiki Outdated Show resolved Hide resolved
Co-authored-by: Shargon <shargon@gmail.com>
shargon
shargon previously approved these changes Jul 6, 2020
nep-16.mediawiki Outdated Show resolved Hide resolved
Co-authored-by: Erik van den Brink <git@erikvandenbrink.com>
shargon
shargon previously approved these changes Jul 6, 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.

Scripthash was replaced by Abi, could you update this PR @bettybao1209 ? neo-project/neo#1973

nep-16.mediawiki Outdated Show resolved Hide resolved
@Tommo-L
Copy link

Tommo-L commented Nov 19, 2020

Need to be updated, related to neo-project/neo#2044

@superboyiii
Copy link
Member

@erikzhang @bettybao1209 Let's move on?

nep-16.mediawiki Outdated Show resolved Hide resolved
@erikzhang
Copy link
Member

Please add method tokens.

@bettybao1209
Copy link
Contributor Author

Please add method tokens.

Ok, I'm working on it.

nep-16.mediawiki Outdated Show resolved Hide resolved
nep-16.mediawiki Outdated Show resolved Hide resolved
nep-16.mediawiki Outdated Show resolved Hide resolved
@gsmachado
Copy link

The same comment that I mentioned here applies to this NEP.

I've made an addition here: https://github.com/neo-project/proposals/pull/121/files#r557413256

It would be good if someone could accept or reject.

😄

erikzhang and others added 2 commits January 14, 2021 22:07
Co-authored-by: Guil. Sperb Machado <gsm@machados.org>
@erikzhang
Copy link
Member

Merge?

shargon
shargon previously approved these changes Apr 17, 2021
@erikzhang erikzhang merged commit 978c3d9 into neo-project:master Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NEP?: Script Nef Standard
10 participants