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: correct ICE panic messages in brillig convert_black_box_call #4761

Merged
merged 1 commit into from
Apr 9, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ pub(crate) fn convert_black_box_call(
});
} else {
unreachable!(
"ICE: EmbeddedCurveAdd expects two register arguments and one array result"
"ICE: BigIntAdd expects two register arguments and one result register"
)
}
}
Expand All @@ -263,7 +263,7 @@ pub(crate) fn convert_black_box_call(
});
} else {
unreachable!(
"ICE: EmbeddedCurveAdd expects two register arguments and one array result"
"ICE: BigIntSub expects two register arguments and one result register"
)
}
}
Expand All @@ -280,7 +280,7 @@ pub(crate) fn convert_black_box_call(
});
} else {
unreachable!(
"ICE: EmbeddedCurveAdd expects two register arguments and one array result"
"ICE: BigIntMul expects two register arguments and one result register"
)
}
}
Expand All @@ -297,7 +297,7 @@ pub(crate) fn convert_black_box_call(
});
} else {
unreachable!(
"ICE: EmbeddedCurveAdd expects two register arguments and one array result"
"ICE: BigIntDiv expects two register arguments and one result register"
)
}
}
Expand All @@ -314,7 +314,7 @@ pub(crate) fn convert_black_box_call(
});
} else {
unreachable!(
"ICE: EmbeddedCurveAdd expects two register arguments and one array result"
"ICE: BigIntFromLeBytes expects two register arguments and one result register"
)
}
}
Expand All @@ -330,7 +330,7 @@ pub(crate) fn convert_black_box_call(
});
} else {
unreachable!(
"ICE: EmbeddedCurveAdd expects two register arguments and one array result"
"ICE: BigIntToLeBytes expects one register argument and one array result"
)
}
}
Expand Down
Loading