-
Notifications
You must be signed in to change notification settings - Fork 103
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
Adjusting AVM to NEF #75
Conversation
Maybe after this PR we can refactor |
@shargon, what NEF means? ahauahah |
Neo Executable Format/File |
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.
When reading or writing Nef files, you also need to consider the header.
@lock9 I think that is done, could you test it? |
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.
Tested, @lock9 need this change for preview1, so please review it as fast as possible
* Add header * Fix attribute
{ | ||
Console.WriteLine(c.Key.ToString("X04") + "=>" + c.Value.ToString()); | ||
} | ||
} | ||
|
||
private static void DumpBytes(byte[] data) | ||
{ | ||
Console.WriteLine("AVM="); | ||
Console.WriteLine("NEF="); |
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.
Isn't this suppose to be NEF3 in little-endian? Isn't this the magic?
neo-project/neo@f4adfac#diff-e18ce5ffc990682ed3c619715ebaf672R27
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.
If you guys think it's fine.. ok, I couldn't test. Please make sure magic is correct.
Adjusting #55 which was renaming to NVM, according to neo-project/neo#903