Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Always validate order signatures #2246

Merged
merged 3 commits into from
Oct 8, 2019
Merged

Conversation

abandeali1
Copy link
Member

@abandeali1 abandeali1 commented Oct 5, 2019

Description

Testing instructions

Types of changes

Checklist:

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

Affects 0xProject/ZEIPs/issues/33

@abandeali1 abandeali1 requested a review from hysz as a code owner October 5, 2019 01:27
@coveralls
Copy link

coveralls commented Oct 5, 2019

Coverage Status

Coverage remained the same at 75.286% when pulling 8b695f9 on fix/3.0/always-validate-signatures into d3dcf7f on 3.0.

Copy link
Contributor

@dorothy-zbornak dorothy-zbornak left a comment

Choose a reason for hiding this comment

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

👀 👍

@@ -230,7 +230,7 @@ blockchainTests.resets('Exchange core', () => {
signedOrder = await orderFactory.newSignedOrderAsync();
});

describe('repeatable signature types', () => {
describe('signature types', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
describe('signature types', () => {
describe('callback signature types', () => {

/// @param signature The signature for `hash`.
/// @return needsRegularValidation True if the signature should be validated
/// for every action.
function _doesSignatureRequireRegularValidation(
Copy link
Contributor

Choose a reason for hiding this comment

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

⚰️

Copy link
Contributor

@jalextowle jalextowle 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 to me. Nice RIP!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants