-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disputes: attestation update to latest format (#188)
* disputes: - update the attestation format to match the one sent by index node - add an attestation parser - set graph protocol to zero in domain separator hash - emit the signed attestation instead of the bare one * disputes: - remove BytesLib dependency and use Solidity 0.6 array slice - remove ECDSA-openzeppelin dependency for ecrecover() - refactor Attestation struct to follow RFC - change language around attestation and receipts - ignore linting of the DisputeManager till support for array slices is added * disputes: use receipt instead of attestation according to the RFC * disputes: reorder attestation struct attributes to match RFC and signature sent by clients * disputes: refactor signature parsing and update client library to send signatures * disputes: create dispute ID by hashing receipt + indexer address
- Loading branch information
Showing
8 changed files
with
350 additions
and
261 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
contracts/DisputeManager.sol |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
node_modules | ||
contracts/Staking.sol | ||
contracts/Migrations.sol | ||
contracts/DisputeManager.sol | ||
contracts/bancor | ||
contracts/openzeppelin | ||
contracts/MultiSigWallet.sol |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.