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

feat(ssz): Implement basic generalized index stuff #837

Merged
merged 34 commits into from
Apr 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bet
  • Loading branch information
itsdevbear committed Apr 21, 2024
commit c6c6560de5084e3bcbb61edf358815279c0fbed2
8 changes: 8 additions & 0 deletions mod/runtime/services/builder/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
beacontypes "github.com/berachain/beacon-kit/mod/core/types"
datypes "github.com/berachain/beacon-kit/mod/da/types"
"github.com/berachain/beacon-kit/mod/node-builder/service"
"github.com/berachain/beacon-kit/mod/primitives"
"github.com/berachain/beacon-kit/mod/primitives/math"
"github.com/berachain/beacon-kit/mod/runtime/services/builder/config"
)
Expand Down Expand Up @@ -162,6 +163,13 @@ func (s *Service) RequestBestBlock(
return nil, nil, beacontypes.ErrNilBlkBody
}

// TODO: assemble real eth1data.
body.SetEth1Data(&primitives.Eth1Data{
DepositRoot: primitives.Bytes32{},
DepositCount: 0,
BlockHash: primitives.ExecutionHash{},
})

// If we get returned a nil blobs bundle, we should return an error.
if blobsBundle == nil {
return nil, nil, beacontypes.ErrNilBlobsBundle
Expand Down
Loading