Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Conversation

felix2feng
Copy link
Contributor

  • Moves signature validation into its own library
  • Updates function interface for fillOrder to accept bytes vs. many params

There will be a future PR to update setprotocol.js accordingly.

@felix2feng felix2feng requested review from asoong and bweick November 11, 2018 18:16
@coveralls
Copy link

coveralls commented Nov 11, 2018

Pull Request Test Coverage Report for Build 2747

  • 11 of 11 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 2739: 0.0%
Covered Lines: 577
Relevant Lines: 577

💛 - Coveralls

external
onlyOwner
{
state.signatureValidator = _signatureValidator;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: We've been commenting every line so just for consistency sake (We do an equivalent comment in the constructor).

"SignatureValidator.validateSignature: Signature Length must be 65"
);

uint8 v = uint8(_signature[0]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Comments on this file

@felix2feng felix2feng merged commit 6d5d27a into master Nov 13, 2018
@felix2feng felix2feng deleted the felix/abstract-signature-validation branch November 13, 2018 02:29
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.

3 participants