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

Revert "test(proofs): consistency tests for working proof generation & verification" #2005

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
172 changes: 70 additions & 102 deletions beacond/cmd/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,62 +21,51 @@
package main

import (
"github.com/berachain/beacon-kit/beacond/cmd/types"
"github.com/berachain/beacon-kit/mod/node-core/pkg/components"
)

//nolint:funlen // happens
func DefaultComponents() []any {
c := []any{
components.ProvideABCIMiddleware[
*types.BeaconBlock, *types.BeaconBlockBody,
*types.BeaconBlockHeader, *types.BlobSidecar, *types.BlobSidecars,
*types.Deposit, *types.ExecutionPayloadHeader, *types.Genesis,
*types.Logger,
*BeaconBlock, *BeaconBlockBody, *BeaconBlockHeader,
*BlobSidecar, *BlobSidecars, *Deposit, *ExecutionPayloadHeader,
*Genesis, *Logger,
],
components.ProvideAttributesFactory[
*types.BeaconBlockHeader, *types.BeaconState,
*types.BeaconStateMarshallable, *types.ExecutionPayloadHeader,
*types.KVStore, *types.Logger,
],
components.ProvideAvailibilityStore[
*types.BeaconBlockBody, *types.Logger,
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*ExecutionPayloadHeader, *KVStore, *Logger,
],
components.ProvideAvailibilityStore[*BeaconBlockBody, *Logger],
components.ProvideAvailabilityPruner[
*types.AvailabilityStore, *types.BeaconBlock,
*types.BeaconBlockBody, *types.BeaconBlockHeader,
*types.BlobSidecars, *types.Logger,
*AvailabilityStore, *BeaconBlock, *BeaconBlockBody,
*BeaconBlockHeader, *BlobSidecars, *Logger,
],
components.ProvideBeaconDepositContract[
*types.Deposit, *types.ExecutionPayload,
*types.ExecutionPayloadHeader,
*Deposit, *ExecutionPayload, *ExecutionPayloadHeader,
],
components.ProvideBlockStore[
*types.BeaconBlock, *types.BeaconBlockBody,
*types.BeaconBlockHeader, *types.Logger,
*BeaconBlock, *BeaconBlockBody, *BeaconBlockHeader, *Logger,
],
components.ProvideBlockStoreService[
*types.BeaconBlock, *types.BeaconBlockBody,
*types.BeaconBlockHeader, *types.BlockStore, *types.Logger,
*BeaconBlock, *BeaconBlockBody, *BeaconBlockHeader,
*BlockStore, *Logger,
],
components.ProvideBlsSigner,
components.ProvideBlobProcessor[
*types.AvailabilityStore, *types.BeaconBlockBody,
*types.BeaconBlockHeader, *types.BlobSidecar, *types.BlobSidecars,
*types.Logger,
*AvailabilityStore, *BeaconBlockBody, *BeaconBlockHeader,
*BlobSidecar, *BlobSidecars, *Logger,
],
components.ProvideBlobProofVerifier,
components.ProvideBlobVerifier[
*types.BeaconBlockHeader, *types.BlobSidecar, *types.BlobSidecars,
*BeaconBlockHeader, *BlobSidecar, *BlobSidecars,
],
components.ProvideChainService[
*types.AvailabilityStore, *types.BeaconBlock,
*types.BeaconBlockBody, *types.BeaconBlockHeader,
*types.BeaconState, *types.BeaconStateMarshallable,
*types.BlobSidecars, *types.BlockStore, *types.Deposit,
*types.DepositStore, *types.ExecutionPayload,
*types.ExecutionPayloadHeader, *types.Genesis, *types.KVStore,
*types.Logger, *types.StorageBackend,
*AvailabilityStore, *BeaconBlock, *BeaconBlockBody,
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*BlobSidecars, *BlockStore, *Deposit, *DepositStore,
*ExecutionPayload, *ExecutionPayloadHeader, *Genesis,
*KVStore, *Logger, *StorageBackend,
],
components.ProvideNode,
components.ProvideChainSpec,
Expand All @@ -87,119 +76,98 @@ func DefaultComponents() []any {
// *BeaconStateMarshallable, *BlockStore, *KVStore, *StorageBackend,
// ],
components.ProvideDAService[
*types.AvailabilityStore, *types.BeaconBlockBody,
*types.BlobSidecar, *types.BlobSidecars, *types.Logger,
],
components.ProvideDBManager[
*types.AvailabilityStore, *types.DepositStore, *types.Logger,
*AvailabilityStore, *BeaconBlockBody, *BlobSidecar,
*BlobSidecars, *Logger,
],
components.ProvideDBManager[*AvailabilityStore, *DepositStore, *Logger],
components.ProvideDepositPruner[
*types.BeaconBlock, *types.BeaconBlockBody,
*types.BeaconBlockHeader, *types.Deposit, *types.DepositStore,
*types.Logger,
*BeaconBlock, *BeaconBlockBody, *BeaconBlockHeader,
*Deposit, *DepositStore, *Logger,
],
components.ProvideDepositService[
*types.BeaconBlock, *types.BeaconBlockBody,
*types.BeaconBlockHeader, *types.Deposit, *types.DepositContract,
*types.DepositStore, *types.ExecutionPayload,
*types.ExecutionPayloadHeader, *types.Logger,
*BeaconBlock, *BeaconBlockBody, *BeaconBlockHeader, *Deposit,
*DepositContract, *DepositStore, *ExecutionPayload,
*ExecutionPayloadHeader, *Logger,
],
components.ProvideDepositStore[*types.Deposit],
components.ProvideDepositStore[*Deposit],
components.ProvideDispatcher[
*types.BeaconBlock, *types.BlobSidecars, *types.Genesis,
*types.Logger,
*BeaconBlock, *BlobSidecars, *Genesis, *Logger,
],
components.ProvideEngineClient[
*types.ExecutionPayload, *types.ExecutionPayloadHeader,
*types.Logger,
*ExecutionPayload, *ExecutionPayloadHeader, *Logger,
],
components.ProvideExecutionEngine[
*types.ExecutionPayload, *types.ExecutionPayloadHeader,
*types.Logger,
*ExecutionPayload, *ExecutionPayloadHeader, *Logger,
],
components.ProvideJWTSecret,
components.ProvideLocalBuilder[
*types.BeaconBlockHeader, *types.BeaconState,
*types.BeaconStateMarshallable, *types.ExecutionPayload,
*types.ExecutionPayloadHeader, *types.KVStore, *types.Logger,
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*ExecutionPayload, *ExecutionPayloadHeader, *KVStore, *Logger,
],
components.ProvideReportingService[*types.Logger],
components.ProvideCometBFTService[*types.Logger],
components.ProvideReportingService[*Logger],
components.ProvideCometBFTService[*Logger],
components.ProvideServiceRegistry[
*types.AvailabilityStore, *types.BeaconBlock,
*types.BeaconBlockBody, *types.BeaconBlockHeader, *types.BlockStore,
*types.BeaconState, *types.BeaconStateMarshallable,
*types.BlobSidecar, *types.BlobSidecars, *types.Deposit,
*types.DepositStore, *types.ExecutionPayload,
*types.ExecutionPayloadHeader, *types.Genesis, *types.KVStore,
*types.Logger, types.NodeAPIContext,
*AvailabilityStore, *BeaconBlock, *BeaconBlockBody,
*BeaconBlockHeader, *BlockStore, *BeaconState,
*BeaconStateMarshallable, *BlobSidecar, *BlobSidecars,
*Deposit, *DepositStore, *ExecutionPayload, *ExecutionPayloadHeader,
*Genesis, *KVStore, *Logger,
NodeAPIContext,
],
components.ProvideSidecarFactory[
*types.BeaconBlock, *types.BeaconBlockBody,
*types.BeaconBlockHeader,
*BeaconBlock, *BeaconBlockBody, *BeaconBlockHeader,
],
components.ProvideStateProcessor[
*types.BeaconBlock, *types.BeaconBlockBody,
*types.BeaconBlockHeader, *types.BeaconState,
*types.BeaconStateMarshallable, *types.Deposit,
*types.ExecutionPayload, *types.ExecutionPayloadHeader,
*types.KVStore,
],
components.ProvideKVStore[
*types.BeaconBlockHeader, *types.ExecutionPayloadHeader,
*BeaconBlock, *BeaconBlockBody, *BeaconBlockHeader,
*BeaconState, *BeaconStateMarshallable, *Deposit, *ExecutionPayload,
*ExecutionPayloadHeader, *KVStore,
],
components.ProvideKVStore[*BeaconBlockHeader, *ExecutionPayloadHeader],
components.ProvideStorageBackend[
*types.AvailabilityStore, *types.BlockStore, *types.BeaconState,
*types.KVStore, *types.DepositStore,
*AvailabilityStore, *BlockStore, *BeaconState,
*KVStore, *DepositStore,
],
components.ProvideTelemetrySink,
components.ProvideTelemetryService,
components.ProvideTrustedSetup,
components.ProvideValidatorService[
*types.AvailabilityStore, *types.BeaconBlock,
*types.BeaconBlockBody, *types.BeaconBlockHeader,
*types.BeaconState, *types.BeaconStateMarshallable,
*types.BlockStore, *types.BlobSidecars, *types.Deposit,
*types.DepositStore, *types.ExecutionPayload,
*types.ExecutionPayloadHeader, *types.KVStore, *types.Logger,
*types.StorageBackend,
*AvailabilityStore, *BeaconBlock, *BeaconBlockBody,
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*BlockStore, *BlobSidecars, *Deposit, *DepositStore,
*ExecutionPayload, *ExecutionPayloadHeader, *KVStore, *Logger,
*StorageBackend,
],
// TODO Hacks
components.ProvideKVStoreService,
components.ProvideKVStoreKey,
}
c = append(c,
components.ProvideNodeAPIServer[*types.Logger, types.NodeAPIContext],
components.ProvideNodeAPIServer[*Logger, NodeAPIContext],
components.ProvideNodeAPIEngine,
components.ProvideNodeAPIBackend[
*types.AvailabilityStore, *types.BeaconBlock,
*types.BeaconBlockBody, *types.BeaconBlockHeader, *types.BlockStore,
*types.BeaconState, *types.BeaconStateMarshallable,
*types.BlobSidecars, *types.Deposit, *types.DepositStore,
*types.ExecutionPayloadHeader, *types.KVStore,
*types.CometBFTService, *types.StorageBackend,
*AvailabilityStore, *BeaconBlock, *BeaconBlockBody,
*BeaconBlockHeader, *BlockStore, *BeaconState,
*BeaconStateMarshallable, *BlobSidecars, *Deposit, *DepositStore,
*ExecutionPayloadHeader, *KVStore, *CometBFTService, *StorageBackend,
],
)

c = append(c,
components.ProvideNodeAPIHandlers[
*types.BeaconBlockHeader, *types.BeaconState,
*types.BeaconStateMarshallable, *types.ExecutionPayloadHeader,
*types.KVStore, types.NodeAPIContext,
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*ExecutionPayloadHeader, *KVStore, NodeAPIContext,
],
components.ProvideNodeAPIBeaconHandler[
*types.BeaconBlockHeader, *types.BeaconState,
*types.CometBFTService, types.NodeAPIContext,
],
components.ProvideNodeAPIBuilderHandler[types.NodeAPIContext],
components.ProvideNodeAPIConfigHandler[types.NodeAPIContext],
components.ProvideNodeAPIDebugHandler[types.NodeAPIContext],
components.ProvideNodeAPIEventsHandler[types.NodeAPIContext],
components.ProvideNodeAPINodeHandler[types.NodeAPIContext],
*BeaconBlockHeader, *BeaconState, *CometBFTService, NodeAPIContext,
],
components.ProvideNodeAPIBuilderHandler[NodeAPIContext],
components.ProvideNodeAPIConfigHandler[NodeAPIContext],
components.ProvideNodeAPIDebugHandler[NodeAPIContext],
components.ProvideNodeAPIEventsHandler[NodeAPIContext],
components.ProvideNodeAPINodeHandler[NodeAPIContext],
components.ProvideNodeAPIProofHandler[
*types.BeaconBlockHeader, *types.BeaconState,
*types.BeaconStateMarshallable, *types.ExecutionPayloadHeader,
*types.KVStore, *types.CometBFTService, types.NodeAPIContext,
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*ExecutionPayloadHeader, *KVStore, *CometBFTService, NodeAPIContext,
],
)

Expand Down
15 changes: 5 additions & 10 deletions beacond/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"log/slog"
"os"

"github.com/berachain/beacon-kit/beacond/cmd/types"
clibuilder "github.com/berachain/beacon-kit/mod/cli/pkg/builder"
clicomponents "github.com/berachain/beacon-kit/mod/cli/pkg/components"
nodebuilder "github.com/berachain/beacon-kit/mod/node-core/pkg/builder"
Expand All @@ -45,27 +44,23 @@ func run() error {
// Build the node using the node-core.
nb := nodebuilder.New(
// Set the Runtime Components to the Default.
nodebuilder.WithComponents[Node, *types.Logger, *types.LoggerConfig](
nodebuilder.WithComponents[Node, *Logger, *LoggerConfig](
DefaultComponents(),
),
)

// Build the root command using the builder
cb := clibuilder.New(
// Set the Name to the Default.
clibuilder.WithName[Node, *types.ExecutionPayload, *types.Logger](
clibuilder.WithName[Node, *ExecutionPayload, *Logger](
"beacond",
),
// Set the Description to the Default.
clibuilder.WithDescription[
Node, *types.ExecutionPayload, *types.Logger,
](
clibuilder.WithDescription[Node, *ExecutionPayload, *Logger](
"A basic beacon node, usable most standard networks.",
),
// Set the Runtime Components to the Default.
clibuilder.WithComponents[
Node, *types.ExecutionPayload, *types.Logger,
](
clibuilder.WithComponents[Node, *ExecutionPayload, *Logger](
append(
clicomponents.DefaultClientComponents(),
// TODO: remove these, and eventually pull cfg and chainspec
Expand All @@ -75,7 +70,7 @@ func run() error {
),
// Set the NodeBuilderFunc to the NodeBuilder Build.
clibuilder.WithNodeBuilderFunc[
Node, *types.ExecutionPayload, *types.Logger,
Node, *ExecutionPayload, *Logger,
](nb.Build),
)

Expand Down
2 changes: 1 addition & 1 deletion beacond/cmd/types/types.go → beacond/cmd/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
// TITLE.

package types
package main
calbera marked this conversation as resolved.
Show resolved Hide resolved

import (
"cosmossdk.io/core/appmodule/v2"
Expand Down
2 changes: 1 addition & 1 deletion beacond/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
github.com/berachain/beacon-kit/mod/beacon v0.0.0-20240821052951-c15422305b4e
github.com/berachain/beacon-kit/mod/cli v0.0.0-20240822173558-4e2a8018ae21
github.com/berachain/beacon-kit/mod/consensus v0.0.0-20240821053614-036c5d2945f0
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685
github.com/berachain/beacon-kit/mod/da v0.0.0-20240820191615-398849c34954
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720
github.com/berachain/beacon-kit/mod/execution v0.0.0-20240820191615-398849c34954
Expand Down
4 changes: 2 additions & 2 deletions beacond/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ github.com/berachain/beacon-kit/mod/async v0.0.0-20240821213929-f32b8e2dc5c8 h1:
github.com/berachain/beacon-kit/mod/async v0.0.0-20240821213929-f32b8e2dc5c8/go.mod h1:3wR01SglBZ+HvDvhbugz/Mxem22JUThJRwo2Ec8Q0No=
github.com/berachain/beacon-kit/mod/chain-spec v0.0.0-20240705193247-d464364483df h1:mnD1LKqDQ0n+OFdDqOuvKaEiUKRJzsO4V0wyyn/gJYg=
github.com/berachain/beacon-kit/mod/chain-spec v0.0.0-20240705193247-d464364483df/go.mod h1:bTFB4Rdvm7D/WdwPYkqQ+8T0XOMBv0pzXfp1E46BFX8=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f h1:Vzglhdv60M7LBS3FBuqK0eUX8vYJBJnL/RwYpxUswpo=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f/go.mod h1:cZd8cFZ+ylhh3/NUbrdXO2ri1/7KOaYBjo1B8MgbgMM=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685 h1:pTvESOpJ0a6oCV81+pec+zoTBmojZ8C1+7fd4HtKpbI=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685/go.mod h1:jduqdSJEtO5eL43l/MpfnIK81o81m10wzt6Gb++Qi9M=
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720 h1:rVltwwt4JAhpvqeRDZ8J07e9XM+jzfDCJEghPA4r5lg=
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720/go.mod h1:kGxAesqTkt75+QYQ73O9I5PqAicSL9JGh5wypiWgb8I=
github.com/berachain/beacon-kit/mod/errors v0.0.0-20240806211103-d1105603bfc0 h1:kCSrkb/uVXfMKJPKjf0c7nlJkwn5cNwMxtzRW4zNq2A=
Expand Down
2 changes: 1 addition & 1 deletion mod/cli/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ require (
cosmossdk.io/depinject v1.0.0
github.com/berachain/beacon-kit/mod/config v0.0.0-20240705193247-d464364483df
github.com/berachain/beacon-kit/mod/consensus v0.0.0-20240821053614-036c5d2945f0
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720
github.com/berachain/beacon-kit/mod/errors v0.0.0-20240806211103-d1105603bfc0
github.com/berachain/beacon-kit/mod/geth-primitives v0.0.0-20240806160829-cde2d1347e7e
Expand Down
4 changes: 2 additions & 2 deletions mod/cli/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ github.com/berachain/beacon-kit/mod/async v0.0.0-20240821213929-f32b8e2dc5c8 h1:
github.com/berachain/beacon-kit/mod/async v0.0.0-20240821213929-f32b8e2dc5c8/go.mod h1:3wR01SglBZ+HvDvhbugz/Mxem22JUThJRwo2Ec8Q0No=
github.com/berachain/beacon-kit/mod/chain-spec v0.0.0-20240705193247-d464364483df h1:mnD1LKqDQ0n+OFdDqOuvKaEiUKRJzsO4V0wyyn/gJYg=
github.com/berachain/beacon-kit/mod/chain-spec v0.0.0-20240705193247-d464364483df/go.mod h1:bTFB4Rdvm7D/WdwPYkqQ+8T0XOMBv0pzXfp1E46BFX8=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f h1:Vzglhdv60M7LBS3FBuqK0eUX8vYJBJnL/RwYpxUswpo=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f/go.mod h1:cZd8cFZ+ylhh3/NUbrdXO2ri1/7KOaYBjo1B8MgbgMM=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685 h1:pTvESOpJ0a6oCV81+pec+zoTBmojZ8C1+7fd4HtKpbI=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685/go.mod h1:jduqdSJEtO5eL43l/MpfnIK81o81m10wzt6Gb++Qi9M=
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720 h1:rVltwwt4JAhpvqeRDZ8J07e9XM+jzfDCJEghPA4r5lg=
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720/go.mod h1:kGxAesqTkt75+QYQ73O9I5PqAicSL9JGh5wypiWgb8I=
github.com/berachain/beacon-kit/mod/errors v0.0.0-20240806211103-d1105603bfc0 h1:kCSrkb/uVXfMKJPKjf0c7nlJkwn5cNwMxtzRW4zNq2A=
Expand Down
2 changes: 1 addition & 1 deletion mod/config/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ require (
github.com/VictoriaMetrics/fastcache v1.12.2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/berachain/beacon-kit/mod/async v0.0.0-20240821213929-f32b8e2dc5c8 // indirect
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f // indirect
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240806160829-cde2d1347e7e // indirect
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720 // indirect
github.com/bits-and-blooms/bitset v1.13.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.3 // indirect
Expand Down
4 changes: 2 additions & 2 deletions mod/config/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ github.com/berachain/beacon-kit/mod/beacon v0.0.0-20240821052951-c15422305b4e h1
github.com/berachain/beacon-kit/mod/beacon v0.0.0-20240821052951-c15422305b4e/go.mod h1:hyB6jdTwCalJ6IMwCtYOXjXrqIg3T1QruIzs4NPrNkw=
github.com/berachain/beacon-kit/mod/chain-spec v0.0.0-20240705193247-d464364483df h1:mnD1LKqDQ0n+OFdDqOuvKaEiUKRJzsO4V0wyyn/gJYg=
github.com/berachain/beacon-kit/mod/chain-spec v0.0.0-20240705193247-d464364483df/go.mod h1:bTFB4Rdvm7D/WdwPYkqQ+8T0XOMBv0pzXfp1E46BFX8=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f h1:Vzglhdv60M7LBS3FBuqK0eUX8vYJBJnL/RwYpxUswpo=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f/go.mod h1:cZd8cFZ+ylhh3/NUbrdXO2ri1/7KOaYBjo1B8MgbgMM=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240806160829-cde2d1347e7e h1:GTeZshNZaH5MnVhSSGj//vxJfv1kM9d6w2CA7O64gJk=
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240806160829-cde2d1347e7e/go.mod h1:ZU1bq1BMt6b0kPRAw+A3kP7FlSd5DSQNYePD5qL9zfQ=
github.com/berachain/beacon-kit/mod/da v0.0.0-20240610210054-bfdc14c4013c h1:WKjF2xYQ3jwTNauJbs34bTzCgf49uHYy7/f+z1DfmyI=
github.com/berachain/beacon-kit/mod/da v0.0.0-20240610210054-bfdc14c4013c/go.mod h1:4hmlXJkl1cwCnZvEISy4K2x9Z7O3Pgtijz1HS/P/uY8=
github.com/berachain/beacon-kit/mod/engine-primitives v0.0.0-20240809202957-3e3f169ad720 h1:rVltwwt4JAhpvqeRDZ8J07e9XM+jzfDCJEghPA4r5lg=
Expand Down
4 changes: 1 addition & 3 deletions mod/consensus-types/pkg/types/payload_header.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ type ExecutionPayloadHeader struct {

// Empty returns an empty ExecutionPayload for the given fork version.
func (h *ExecutionPayloadHeader) Empty() *ExecutionPayloadHeader {
return &ExecutionPayloadHeader{
BaseFeePerGas: &uint256.Int{},
}
return &ExecutionPayloadHeader{}
}

// NewFromSSZ returns a new ExecutionPayloadHeader from the given SSZ bytes.
Expand Down
2 changes: 1 addition & 1 deletion mod/consensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc
github.com/berachain/beacon-kit/mod/async v0.0.0-20240821213929-f32b8e2dc5c8
github.com/berachain/beacon-kit/mod/cli v0.0.0-00010101000000-000000000000
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240904192942-99aeabe6bb1f
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685
github.com/berachain/beacon-kit/mod/errors v0.0.0-20240806211103-d1105603bfc0
github.com/berachain/beacon-kit/mod/log v0.0.0-20240821000339-4d4242ba4a50
github.com/berachain/beacon-kit/mod/primitives v0.0.0-20240911165923-82f71ec86570
Expand Down
Loading
Loading