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

feat(protocol): fix signal service multi-hop proof verification bugs #15680

Merged
merged 98 commits into from
Feb 10, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Feb 8, 2024

There are two bugs:

  1. We should not allow users to specify the crossChainSync address, it should always be the "taiko" address on the curernt chain.
  2. We should check that each hop relay -- the middleman contract that sends stateRoot as a signal to its local signal service. Previously this address is not verified correctly using the AuthorizableContract contract. Now we removed AuthorizableContract and introduce a HopRelayRegistry to verify hop relays explicitly. Note that if the signal service disabled multi-hop bridging, the HopRelayRegistry is not needed.

@dantaik dantaik changed the title feat(protocol)!: fix signal service proof verification bugs feat(protocol)!: fix signal service multi-hop proof verification bugs Feb 9, 2024
@dantaik dantaik changed the title feat(protocol)!: fix signal service multi-hop proof verification bugs feat(protocol)!: fix signal service multi-hop proof verification bugs [wait for base PR to be merged first] Feb 9, 2024
dantaik and others added 5 commits February 9, 2024 20:27
Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
@d1onys1us d1onys1us changed the title feat(protocol)!: fix signal service multi-hop proof verification bugs [wait for base PR to be merged first] feat(protocol): fix signal service multi-hop proof verification bugs [wait for base PR to be merged first] Feb 9, 2024
@d1onys1us
Copy link
Contributor

approving as merge master. i removed the ! as we wont worry about breaking change for now.

Copy link
Contributor

@Brechtpd Brechtpd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved because I think this correctly links the difference chains, but still with low certainty.

@dantaik
Copy link
Contributor Author

dantaik commented Feb 10, 2024

Approved because I think this correctly links the difference chains, but still with low certainty.

Lets disable multi-hop for now in the code.

Base automatically changed from remove-signal-root to main February 10, 2024 03:19
@dantaik dantaik changed the title feat(protocol): fix signal service multi-hop proof verification bugs [wait for base PR to be merged first] feat(protocol): fix signal service multi-hop proof verification bugs Feb 10, 2024
@dantaik dantaik enabled auto-merge (squash) February 10, 2024 03:35
@dantaik dantaik merged commit b46269c into main Feb 10, 2024
9 of 14 checks passed
@dantaik dantaik deleted the fix-multi-hop-trust-graph-issue branch February 10, 2024 03:35
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.

3 participants