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

hotfix: Ignore broken batch #923

Merged
merged 4 commits into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,25 @@ async fn receive_batch(
continue;
}

let force_ignore = vec![
"00123b99c044484346788cea00000000",
"001148c4cff8e0fe6f15953a00000000",
"00123b99c044484346788cea00000000",
"0011885f03fb4c4ac4a0c0d000000000",
"0011adcf9e8051ed55eb0dee00000000",
"0012aa221ad51123f638ad6a00000000",
"0011d5cbfa08bedd1ef7e7e900000000",
"0011ace3eaab0926fd8f47d400000000",
"0012f21b417e50c799517c7d00000000",
"0011d065d2795f3a55f741da00000000",
];
if force_ignore.contains(&smpc_request.signup_id.as_str()) {
// This needs to be ignored due to incident-196. Ignore this message
// when calculating the batch size.
msg_counter -= 1;
continue;
}

if let Some(batch_size) = smpc_request.batch_size {
// Updating the batch size instantly makes it a bit unpredictable, since
// if we're already above the new limit, we'll still process the current
Expand Down
Loading