paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.91k stars 704 forks source link

Removes constraint in `BlockNumberProvider` from treasury #6522

Closed gupnik closed 1 day ago

gupnik commented 4 days ago

https://github.com/paritytech/polkadot-sdk/pull/3970 updated the treasury pallet to support relay chain block number provider. However, it added a constraint to the BlockNumberProvider to have the same block number type as frame_system:

type BlockNumberProvider: BlockNumberProvider<BlockNumber = BlockNumberFor<Self>>;

This PR removes that constraint as suggested by @gui1117

paritytech-workflow-stopper[bot] commented 2 days ago

All GitHub workflows were cancelled due to failure one of the required jobs. Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/11930011112 Failed job name: test-linux-stable