Skip to content

Commit

Permalink
Merge pull request #694 from bobanetwork/fix/query-narowing-fix-for-u…
Browse files Browse the repository at this point in the history
…i-status-pending

fix for query narrowing to avoid the status pending always
  • Loading branch information
sk-enya authored Nov 27, 2024
2 parents bcb1985 + d3d50e1 commit ed65a6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@bobanetwork/graphql-utils": "^1.1.16",
"@bobanetwork/graphql-utils": "^1.1.18",
"@bobanetwork/light-bridge-chains": "^1.1.0",
"@bobanetwork/register": "^0.0.26",
"@bobanetwork/sdk": "1.0.7",
Expand Down
4 changes: 0 additions & 4 deletions src/services/transaction.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ class TransactionService {
sendEvent.sourceChainId,
sendEvent.toChainId
) ?? '0',
sendEvent.amount.toString(),
sendEvent.depositId
)
if (
Expand All @@ -372,7 +371,6 @@ class TransactionService {
networkService.account!,
sendEvent.sourceChainId,
sendEvent.toChainId,
sendEvent.amount.toString(),
sendEvent.depositId
)
if (receiveEvent) {
Expand All @@ -382,7 +380,6 @@ class TransactionService {
networkService.account!,
sendEvent.sourceChainId,
sendEvent.toChainId,
sendEvent.amount.toString(),
sendEvent.depositId
)
}
Expand All @@ -407,7 +404,6 @@ class TransactionService {
networkConfig!.L2!.chainId,
networkConfig!.L1!.chainId
)

return [...L1Txs, ...L2Txs]
}

Expand Down
14 changes: 4 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1207,15 +1207,14 @@
"@ethersproject/abstract-signer" "^5.5.0"
"@ethersproject/hardware-wallets" "^5.5.0"

"@bobanetwork/graphql-utils@^1.1.16":
version "1.1.16"
resolved "https://registry.yarnpkg.com/@bobanetwork/graphql-utils/-/graphql-utils-1.1.16.tgz#df93b658874905b21d8370b31355ef92ebaffdf9"
integrity sha512-jJA1JA2cf0iHI6qulZD65KpVuPo+rGCnxzSc+rfEaRLgjOr7TuIdqv/aYy5Lr/p2g+m1Gx0lAHWZQ5148HzvPw==
"@bobanetwork/graphql-utils@^1.1.18":
version "1.1.18"
resolved "https://registry.yarnpkg.com/@bobanetwork/graphql-utils/-/graphql-utils-1.1.18.tgz#8a2048d835542b5d60bd9d08855f8e06fe6dcd51"
integrity sha512-UOsjN1gDynuk9OtmFC5D3h/wEpeSW3zgFucuaiRAnB2QO8JoY/M/NzSbjdE1W8SKvTUKQ4rlSq+hMMetv/3hIw==
dependencies:
"@apollo/client" "3.5.10"
"@ethersproject/providers" "^5.7.2"
"@types/jest" "^29.5.12"
dotenv "^16.4.5"
ethers "^5.5.4"
graphql "^16.8.2"
node-fetch "^2.6.1"
Expand Down Expand Up @@ -6327,11 +6326,6 @@ dotenv@^10.0.0:
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81"
integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==

dotenv@^16.4.5:
version "16.4.5"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f"
integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==

dotenv@^8.2.0, dotenv@^8.6.0:
version "8.6.0"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b"
Expand Down

0 comments on commit ed65a6f

Please sign in to comment.