Skip to content
  1. Feb 16, 2021
  2. Feb 12, 2021
  3. Feb 10, 2021
    • Hernando Castano's avatar
      Stop Importing Full Header Chain (#707) · aa7b797d
      Hernando Castano authored
      * Make AncestryProof type more flexible
      
      * Only import single finalized header instead of a chain
      
      * Fix unchecked header import tests
      
      * Add option for limiting ancestry proof size
      
      * Update finality verifier Config in runtimes
      
      * Update some documentation
      
      * Fix Clippy warning
      
      * Allow AncestryChecker to return proof size
      
      Stops us from abusing the `Size` trait
      
      * Remove Size impl for Vec<T>
      
      * Remove size contraints for ancestry proofs
      
      With different proof types its unclear how to "size" should be interpreted,
      so we remove this requirement all together to avoid confusion.
      aa7b797d
  4. Feb 04, 2021
  5. Feb 03, 2021
    • Hernando Castano's avatar
      Wire Finality Verifier Pallet Into Runtimes (#696) · 43336fb8
      Hernando Castano authored
      * Add Finality Verifier pallet to runtimes
      
      * Implement simple ancestry checker
      
      * Use the new checker in runtimes
      
      * Remove unused import warning
      
      * Bump max allowed ancestry proof size
      
      * Add a few optimization suggestions when verifying ancestry
      
      * Use session length as upper bound for ancestry proof size
      
      * Remove unused time units
      43336fb8
  6. Feb 02, 2021
  7. Jan 27, 2021
    • Hernando Castano's avatar
      Add Unchecked Header Writes to Bridge Pallet (#672) · 0b1bb2aa
      Hernando Castano authored
      
      
      * Add method for unchecked header imports
      
      * Update docs for importing unchecked headers
      
      * Import unchecked headers in HeaderChain implementation
      
      * Fix Clippy warnings
      
      * Move unchecked header import out of Verifier struct
      
      * Clean up unchecked import tests
      
      * Change HeaderChain API to accept iterator of headers
      
      * Use chains of headers in tests
      
      * Remove unused Result return type when appending finalized headers
      
      * Add test which shows that genesis changes are not enacted
      
      * Use initial header's hash for unchecked authority set changes
      
      * Appease Clippy
      
      * Check ancestry before making unchecked writes
      
      * Fix typo
      
      * Fix Clippy warning
      
      * Add note about `ancestry_proof` structure
      
      * Use best hash storage item directly
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      0b1bb2aa
  8. Jan 22, 2021
  9. Jan 21, 2021
    • Hernando Castano's avatar
      Finality Verifier Pallet (#629) · 6b46db8e
      Hernando Castano authored
      * Add skeleton for `pallet-finality-verifier`
      
      * Sketch out implementation for importing finality proofs
      
      * Get pallet compiling
      
      * Introduce skeleton for mock runtime
      
      * Start using real Grandpa types in finality pallet
      
      * Redefine types in header chain primitives crate
      
      * Implement HeaderChain for Substrate bridge pallet
      
      * Plug Substrate Bridge Pallet into verifier mock
      
      * Fix compilation of `header-chain` primitives
      
      * Start writing to base pallet storage
      
      * Add first "cross-pallet" test
      
      * Move keyring primitives used in tests to shared crate
      
      * Stop pulling `std` deps into `no_std` builds
      
      * Revert "Stop pulling `std` deps into `no_std` builds"
      
      This reverts commit f74dd660.
      
      * Revert "Move keyring primitives used in tests to shared crate"
      
      This reverts commit b774fa73.
      
      * Use new SS58Prefix type in mock
      
      * Start using `bp-test-utils` in finality pallet
      
      * Start using real justification code
      
      * Get a test working with real justification verification
      
      * Add basic tests for invalid proofs
      
      * Get rid of AncestryProof config type
      
      * Add error types to transaction outcome
      
      * Bound number of headers allowed in a single ancestry proof
      
      * Disallow invalid authority sets
      
      * Remove unused items
      
      * Add some documentation
      
      * Get rid of Clippy warnings
      
      * Rename BaseHeaderChain to TransactionVerifier
      
      * Remove unused code
      
      * Make dummy trait implementations more generic
      
      * Fix more Clippy complaints
      
      * Update tests to use fix for duplicate headers
      
      * Fix benchmarking compilation
      
      * Rename TransactionVerifier to InclusionProofVerifier
      6b46db8e