From 76655ea48f726535626c79f4b803cadad3d8a86e Mon Sep 17 00:00:00 2001 From: Bharath Date: Wed, 20 Nov 2024 21:41:15 +0530 Subject: [PATCH] use nanos timestamp in execute block --- grpc/execution/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc/execution/server.go b/grpc/execution/server.go index 971a4d613..a22653a2b 100644 --- a/grpc/execution/server.go +++ b/grpc/execution/server.go @@ -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, }