Closed abi87 closed 2 days ago
[!CAUTION]
Review failed
The pull request is closed.
The pull request introduces significant updates to multiple go.mod
files across various modules in the github.com/berachain/beacon-kit
repository. These changes primarily focus on dependency management, including updates to versions for various packages, the addition of new dependencies, and modifications to existing dependencies. Additionally, several method signatures in the codebase have been altered to enhance size calculation mechanisms related to SSZ (Simple Serialize) encoding, improving how data structures are marshaled and their sizes computed.
File Path | Change Summary |
---|---|
beacond/go.mod |
Updated dependencies including github.com/karalabe/ssz , github.com/berachain/beacon-kit/mod/config , and various google.golang.org/genproto packages. |
build/tools/go.mod |
Replaced honnef.co/go/tools with github.com/dominikh/go-tools , added github.com/alecthomas/assert/v2 , and updated google.golang.org/genproto/googleapis/api . |
examples/berad/go.mod |
Updated cosmossdk.io packages and added new indirect dependencies related to the Cosmos SDK. |
examples/berad/pkg/consensus-types/state.go |
Updated SizeSSZ and MarshalSSZ methods to include *ssz.Sizer parameter for size calculations. |
examples/berad/pkg/consensus-types/validator.go |
Updated SizeSSZ and MarshalSSZ methods to utilize *ssz.Sizer for size calculations. |
examples/berad/pkg/state-transition/state_processor_payload.go |
Simplified ToHeader method call in processExecutionPayload . |
mod/beacon/go.mod |
Added replace directive for google.golang.org/genproto , updated multiple dependencies including github.com/berachain/beacon-kit/mod/config , and added several new indirect dependencies. |
mod/cli/go.mod |
Updated github.com/berachain/beacon-kit/mod/config and removed github.com/berachain/beacon-kit/mod/consensus . |
mod/consensus-types/pkg/types/*.go |
Multiple updates to SizeSSZ and MarshalSSZ methods across various structs to include *ssz.Sizer , enhancing SSZ encoding capabilities. |
mod/engine-primitives/pkg/engine-primitives/*.go |
Updated SizeSSZ methods for Withdrawal , Withdrawals , and Transactions to accept *ssz.Sizer , indicating a shift in how sizes are calculated. |
mod/node-core/go.mod |
Updated github.com/berachain/beacon-kit/mod/config and other dependencies. |
mod/state-transition/go.mod |
Updated github.com/berachain/beacon-kit/mod/config and added new dependency github.com/berachain/beacon-kit/mod/log . |
mod/storage/go.mod |
Updated github.com/berachain/beacon-kit/mod/config and other dependencies. |
testing/go.mod |
Updated github.com/goccy/go-yaml and google.golang.org/genproto/googleapis/api versions. |
sequenceDiagram
participant User
participant StateProcessor
participant Payload
participant Header
User->>StateProcessor: processExecutionPayload()
StateProcessor->>Payload: Validate and set header
Payload->>Header: ToHeader()
Header-->>StateProcessor: Return header
StateProcessor-->>User: Execution payload processed
Merge me daddy
🐇 In the meadow, changes bloom,
Dependencies updated, clearing the gloom.
With SSZ's size, we hop and play,
Marshaling data in a new way.
Hooray for code, so fresh and bright,
Let's merge this PR, it feels just right! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 67.50000%
with 26 lines
in your changes missing coverage. Please review.
Project coverage is 26.28%. Comparing base (
240f617
) to head (a3ee7ca
). Report is 1 commits behind head on main.
We need to clean up one of the ssz dependencies. This PR achieve this as follow:
[]byte
among extension, which is broken. Dropped that but kept blobs extension. See https://github.com/berachain/karalabe-ssz/releases/tag/v0.2.0-alpha.9Summary by CodeRabbit
New Features
ToHeader
in theExecutionPayload
interface, removing unnecessary parameters.ssz.Sizer
, improving flexibility in serialization.Bug Fixes
Dependency Updates
Documentation