Skip to content

Add Gloas protobuf definitions with spec tests#15601

Merged
terencechain merged 8 commits intodevelopfrom
add-gloas-protobufs
Nov 5, 2025
Merged

Add Gloas protobuf definitions with spec tests#15601
terencechain merged 8 commits intodevelopfrom
add-gloas-protobufs

Conversation

@terencechain
Copy link
Copy Markdown
Collaborator

@terencechain terencechain commented Aug 18, 2025

This PR introduces gloas protobuf support and also depends on recent changes in fastssz and go-bitfield, which reviewers should be aware of:

@terencechain terencechain force-pushed the add-gloas-protobufs branch 2 times, most recently from 023e79d to 82d2cd8 Compare August 19, 2025 20:16
@terencechain terencechain force-pushed the add-gloas-protobufs branch 3 times, most recently from ec109f8 to 8d3d54b Compare August 31, 2025 03:16
@terencechain terencechain force-pushed the add-gloas-protobufs branch 10 times, most recently from c407a71 to 07fd5f9 Compare September 20, 2025 02:51
@terencechain terencechain marked this pull request as ready for review September 24, 2025 18:52
@terencechain terencechain force-pushed the add-gloas-protobufs branch 6 times, most recently from 4821bb4 to d0d04a7 Compare September 25, 2025 23:11
@terencechain terencechain force-pushed the add-gloas-protobufs branch 2 times, most recently from 7ad2960 to ffa57b7 Compare October 9, 2025 20:46
potuz
potuz previously approved these changes Nov 3, 2025
"@com_github_golang_protobuf//proto:go_default_library",
"@com_github_pkg_errors//:go_default_library",
"@com_github_offchainlabs_go_bitfield//:go_default_library",
"@com_github_prysmaticlabs_go_bitfield//:go_default_library", # keep
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
"@com_github_prysmaticlabs_go_bitfield//:go_default_library", # keep

Isn't this problematic to have two bitfield libraries?

Comment thread proto/prysm/v1alpha1/BUILD.bazel Outdated
Comment on lines 354 to 355
"@com_github_offchainlabs_go_bitfield//:go_default_library",
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
"@com_github_offchainlabs_go_bitfield//:go_default_library",
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
"@com_github_offchainlabs_go_bitfield//:go_default_library",

Same here, seems problematic to have two bitfield deps?

Comment thread deps.bzl Outdated
Comment thread proto/ssz_proto_library.bzl Outdated
"kzg_commitments_inclusion_proof_depth.size": "4",
"proposer_lookahead_size": "64", # (MIN_SEED_LOOKAHEAD + 1) * SLOTS_PER_EPOCH
"ptc.size": "64", # Gloas: Payload Timeliness Committee aggregation bits (PTC_SIZE = 512)
"ptc.type": "github.com/prysmaticlabs/go-bitfield.Bitvector512",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why is this one prysmaticlabs/go-bitfield, but the minimal one is offchainlabs/go-bitfield?

Comment thread deps.bzl Outdated
Comment thread deps.bzl Outdated
Comment thread deps.bzl Outdated
terencechain and others added 2 commits November 3, 2025 16:55
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
@terencechain terencechain added this pull request to the merge queue Nov 5, 2025
Merged via the queue into develop with commit d945b1d Nov 5, 2025
17 checks passed
@terencechain terencechain deleted the add-gloas-protobufs branch November 5, 2025 14:02
nalepae pushed a commit that referenced this pull request Nov 5, 2025
* Add Gloas protobuf definitions with spec tests

* Potuz's feedback

* Update comment

* Update final commits for fastssz and go-bitfield

* Sync with develop offchain labs go bitfield changes

* Update deps.bzl

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* Update deps.bzl

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* Gazelle fix build

---------

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
Muzry pushed a commit to Muzry/prysm that referenced this pull request Nov 14, 2025
* Add Gloas protobuf definitions with spec tests

* Potuz's feedback

* Update comment

* Update final commits for fastssz and go-bitfield

* Sync with develop offchain labs go bitfield changes

* Update deps.bzl

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* Update deps.bzl

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* Gazelle fix build

---------

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
@github-project-automation github-project-automation Bot moved this to Done in Gloas Feb 11, 2026
@terencechain terencechain assigned terencechain and unassigned potuz Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants