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(relayer): header sync check before processing messages #441

Merged
merged 6 commits into from
Dec 15, 2022
Merged

Conversation

cyberhorsey
Copy link
Contributor

closes #422

@codecov
Copy link

codecov bot commented Dec 14, 2022

Codecov Report

Merging #441 (b5bd3ba) into main (a81a052) will increase coverage by 0.00%.
The diff coverage is 75.34%.

@@           Coverage Diff           @@
##             main     #441   +/-   ##
=======================================
  Coverage   65.42%   65.43%           
=======================================
  Files          99      100    +1     
  Lines        2661     2699   +38     
  Branches      313      313           
=======================================
+ Hits         1741     1766   +25     
- Misses        850      861   +11     
- Partials       70       72    +2     
Flag Coverage Δ *Carryforward flag
bridge-ui 100.00% <ø> (ø) Carriedforward from 89e417d
protocol 58.25% <ø> (ø) Carriedforward from 89e417d
relayer 69.03% <75.34%> (-0.12%) ⬇️
ui 100.00% <ø> (ø) Carriedforward from 89e417d

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
packages/relayer/message/process_message.go 62.92% <25.00%> (+1.12%) ⬆️
packages/relayer/indexer/subscribe.go 79.16% <50.00%> (-3.60%) ⬇️
packages/relayer/message/wait_header_synced.go 60.00% <60.00%> (ø)
packages/relayer/cli/cli.go 62.44% <100.00%> (+0.94%) ⬆️
packages/relayer/indexer/service.go 75.53% <100.00%> (+0.26%) ⬆️
packages/relayer/message/processor.go 100.00% <100.00%> (ø)
packages/relayer/message/wait_for_confirmations.go 80.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cyberhorsey cyberhorsey merged commit e9fda8b into main Dec 15, 2022
@cyberhorsey cyberhorsey deleted the delay branch December 15, 2022 04:40
@gitpoap-bot
Copy link

gitpoap-bot bot commented Dec 15, 2022

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2022 Taiko Contributor:

GitPOAP: 2022 Taiko Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@github-actions github-actions bot mentioned this pull request Jan 18, 2023
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.

feat(relayer): wait until HeaderSynced height is emitted for L2 to L1 message processing
3 participants