polytope-labs / hyperbridge

Hyperbridge is a hyperscalable coprocessor for verifiable, cross-chain interoperability
https://docs.hyperbridge.network/
Apache License 2.0
110 stars 33 forks source link

Decouples consensus metadata from HostParams #221

Closed seunlanlege closed 4 months ago

seunlanlege commented 4 months ago

Just discovered an oversight in the EvmHost which would prevent us from using cross-chain governance to update the params on mainnet.

By making the consensus metadata part of the HostParams everytime we update the params, we set the consensus back to the value that was initially set on the HostExecutive.

This is not the ideal behaviour, this PR decouples the cosnensus metadata from the HostParams to enable updating them freely.