@@ -23,6 +23,7 @@ import (
2323 "github.com/flashbots/go-utils/rpctypes"
2424 "github.com/flashbots/go-utils/signature"
2525 utils_tls "github.com/flashbots/go-utils/tls"
26+ "github.com/google/uuid"
2627 "github.com/stretchr/testify/require"
2728)
2829
@@ -370,7 +371,8 @@ func TestProxyBundleRequestWithPeerUpdate(t *testing.T) {
370371 proxiesUpdatePeers (t )
371372
372373 blockNumber = hexutil .Uint64 (1002 )
373- replacementUUID := "550e8400-e29b-41d4-a716-446655440000"
374+
375+ replacementUUID := uuid .MustParse ("550e8400-e29b-41d4-a716-446655440000" )
374376 _ , err = client .Call (context .Background (), EthSendBundleMethod , & rpctypes.EthSendBundleArgs {
375377 BlockNumber : & blockNumber ,
376378 ReplacementUUID : & replacementUUID ,
@@ -497,9 +499,10 @@ func TestProxyShareBundleReplacementUUIDAndCancellation(t *testing.T) {
497499 proxiesUpdatePeers (t )
498500
499501 // first call
502+ repalcementUUID := uuid .MustParse ("550e8400-e29b-41d4-a716-446655440000" )
500503 resp , err := client .Call (context .Background (), MevSendBundleMethod , & rpctypes.MevSendBundleArgs {
501504 Version : "v0.1" ,
502- ReplacementUUID : "550e8400-e29b-41d4-a716-446655440000" ,
505+ ReplacementUUID : & repalcementUUID ,
503506 Inclusion : rpctypes.MevBundleInclusion {
504507 BlockNumber : 10 ,
505508 },
@@ -518,9 +521,10 @@ func TestProxyShareBundleReplacementUUIDAndCancellation(t *testing.T) {
518521 require .Equal (t , expectedRequest , builderRequest .body )
519522
520523 // second call
524+ replacementUUID := uuid .MustParse ("550e8400-e29b-41d4-a716-446655440000" )
521525 resp , err = client .Call (context .Background (), MevSendBundleMethod , & rpctypes.MevSendBundleArgs {
522526 Version : "v0.1" ,
523- ReplacementUUID : "550e8400-e29b-41d4-a716-446655440000" ,
527+ ReplacementUUID : & replacementUUID ,
524528 Inclusion : rpctypes.MevBundleInclusion {
525529 BlockNumber : 10 ,
526530 },
@@ -541,7 +545,7 @@ func TestProxyShareBundleReplacementUUIDAndCancellation(t *testing.T) {
541545 // cancell
542546 resp , err = client .Call (context .Background (), MevSendBundleMethod , & rpctypes.MevSendBundleArgs {
543547 Version : "v0.1" ,
544- ReplacementUUID : "550e8400-e29b-41d4-a716-446655440000" ,
548+ ReplacementUUID : & replacementUUID ,
545549 })
546550 require .NoError (t , err )
547551 require .Nil (t , resp .Error )
@@ -620,7 +624,7 @@ func TestValidateLocalBundles(t *testing.T) {
620624 expectNoRequest (t , proxies [0 ].localBuilderRequests )
621625
622626 blockNumber = hexutil .Uint64 (124 )
623- uid := "52840671-89dc-484f-80f6-401753513ba9"
627+ uid := uuid . MustParse ( "52840671-89dc-484f-80f6-401753513ba9" )
624628 resp , err = client .Call (context .Background (), EthSendBundleMethod , & rpctypes.EthSendBundleArgs {
625629 BlockNumber : & blockNumber ,
626630 UUID : & uid ,
@@ -653,7 +657,7 @@ func TestValidateLocalBundles(t *testing.T) {
653657 expectNoRequest (t , proxies [0 ].localBuilderRequests )
654658
655659 blockNumber = hexutil .Uint64 (125 )
656- uid = "4749af2a-1b99-45f2-a9bf-827cc0840964"
660+ uid = uuid . MustParse ( "4749af2a-1b99-45f2-a9bf-827cc0840964" )
657661 version := rpctypes .BundleVersionV1
658662 resp , err = pubClient .Call (context .Background (), EthSendBundleMethod , & rpctypes.EthSendBundleArgs {
659663 BlockNumber : & blockNumber ,
0 commit comments