centrifuge / centrifuge-chain

Centrifuge Chain: the layer-1 blockchain for real-world assets, built on Substrate.
https://centrifuge.io
GNU Lesser General Public License v3.0
182 stars 81 forks source link

LPv2: Isolate gateway weights #1972

Closed lemunozm closed 2 months ago

lemunozm commented 2 months ago

Description

Small PR to move the weight checks to MessageProcessor.

Like the fact that now only the MessageProcessor trait implementation knows about weights