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

Expose a new Slot() method on Block and Attestation to avoid calculating the ID just go get the slot. #715

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

alexsporn
Copy link
Member

Also added a new IDWithBlockIdentifier so we don’t encode the block if we already have the bytes available elsewhere

…ing the ID just go get the slot.

Also added a new IDWithBlockIdentifier so we don’t encode the block if we already have the bytes available elsewhere
@muXxer muXxer merged commit 845f859 into develop Mar 22, 2024
4 checks passed
@muXxer muXxer deleted the feat/remove-redundant-encode branch March 22, 2024 11:12
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