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

Cleanup - reject_callx_r10 #598

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Cleanup - reject_callx_r10 #598

merged 1 commit into from
Sep 26, 2024

Conversation

Lichtso
Copy link

@Lichtso Lichtso commented Sep 26, 2024

No description provided.

@Lichtso Lichtso force-pushed the cleanup/reject_callx_r10 branch 2 times, most recently from b6d0820 to 820e8c7 Compare September 26, 2024 18:03
@Lichtso Lichtso force-pushed the cleanup/reject_callx_r10 branch from 820e8c7 to 1a0a9aa Compare September 26, 2024 18:05
@Lichtso Lichtso requested a review from LucasSte September 26, 2024 18:07
@@ -221,7 +220,7 @@ pub struct RequisiteVerifier {}
impl Verifier for RequisiteVerifier {
/// Check the program against the verifier's rules
#[rustfmt::skip]
fn verify<C: ContextObject>(prog: &[u8], config: &Config, sbpf_version: &SBPFVersion, function_registry: &FunctionRegistry<usize>, syscall_registry: &FunctionRegistry<BuiltinFunction<C>>) -> Result<(), VerifierError> {
fn verify<C: ContextObject>(prog: &[u8], _config: &Config, sbpf_version: &SBPFVersion, function_registry: &FunctionRegistry<usize>, syscall_registry: &FunctionRegistry<BuiltinFunction<C>>) -> Result<(), VerifierError> {

Choose a reason for hiding this comment

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

Perhaps we could remove the unused argument from the trait?

Copy link
Author

Choose a reason for hiding this comment

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

It is likely that there will be more feature flags affecting the verifier in the future. And this would have to be removed / added to the interface on the validator side every time.

@Lichtso Lichtso merged commit 1e3f4b1 into main Sep 26, 2024
12 checks passed
@Lichtso Lichtso deleted the cleanup/reject_callx_r10 branch September 26, 2024 19:36
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