Skip to content

Commit

Permalink
fix: Add originChainId to partial deposit queried from eth_getLogs
Browse files Browse the repository at this point in the history
Missing `originChainId` needs to be appended to this partial event queried from eth_getLogs
  • Loading branch information
nicholaspai committed Feb 22, 2024
1 parent 8e8cefd commit a8b6d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@across-protocol/sdk-v2",
"author": "UMA Team",
"version": "0.22.4",
"version": "0.22.5",
"license": "AGPL-3.0",
"homepage": "https://docs.across.to/v/developer-docs/developers/across-sdk",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/clients/SpokePoolClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ export class SpokePoolClient extends BaseAbstractClient {
quoteBlockNumber,
outputToken:
partialDeposit.outputToken === ZERO_ADDRESS
? this.getDestinationTokenForDeposit(partialDeposit)
? this.getDestinationTokenForDeposit({ ...partialDeposit, originChainId: this.chainId })
: partialDeposit.outputToken,
};

Expand Down

0 comments on commit a8b6d04

Please sign in to comment.