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

Canonical marshal was easy! #2223

Merged
merged 2 commits into from
Jan 20, 2021
Merged

Canonical marshal was easy! #2223

merged 2 commits into from
Jan 20, 2021

Conversation

erights
Copy link
Member

@erights erights commented Jan 20, 2021

Aside from golden test text, almost no code need to change! Is it really this easy?

It shouldn't even be significantly slower though @FUDCo and measurements may disagree ;)

@erights erights requested a review from FUDCo January 20, 2021 06:54
@erights erights self-assigned this Jan 20, 2021
@erights
Copy link
Member Author

erights commented Jan 20, 2021

@michaelfig or @katelynsills , one of you should review the changes to the golden of test-lib-wallet.js as these changes were more than obviously correct reorderings. They all look like trivial consequences of reorderings, but I don't know enough to say for sure. Thanks.

Copy link
Contributor

@FUDCo FUDCo left a comment

Choose a reason for hiding this comment

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

This is more betterer. The replacer argument to JSON.stringify has always made me queasy.

@erights erights merged commit 0ef8ef1 into master Jan 20, 2021
@erights erights deleted the canonical-marshal branch January 20, 2021 13:34
@katelynsills
Copy link
Contributor

@michaelfig or @katelynsills , one of you should review the changes to the golden of test-lib-wallet.js as these changes were more than obviously correct reorderings. They all look like trivial consequences of reorderings, but I don't know enough to say for sure. Thanks.

This looks fine to me

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.

3 participants