Skip to content

Commit

Permalink
use nanos timestamp in execute block
Browse files Browse the repository at this point in the history
  • Loading branch information
bharath-123 committed Nov 20, 2024
1 parent 681831d commit 76655ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc/execution/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func (s *ExecutionServiceServerV1) ExecuteBlock(ctx context.Context, req *astria
// Build a payload to add to the chain
payloadAttributes := &miner.BuildPayloadArgs{
Parent: prevHeadHash,
Timestamp: uint64(req.GetTimestamp().GetSeconds()),
Timestamp: uint64(req.GetTimestamp().AsTime().UnixNano()),
Random: common.Hash{},
FeeRecipient: s.nextFeeRecipient,
}
Expand Down

0 comments on commit 76655ea

Please sign in to comment.