Skip to content

Commit

Permalink
bet
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed Oct 1, 2024
1 parent ab27640 commit be73fd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions beacond/cmd/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func DefaultComponents() []any {
*AvailabilityStore, *BeaconBlock, *BeaconBlockBody,
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*BlobSidecars, *BlockStore, *Deposit, *DepositStore,
*ExecutionPayload, *ExecutionPayloadHeader, *Log, *Genesis,
*ExecutionPayload, *ExecutionPayloadHeader, Log, *Genesis,
*KVStore, *Logger, *StorageBackend,
],
components.ProvideNode,
Expand Down Expand Up @@ -96,15 +96,15 @@ func DefaultComponents() []any {
*BeaconBlock, *BlobSidecars, *Genesis, *Logger,
],
components.ProvideEngineClient[
*ExecutionPayload, *ExecutionPayloadHeader, *Log, *Logger,
*ExecutionPayload, *ExecutionPayloadHeader, Log, *Logger,
],
components.ProvideExecutionEngine[
*ExecutionPayload, *ExecutionPayloadHeader, *Log, *Logger,
*ExecutionPayload, *ExecutionPayloadHeader, Log, *Logger,
],
components.ProvideJWTSecret,
components.ProvideLocalBuilder[
*BeaconBlockHeader, *BeaconState, *BeaconStateMarshallable,
*ExecutionPayload, *ExecutionPayloadHeader, *Log, *KVStore, *Logger,
*ExecutionPayload, *ExecutionPayloadHeader, Log, *KVStore, *Logger,
],
components.ProvideReportingService[*Logger],
components.ProvideCometBFTService[*Logger],
Expand Down
6 changes: 2 additions & 4 deletions mod/consensus-types/pkg/types/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,9 @@ func (d *Deposit[_]) GetTree() (*fastssz.Node, error) {
// UnmarshalLog unmarshals the Deposit object from an Ethereum log.
func (d *Deposit[LogT]) UnmarshalLog(log LogT) error {
data := log.GetData()
idx := binary.BigEndian.Uint64(data[152:160])
d.Index = idx
d.Index = binary.BigEndian.Uint64(data[152:160])
d.Pubkey = bytes.B48(data[208:256])
amount := binary.BigEndian.Uint64(data[280:288])
d.Amount = math.U64(amount)
d.Amount = math.U64(binary.BigEndian.Uint64(data[280:288]))
d.Credentials = WithdrawalCredentials(bytes.B32(data[288:320]))
d.Signature = bytes.B96(data[352:448])
return nil
Expand Down
2 changes: 1 addition & 1 deletion mod/execution/pkg/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func New[
logger log.Logger,
telemtrySink TelemetrySink,
) *Engine[
ExecutionPayloadT, LogT,PayloadAttributesT,
ExecutionPayloadT, LogT, PayloadAttributesT,
PayloadIDT, WithdrawalsT,
] {
return &Engine[
Expand Down

0 comments on commit be73fd8

Please sign in to comment.