Skip to content

[evm, sdk, docs]: pass relayer to IApp timeout callbacks#862

Merged
seunlanlege merged 3 commits into
mainfrom
seun/evm-host-updates
May 17, 2026
Merged

[evm, sdk, docs]: pass relayer to IApp timeout callbacks#862
seunlanlege merged 3 commits into
mainfrom
seun/evm-host-updates

Conversation

@seunlanlege

@seunlanlege seunlanlege commented May 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds PostRequestTimeout and GetRequestTimeout structs to IApp.sol, each wrapping the original request with the address of the relayer that submitted the timeout proof.
  • Updates IApp.onPostRequestTimeout / onGetTimeout (and the HyperApp defaults) to take these structs, mirroring the existing IncomingPostRequest / IncomingGetResponse pattern.
  • Updates IHost.dispatchTimeOut (both overloads) to take the new struct directly; HandlerV2 now builds the struct with _msgSender() (the timeout-submitting relayer) at the call site.
  • Updates downstream implementations (HyperFungibleToken, WrappedHyperFungibleToken, HyperbridgeLzEndpoint, TestDispatcher), foundry tests, regenerated rust + TS ABIs, and developer docs.

Test plan

  • forge test (non-fork): 255/255 pass
  • cargo build -p ismp-abi: builds clean
  • Regenerated TS ABIs parse as valid JS
  • Verify SDK consumers in this monorepo still build
  • Verify fork tests pass in CI

@seunlanlege seunlanlege marked this pull request as ready for review May 17, 2026 11:15
@seunlanlege seunlanlege changed the title [evm, sdk, docs]: pass relayer to HyperApp timeout callbacks [evm, sdk, docs]: pass relayer to IApp timeout callbacks May 17, 2026
@seunlanlege seunlanlege merged commit 69d2b16 into main May 17, 2026
5 checks passed
@seunlanlege seunlanlege deleted the seun/evm-host-updates branch May 17, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants