paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.8k stars 652 forks source link

revive: Get rid of no longer needed trait bound #5696

Closed athei closed 2 weeks ago

athei commented 2 weeks ago

This was necessary when we needed to compact encode a Option<T::Balance> which is no longer necessary. The storage deposit limit is now non optional. This is just a left over.

Also got rid of the T::Hash: IsType<H256>. We use keccak256 instead of the generic hash function everywhere now.