Skip to content

sync committee duties - #284

Open
ninaiiad wants to merge 3 commits into
ng/att-dutiesfrom
ng/sc-duties
Open

ninaiiad wants to merge 3 commits into
ng/att-dutiesfrom
ng/sc-duties

Conversation

@ninaiiad

Copy link
Copy Markdown
Collaborator

Stack created with GitHub Stacks CLIGive Feedback 💬

@ninaiiad
ninaiiad added this pull request to stack #285 September 18, 2026 13:20

fn field(duty: &serde_json::Value, name: &str) -> u64 {
duty[name].as_str().unwrap().parse().unwrap()
answer(ctx, &posting(&format!("/eth/v1/validator/duties/attester/{epoch}"), body))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nice

#[inline]
pub fn unresolved() -> u32 {
UNRESOLVED
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why the function and not make the const public? also this function can be const

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