Skip to content
Snippets Groups Projects
  • Branislav Kontur's avatar
    Bridges lane id agnostic for backwards compatibility (#5649) · 710e74dd
    Branislav Kontur authored
    
    This PR primarily fixes the issue with
    `zombienet-bridges-0001-asset-transfer-works` (see:
    https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7404903).
    
    The PR looks large, but most of the changes involve splitting `LaneId`
    into `LegacyLaneId` and `HashedLaneId`. All pallets now use `LaneId` as
    a generic parameter.
    
    The actual bridging pallets are now backward compatible and work with
    actual **substrate-relay v1.6.10**, which does not even known anything
    about permissionless lanes or the new pallet changes.
    
    
    
    ## Important
    
    - [x] added migration for `pallet_bridge_relayers` and
    `RewardsAccountParams` change order of params, which generates different
    accounts
    
    ## Deployment follow ups
    - [ ] fix monitoring for
    `at_{}_relay_{}_reward_for_msgs_from_{}_on_lane_{}`
    - [ ] check sovereign reward accounts - because of changed
    `RewardsAccountParams`
    - [ ] deploy another messages instances for permissionless lanes - on
    BHs or AHs?
    - [ ] return back `open_and_close_bridge_works` for another
    `pallet-bridge-messages` instance
    
    ---------
    
    Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: default avatarAdrian Catangiu <adrian@parity.io>
    Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Unverified
    710e74dd
Code owners
Assign users and groups as approvers for specific file changes. Learn more.