Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Feb 5, 2024
1 parent 4d4f4df commit e50dd00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (b *Builder) onSealedBlock(opts SubmitBlockOpts) error {
}
}

log.Info("submitted block", "version", dataVersion.String(), "slot", opts.PayloadAttributes.Slot, "value", opts.BlockValue.String(), "parent", opts.Block.ParentHash,
log.Info("submitted block", "version", dataVersion.String(), "slot", opts.PayloadAttributes.Slot, "value", opts.BlockValue.String(), "parent", opts.Block.ParentHash().String(),
"hash", opts.Block.Hash(), "#commitedBundles", len(opts.CommitedBundles))

return nil
Expand Down
14 changes: 7 additions & 7 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2337,13 +2337,13 @@ func (s *BundleAPI) CallBundle(ctx context.Context, args CallBundleArgs) (map[st
}

header := &types.Header{
ParentHash: parent.Hash(),
Number: blockNumber,
GasLimit: gasLimit,
Time: timestamp,
Difficulty: difficulty,
Coinbase: coinbase,
BaseFee: baseFee,
ParentHash: parent.Hash(),
Number: blockNumber,
GasLimit: gasLimit,
Time: timestamp,
Difficulty: difficulty,
Coinbase: coinbase,
BaseFee: baseFee,
ExcessBlobGas: &excessBlobGas,
}

Expand Down

0 comments on commit e50dd00

Please sign in to comment.