@@ -125,6 +125,7 @@ func (prx *ReceiverProxy) EthSendBundle(ctx context.Context, ethSendBundle rpcty
125125 systemEndpoint : systemEndpoint ,
126126 ethSendBundle : & ethSendBundle ,
127127 method : EthSendBundleMethod ,
128+ size : rpcserver .GetRequestSize (ctx ),
128129 }
129130
130131 err := prx .ValidateSigner (ctx , & parsedRequest , systemEndpoint )
@@ -192,6 +193,7 @@ func (prx *ReceiverProxy) MevSendBundle(ctx context.Context, mevSendBundle rpcty
192193 systemEndpoint : systemEndpoint ,
193194 mevSendBundle : & mevSendBundle ,
194195 method : MevSendBundleMethod ,
196+ size : rpcserver .GetRequestSize (ctx ),
195197 }
196198
197199 err := prx .ValidateSigner (ctx , & parsedRequest , systemEndpoint )
@@ -259,6 +261,7 @@ func (prx *ReceiverProxy) EthCancelBundle(ctx context.Context, ethCancelBundle r
259261 systemEndpoint : systemEndpoint ,
260262 ethCancelBundle : & ethCancelBundle ,
261263 method : EthCancelBundleMethod ,
264+ size : rpcserver .GetRequestSize (ctx ),
262265 }
263266
264267 err := prx .ValidateSigner (ctx , & parsedRequest , systemEndpoint )
@@ -290,6 +293,7 @@ func (prx *ReceiverProxy) EthSendRawTransaction(ctx context.Context, ethSendRawT
290293 systemEndpoint : systemEndpoint ,
291294 ethSendRawTransaction : & ethSendRawTransaction ,
292295 method : EthSendRawTransactionMethod ,
296+ size : rpcserver .GetRequestSize (ctx ),
293297 }
294298 err := prx .ValidateSigner (ctx , & parsedRequest , systemEndpoint )
295299 if err != nil {
@@ -319,6 +323,7 @@ func (prx *ReceiverProxy) BidSubsidiseBlock(ctx context.Context, bidSubsidiseBlo
319323 systemEndpoint : systemEndpoint ,
320324 bidSubsidiseBlock : & bidSubsidiseBlock ,
321325 method : BidSubsidiseBlockMethod ,
326+ size : rpcserver .GetRequestSize (ctx ),
322327 }
323328
324329 err := prx .ValidateSigner (ctx , & parsedRequest , systemEndpoint )
@@ -349,6 +354,7 @@ type ParsedRequest struct {
349354 signer common.Address
350355 method string
351356 peerName string
357+ size int
352358 receivedAt time.Time
353359 requestArgUniqueKey * uuid.UUID
354360 ethSendBundle * rpctypes.EthSendBundleArgs
0 commit comments