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

EIP-02M: Remediate Improper Domain Separator Retrieval #402

Merged
merged 7 commits into from Sep 23, 2022

Conversation

bidyut-arianelabs
Copy link
Contributor

fixes #321

@bidyut-arianelabs bidyut-arianelabs self-assigned this Sep 21, 2022
@bidyut-arianelabs bidyut-arianelabs requested a review from a team September 21, 2022 14:05
Copy link
Contributor

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

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

Suggestion for name/version

@@ -158,6 +158,8 @@ string constant ESCALATION_NOT_ALLOWED = "Disputes without dispute resolver cann
string constant FEE_PERCENTAGE_INVALID = "Percentage representation must be less than 10000";

// EIP712Lib
string constant PROTOCOL_NAME = "BosonProtocolDiamond";
string constant PROTOCOL_VERSION = "V1";
Copy link
Contributor

Choose a reason for hiding this comment

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

We had decided that "V1" made sense as the first version of the BosonProtocolDiamond. But if we're calling it PROTOCOL_VERSION then it's confusing to call it V1 here.

Let's change PROTOCOL_NAME to "Boson Protocol" and PROTOCOL_VERSION to "V2"

This makes more sense in keeping with
Screen Shot 2022-09-21 at 3 26 30 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@bidyut-arianelabs bidyut-arianelabs force-pushed the EIP-02M-improper-domain-separator-retrieval branch from ee4ae73 to 5276bfd Compare September 22, 2022 08:06
@bidyut-arianelabs bidyut-arianelabs requested a review from a team September 22, 2022 08:08
contracts/protocol/libs/EIP712Lib.sol Outdated Show resolved Hide resolved
contracts/protocol/libs/EIP712Lib.sol Outdated Show resolved Hide resolved
contracts/protocol/libs/EIP712Lib.sol Outdated Show resolved Hide resolved
@bidyut-arianelabs bidyut-arianelabs force-pushed the EIP-02M-improper-domain-separator-retrieval branch from 5276bfd to 59cd7dd Compare September 23, 2022 09:37
contracts/protocol/libs/EIP712Lib.sol Outdated Show resolved Hide resolved
contracts/protocol/libs/EIP712Lib.sol Outdated Show resolved Hide resolved
contracts/protocol/libs/EIP712Lib.sol Outdated Show resolved Hide resolved
Copy link
Contributor

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@cliffhall cliffhall merged commit 7629977 into main Sep 23, 2022
@cliffhall cliffhall deleted the EIP-02M-improper-domain-separator-retrieval branch September 23, 2022 13:53
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.

EIP-02M: Improper Domain Separator Retrieval
4 participants