This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 466
Always validate callback signatures & add support for EIP-1271 signatures #1885
Merged
dorothy-zbornak
merged 34 commits into
3.0
from
feature/3.0/exchange/always-validate-order-signatures
Jul 1, 2019
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
05c6024
Update generated wrappers for coordinator and exchange.
dorothy-zbornak d835071
`@0x/base-contract`: Make `PromiseWithTransactionHash` fully compatib…
dorothy-zbornak 4e86c53
`@0x/contracts-exchange`: Always check `OrderValidator` and `WalletOr…
dorothy-zbornak b1439cd
`@0x/utils`: Add `toStringTag` symbol to `RevertError`
dorothy-zbornak a9e1a26
`@0x/contracts-exchange`: Update changelog
dorothy-zbornak ce6f447
`@0x/order-utils`: Add `validator` field to `SignatureOrderValidatorE…
dorothy-zbornak 18cc4b7
`@0x/contracts-exchange`: Have `TestValidatorWallet` always accept `W…
dorothy-zbornak cad5dd8
`@0x/types`: Rename `WalletOrderValidator` to `OrderWallet` in `Signa…
dorothy-zbornak 89ca1e0
`@0x/order-utils`: Rename `SignatureWalletOrderValidatorError` to `Si…
dorothy-zbornak 577a721
`@0x/contracts-exchange`: Rename `WalletOrderValidator` to `OrderWall…
dorothy-zbornak 81f6265
Run prettier/linter
dorothy-zbornak 56dbaa5
Update changelogs
dorothy-zbornak 0e9d1cf
Rebase against 3.0
dorothy-zbornak d5623cf
`@0x/contracts-utils`: Add LibEIP1271.sol
dorothy-zbornak e3c4442
`@0x/contracts-exchange`: Fix comments in `test/signature_validator.ts`
dorothy-zbornak c6761b2
`@0x/contracts-exchange`: Refactor out `EIP1271_MAGIC_VALUE` into a `…
dorothy-zbornak 6093a73
`@0x/contracts-exchange`: Add comments about preserving signatures in…
dorothy-zbornak 1186820
Fix linter errors
dorothy-zbornak 24b21ed
`@0x/contracts-exchange`: Consolidate signature types.
dorothy-zbornak acdcb1b
`@0x/contracts-exchange`: Fix linearization issues.
dorothy-zbornak c0aa42b
`@0x/types`: Consolidate signature types.
dorothy-zbornak c08a618
`@0x/order-utils`: Remove unused exchange revert errors
dorothy-zbornak 721de3c
`@0x/contracts-exchange`: Add `isValidHashSignature()` back.
dorothy-zbornak 51638fc
`@0x/contracts-exchange`: Remove `isValidOrderSignature()` from `IWal…
dorothy-zbornak 1f28d67
`@0x/contracts-test-utils`: Add `hexConcat()` in `hex_utils.ts`.
dorothy-zbornak 13e0433
`@0x/contracts-exchange`: Update tests for new/consolidated signature…
dorothy-zbornak 3ab8eab
`@0x/contracts-exchange`: Update CHANGELOG
dorothy-zbornak 8e9c185
`@0x/order-utils`: Update CHANGELOG
dorothy-zbornak a099f05
`@0x/contracts-exchange`: Run `contracts:gen`
dorothy-zbornak e7bde04
`@0x/contracts-exchange`: Make `assertValidFill` and `calculateMatche…
dorothy-zbornak a966abd
`@0x/contracts-exchange`: Cosmetic changes to contracts.
dorothy-zbornak c2f4d45
`@0x/contracts-exchange`: Make `assertValidFill()` internal again.
dorothy-zbornak 896cd51
`@0x/contracts-exchange`: REALLY make `assertValidFill()` internal ag…
dorothy-zbornak d85e9c7
`@0x/contracts-exchange`: Use named return values in `MixinSignatureV…
dorothy-zbornak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
@0x/contracts-exchange
: Fix linearization issues.
- Loading branch information
commit acdcb1ba94cac028981a7f4af9a27a78b0507904
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is out of scope for this PR, but I think it could be good to abstract a lot of this logic into a generic library like
libSignatureValidator
that can be used across our packages.