polytope-labs / hyperbridge

Hyperbridge is a hyper-scalable coprocessor for cryptographically secure, cross-chain interoperability
https://docs.hyperbridge.network/
Apache License 2.0
91 stars 30 forks source link

Ismp Parachain should identify parachains with 6s slots #223

Open seunlanlege opened 1 month ago

seunlanlege commented 1 month ago

We currently hard code the expected slot duration for parachains which is used to calculate it's current timestamp. For parachains with async backing (like hyperbridge), this slot duration will instead be 6s. We should add some metadata about parachains which tell the ismp parachain consensus client what slot number that the parachain currently uses. This should be configured when the parachain is added to the pallet.

MrishoLukamba commented 4 days ago

I do think, hyperbridge should only focus 6s slot time parachains. As the end of the day all parachains will upgrade