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

fix: protect against double witnessing after safe mode #4254

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

dandanlen
Copy link
Collaborator

Fixes a minor issue brought up by Zellic

@dandanlen dandanlen marked this pull request as ready for review November 16, 2023 13:45
@dandanlen dandanlen force-pushed the fix/double-witness-protection-safe-mode branch from 0aa5209 to f0ea861 Compare November 16, 2023 13:46
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9e20bc3) 72% compared to head (f0ea861) 72%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4254   +/-   ##
=====================================
  Coverage     72%     72%           
=====================================
  Files        384     384           
  Lines      63571   63618   +47     
  Branches   63571   63618   +47     
=====================================
+ Hits       45482   45522   +40     
- Misses     15749   15753    +4     
- Partials    2340    2343    +3     

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

@kylezs kylezs self-requested a review November 17, 2023 16:02
call,
call_hash,
);
if (last_expired_epoch..=current_epoch)
Copy link
Contributor

Choose a reason for hiding this comment

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

I swear we had this check once before 🤔

@dandanlen dandanlen merged commit 2064111 into main Nov 20, 2023
40 checks passed
@dandanlen dandanlen deleted the fix/double-witness-protection-safe-mode branch November 20, 2023 10:52
tomjohnburton pushed a commit that referenced this pull request Nov 20, 2023
Co-authored-by: dandanlen <3168260+dandanlen@users.noreply.github.com>
Co-authored-by: Alastair Holmes <42404303+AlastairHolmes@users.noreply.github.com>
Co-authored-by: Albert Llimos <53186777+albert-llimos@users.noreply.github.com>
Co-authored-by: Martin Rieke <121793148+martin-chainflip@users.noreply.github.com>
Co-authored-by: Maxim Shishmarev <msgmaxim@gmail.com>
Co-authored-by: Marcello <marcello@chainflip.io>
Co-authored-by: Roy Yang <roy@chainflip.io>
Co-authored-by: kylezs <kyle@chainflip.io>
Co-authored-by: Jamie Ford <jamie@chainflip.io>
fix naming of session keys (#4242)
fix: revert restricted balances (#4237)
fix: add missing spans in multisig logs (#4239)
fix cargo features (#4249)
fix: remove bound addresses on account deletion (#4244)
fix: remove existential deposit (#4243)
fix: egress id race condition (#4235)
fix: remove unwrap when getting tx receipt (#4231)
fix: protect against double witnessing after safe mode (#4254)
fix: runtime upgrade utils and migrations (#4258)
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