Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Implement Bridge Module #3703

Closed
wants to merge 13 commits into from
Closed

Implement Bridge Module #3703

wants to merge 13 commits into from

Commits on Jan 10, 2020

  1. Configuration menu
    Copy the full SHA
    26995ef View commit details
    Browse the repository at this point in the history
  2. Add more skeleton code

    HCastano committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    bdc3b01 View commit details
    Browse the repository at this point in the history
  3. Clean up some warnings

    HCastano committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    38443a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    001c74c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3cf6482 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a7013e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bce6d80 View commit details
    Browse the repository at this point in the history
  8. Make tests work after the changes introduced in #3793 (#3874)

    * Make tests work after the changes introduced in #3793
    
    * Remove unneccessary import
    HCastano committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    31b0921 View commit details
    Browse the repository at this point in the history
  9. Check given Grandpa validator set against set found in storage (#3915)

    * Make StorageProofChecker happy
    
    * Update some tests
    
    * Check given validator set against set found in storage
    
    * Use Finality Grandpa's Authority Id and Weight
    
    * Add better error handling
    
    * Use error type from decl_error! macro
    HCastano committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    dbe8573 View commit details
    Browse the repository at this point in the history
  10. Verify Ancestry between Headers (#3963)

    * Create module for checking ancestry proofs
    
    * Use Vec of Headers instead of a HashMap
    
    * Move the ancestry verification into the lib.rs file
    
    * Change the proof format to exclude `child` and `ancestor` headers
    
    * Add a testing function for building header chains
    
    * Rename AncestorNotFound error to InvalidAncestryProof
    
    * Use ancestor hash instead of header when verifying ancestry
    
    * Clean up some stuff missed in the merge
    HCastano committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    8fc8911 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ab54e83 View commit details
    Browse the repository at this point in the history
  12. Move Bridge Pallet into FRAME (#4373)

    * Move `bridge` crate into `frame` folder
    
    * Make `bridge` pallet compile after `the-big-reorg`
    HCastano committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    2064106 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. Update bridge pallet to work with the (almost) lastest master (#4672)

    * Update decl_error usage
    
    * WIP: Update error handling to use DispatchResult
    
    * Get module compiling with new error handling
    
    * Make tests compile again
    
    Main change was updating the usage of InMemoryBackend
    
    * Move `sp-state-machine` into dev-dependencies
    
    * Bump dependencies to v2.0.0
    
    * Remove some stray comments
    
    * Appy code review suggestion
    HCastano committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    1131ecf View commit details
    Browse the repository at this point in the history