Skip to content

Commit

Permalink
[BCI-3813] Use the transactionID as the idempotency key in the EVM …
Browse files Browse the repository at this point in the history
…chain writer (#13829)

* evm: Use the transactionId as the idempotency key in the chainwriter

* changeset: Add changeset tag

---------

Co-authored-by: Silas Lenihan <32529249+silaslenihan@users.noreply.github.com>
  • Loading branch information
nickcorin and silaslenihan authored Jul 12, 2024
1 parent 0f31a74 commit 51225f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tall-emus-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal Use txid as the idempotency key in the evm chainwriter
1 change: 1 addition & 0 deletions core/services/relay/evm/chain_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func (w *chainWriter) SubmitTransaction(ctx context.Context, contract, method st
EncodedPayload: calldata,
FeeLimit: methodConfig.GasLimit,
Meta: txMeta,
IdempotencyKey: &transactionID,
Strategy: w.sendStrategy,
Checker: checker,
Value: *v,
Expand Down

0 comments on commit 51225f8

Please sign in to comment.