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

impl .cid() method for Vlad #5

Open
DougAnderson444 opened this issue Mar 12, 2025 · 0 comments
Open

impl .cid() method for Vlad #5

DougAnderson444 opened this issue Mar 12, 2025 · 0 comments

Comments

@DougAnderson444
Copy link
Contributor

So we can get the vlad cid from the foot entry vlad/cid but we need a way to ensure it actually matches the one IN the vlad, the entry should be compared to the vlad.

There's no method for this and the field is only pub(crate)

#[derive(Clone, Default, Eq, Ord, PartialEq, PartialOrd)]
pub struct Vlad {
    /// the random nonce for uniqueness
    pub(crate) nonce: Nonce,
    /// validation function content address
    pub(crate) cid: Cid,
}
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

No branches or pull requests

1 participant