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: track deposit witnesses and egress confirmations [WEB-715] #4370

Merged
merged 8 commits into from
Jan 8, 2024

Conversation

acdibble
Copy link
Contributor

@acdibble acdibble commented Dec 22, 2023

Pull Request

Closes: WEB-715

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

I've gone for a very verbose implementation that exhaustively checks all pallets are handled so we don't get any nasty surprises when later we add more chains. I'm open to different implementations in that regard, but it's the main motivation behind the massive match expression.

image

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a73e35a) 72% compared to head (2184386) 71%.

Files Patch % Lines
state-chain/chains/src/evm.rs 0% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #4370    +/-   ##
======================================
- Coverage     72%     71%    -0%     
======================================
  Files        394     394            
  Lines      67055   66904   -151     
  Branches   67055   66904   -151     
======================================
- Hits       48003   47782   -221     
- Misses     16620   16688    +68     
- Partials    2432    2434     +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acdibble acdibble changed the title feat: track deposit witnesses feat: track deposit witnesses and egress confirmations Dec 22, 2023
@acdibble acdibble changed the title feat: track deposit witnesses and egress confirmations feat: track deposit witnesses and egress confirmations [WEB-715] Dec 22, 2023
@AlastairHolmes
Copy link
Contributor

AlastairHolmes commented Dec 22, 2023

Just saw this. Ill take a look first thing on Wednesday.

@kylezs kylezs self-requested a review January 2, 2024 12:25
@acdibble acdibble force-pushed the feat/track-deposit-witnesses branch from bbb7aab to 206857d Compare January 8, 2024 09:50
@acdibble acdibble merged commit b845e92 into main Jan 8, 2024
43 checks passed
@acdibble acdibble deleted the feat/track-deposit-witnesses branch January 8, 2024 11:53
syan095 added a commit that referenced this pull request Jan 8, 2024
…-timeout

* origin/main:
  fix: cargo fmt (#4392)
  Chore/pick 1.1 fixes (#4390)
  refactor: code cleaniness (#4389)
  feat: track deposit witnesses and egress confirmations [WEB-715] (#4370)
  fix: ensure api lib version is bumped (#4387)
  chore: add reason to DepositIgnored event (#4385)
  chore: warn on attempt 0 in retrier (#4383)
  chore: log_or_panic prepends its name (#4384)
  chore: fix log message formatting (#4380)
  feat: order_fills rpc (PRO-1044) (#4376)

# Conflicts:
#	state-chain/pallets/cf-broadcast/src/lib.rs
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