-
Notifications
You must be signed in to change notification settings - Fork 84
WEB3-433: fix: Add configID verification to SteelVerifier #561
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
crates/steel/src/host/mod.rs
Outdated
@@ -156,6 +156,15 @@ pub struct HostCommit<C> { | |||
config_id: B256, | |||
} | |||
|
|||
impl<C> HostCommit<C> { | |||
/// Returns the config ID. | |||
#[allow(dead_code)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this #[allow(dead_code)]
here? If this is only used under some configurations, then we could use #[cfg(feature = "host")]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 21ff9c5
No description provided.