polytope-labs / hyperbridge

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

Update events.rs: Addition of event metadata to PostRequestTimeout #201

Closed ShunkyBoskilitu closed 3 months ago

ShunkyBoskilitu commented 3 months ago

This pull request addresses the need to add event metadata to the PostRequestTimeout event, as requested. The changes include the introduction of a new struct TimeoutMetadata to hold additional metadata specific to the timeout event. Additionally, a new variant PostRequestTimeoutHandled is added to the Event enum to represent the event when a post request timeout is handled. This variant includes the commitment field to identify the request or response and the metadata field to hold the timeout-specific metadata.

seunlanlege commented 3 months ago

Superceded by #202