Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error handling to Warp #1068

Merged
merged 5 commits into from
Jan 29, 2024
Merged

Add error handling to Warp #1068

merged 5 commits into from
Jan 29, 2024

Conversation

minghinmatthewlam
Copy link

Why this should be merged

Additional warp error handling

How this works

  • When initializing warp off chain messages, we check whether the SourceChainID and NetworkID are correct.
  • For signature requests through AppRequest if the node does not have the Warp message, it'll return an empty signature without an error, and ends up with log message saying failed to decompress signature, which is misleading implying getting the signature was okay and that the node did find the Warp message.

How this was tested

n/a

How is this documented

n/a

warp/backend.go Outdated Show resolved Hide resolved
warp/backend.go Outdated Show resolved Hide resolved
minghinmatthewlam and others added 2 commits January 25, 2024 13:37
Co-authored-by: Ceyhun Onur <[email protected]>
Signed-off-by: minghinmatthewlam <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
Signed-off-by: minghinmatthewlam <[email protected]>
@ceyonur ceyonur enabled auto-merge (squash) January 29, 2024 10:13
@ceyonur ceyonur merged commit a8c7424 into master Jan 29, 2024
10 checks passed
@ceyonur ceyonur deleted the warp-errors branch January 29, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants