-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP attestation pallet * Improve checks for attest extrinsic * Give constant weight just to get it to compile (with warning) * Attempt to write mock runtime * Write trivial test to show mock setup works * Clean attestation pallet (#1006) * fmt * Make an attestation in the test * Lockfile * Taplo * Comments * Make quote input constructor generic, rm authorship pallet * Taplo * Add benchmarks * Taplo * Add pallet to chain runtime * Rm unused import * Improve benchmark * Generate weights * Include weights in runtime * Update metadata * Submit the attest extrinsic to test the attestation pallet * Fixes for submitting extrinsic * Update attestation endpoint in preparation for using the propagation pallet to call it * Propagation pallet propagates attestation requests * Decode input from propagation pallet * Add initial attestation requests to genesis config * Add initial attestation requests to chainspec * Pull chain metadata * Make mock attestation request at block 3 * Fix test * Tidy * Update crates/threshold-signature-server/src/attestation/api.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Extra check in attestation pallet benchmarks * Improve error message for unexpected attestation * Use actual weight * Add endpoint to node service * Comments and minor changed following review * Changelog --------- Co-authored-by: JesseAbram <33698952+JesseAbram@users.noreply.github.com> Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
- Loading branch information
1 parent
bba31a3
commit 305c4be
Showing
24 changed files
with
1,121 additions
and
65 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
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
Oops, something went wrong.