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

Fix typos #10444

Merged
merged 4 commits into from Apr 6, 2023
Merged

Fix typos #10444

merged 4 commits into from Apr 6, 2023

Conversation

yahiheb
Copy link
Collaborator

@yahiheb yahiheb commented Apr 4, 2023

This PR fixes some typos, adds some words to exclusion.dic be excluded from Spell Checker, and renames some variables.

There are more typos that could be fixed but I would prefer to do that in follow up PRs.

@@ -33,7 +33,7 @@ public enum WabiSabiProtocolErrorCode
DeltaNotZero,
WrongNumberOfCreds,
CryptoException,
AliceAlreadySignalled,
AliceAlreadySignaled,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is this change correct?

Copy link
Collaborator

Choose a reason for hiding this comment

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

So I think we serialize enums to numbers and as such the change would be safe. I think that @lontivero would know for sure because he has been working with JSON serializers a lot lately.

Another concern is that BTCPAY and Trezor might depend on this name but it should be a simple change on their side too.

So I'm not sure.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would be very hesitant about this change.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert this, might breaks the compatibility.

@pull-request-size pull-request-size bot added size/M and removed size/S labels Apr 4, 2023
@pull-request-size pull-request-size bot added size/L and removed size/M labels Apr 5, 2023
@yahiheb yahiheb marked this pull request as ready for review April 5, 2023 00:15
@kiminuo
Copy link
Collaborator

kiminuo commented Apr 5, 2023

LGTM apart that one comment.

MarnixCroes
MarnixCroes previously approved these changes Apr 5, 2023
Copy link
Collaborator

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

tACK

adamPetho
adamPetho previously approved these changes Apr 5, 2023
Copy link
Collaborator

@adamPetho adamPetho left a comment

Choose a reason for hiding this comment

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

Apart from the change in WabiSabiProtocolErrorCode.cs, everything else looks good.

@yahiheb yahiheb requested a review from molnard April 5, 2023 13:27
Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -33,7 +33,7 @@ public enum WabiSabiProtocolErrorCode
DeltaNotZero,
WrongNumberOfCreds,
CryptoException,
AliceAlreadySignalled,
AliceAlreadySignaled,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert this, might breaks the compatibility.

Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

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

NACK until the revert.

@yahiheb yahiheb dismissed stale reviews from adamPetho and MarnixCroes via 70124f6 April 6, 2023 00:19
@yahiheb
Copy link
Collaborator Author

yahiheb commented Apr 6, 2023

NACK until the revert.

Reverted.

@yahiheb yahiheb requested a review from molnard April 6, 2023 00:20
@molnard molnard merged commit 7375758 into zkSNACKs:master Apr 6, 2023
6 of 7 checks passed
@yahiheb yahiheb deleted the typos-exclusion-dic branch April 6, 2023 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants