Skip to content
  1. Apr 10, 2024
    • Hernando Castano's avatar
      Use GrandpaJustification instead of Vec<u8> in Pallet API (#847) · 67cdca8a
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      * Stop passing raw encoded justifications to pallet API
      
      By having the API accept a struct-ified justification we are able to
      better utilize the justifications fields for weight calculations.
      
      * Update relayer code to use decoded justifications
      
      * Add justification to `expect()` statement
      
      * Fix some imports
      
      * Make justification wrapper contain decoded justification
      
      * Rename some fields
      
      * Get rid of warnings
      
      * Appease Clippy
      
      * Only decode justification once at init time
      
      * Remove unnecessary method
      
      * Remove justification wrapper
      
      This became kinda unnecessary since we could implement the FinalityProof
      trait on GrandpaJustification directly.
      67cdca8a
    • Tomasz Drwięga's avatar
      Make relay CLI generic (#849) · 904b9f4d
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      * Start generalizing rialto-millau commands.
      
      * cargo fmt --all
      
      * Introduce generic balance.
      
      * Unify message payloads.
      
      * cargo fmt --all
      
      * init - generic
      
      * Attempt to unify send message.
      
      * Start moving things around.
      
      * cargo fmt --all
      
      * Move init-bridge.
      
      * cargo fmt --all
      
      * Improve UX of bridge argument.
      
      * Fix clippy.
      
      * Fix docs and scripts.
      
      * Add docs.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * Fix copyright.
      
      * Add issue numbers.
      
      * More todos.
      
      * Update comments.
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      904b9f4d
    • Svyatoslav Nikolsky's avatar
      on-demand headers relay (#833) · 4e4e9a8e
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      * on-demand headers relay
      
      * bool::then
      
      * move file
      
      * atomic submit_signed_extrinsic
      
      * remove cli options from future
      
      * test on-demand relay
      
      * TODOs
      
      * fixed initialization call for Westend -> Millau
      
      * Update relays/client-substrate/src/client.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * removed on_demand_headers_relay.rs
      
      * on_demand_headers_relay traces
      
      * fix compilation
      
      * fmt
      
      * docs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      4e4e9a8e
    • Tomasz Drwięga's avatar
      Flatten back the structure (#837) · acb872fb
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      * Remove chains.
      
      * Move relay clients.
      
      * Flatten generic.
      
      * Fix fmt.
      acb872fb