From 617af45bfa161e7a5f0369e12bae7da0e6565c27 Mon Sep 17 00:00:00 2001 From: amit-momin <108959691+amit-momin@users.noreply.github.com> Date: Mon, 18 Sep 2023 13:31:20 -0500 Subject: [PATCH] Removed pg opts from VRF CreateTransaction calls (#10664) --- core/services/vrf/v2/listener_v2.go | 4 ++-- core/services/vrf/v2/listener_v2_types.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/services/vrf/v2/listener_v2.go b/core/services/vrf/v2/listener_v2.go index 2eb10f64c89..13214d7f2c7 100644 --- a/core/services/vrf/v2/listener_v2.go +++ b/core/services/vrf/v2/listener_v2.go @@ -923,7 +923,7 @@ func (lsn *listenerV2) enqueueForceFulfillment( RequestTxHash: &requestTxHash, // No max link since simulation failed }, - }, pg.WithQueryer(tx), pg.WithParentCtx(ctx)) + }) return err }) return @@ -1137,7 +1137,7 @@ func (lsn *listenerV2) processRequestsPerSubHelper( VRFCoordinatorAddress: &coordinatorAddress, VRFRequestBlockNumber: new(big.Int).SetUint64(p.req.req.Raw().BlockNumber), }, - }, pg.WithQueryer(tx), pg.WithParentCtx(ctx)) + }) return err }) if err != nil { diff --git a/core/services/vrf/v2/listener_v2_types.go b/core/services/vrf/v2/listener_v2_types.go index c1e3b46b26a..4ad645ac17c 100644 --- a/core/services/vrf/v2/listener_v2_types.go +++ b/core/services/vrf/v2/listener_v2_types.go @@ -193,7 +193,7 @@ func (lsn *listenerV2) processBatch( GlobalSubID: txMetaGlobalSubID, RequestTxHashes: txHashes, }, - }, pg.WithQueryer(tx)) + }) return errors.Wrap(err, "create batch fulfillment eth transaction") })