Skip to content

Commit

Permalink
fix: updating yarn.lock with up to date package.json and adding custo…
Browse files Browse the repository at this point in the history
…m graph url for zksync (#1263)
  • Loading branch information
KolevDarko authored Nov 27, 2023
1 parent 14ef8d6 commit 6981bc1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const chainId = 280;
export const testnet = true;
5 changes: 5 additions & 0 deletions packages/payment-detection/src/thegraph/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const THE_GRAPH_URL_MANTLE_TESTNET =
const THE_GRAPH_URL_MANTLE =
'https://graph.fusionx.finance/subgraphs/name/requestnetwork/request-payments-mantle';

const THE_GRAPH_URL_STUDIO_ZKSYNC =
'https://api.studio.thegraph.com/query/35843/request-payment-zksyncera/version/latest';

// NB: the GraphQL client is automatically generated based on files present in ./queries,
// using graphql-codegen.
// To generate types, run `yarn codegen`, then open the generated files so that the code editor picks up the changes.
Expand Down Expand Up @@ -74,5 +77,7 @@ export const defaultGetTheGraphClient = (
? getTheGraphEvmClient(THE_GRAPH_URL_MANTLE, options)
: network === 'mantle-testnet'
? getTheGraphEvmClient(THE_GRAPH_URL_MANTLE_TESTNET, options)
: network === 'zksyncera'
? getTheGraphEvmClient(THE_GRAPH_URL_STUDIO_ZKSYNC, options)
: getTheGraphEvmClient(`${HOSTED_THE_GRAPH_URL}${network}`, options);
};
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3727,7 +3727,7 @@
npmlog "^4.1.2"
write-file-atomic "^2.3.0"

"@matterlabs/hardhat-zksync-deploy@^0.6.5":
"@matterlabs/hardhat-zksync-deploy@0.6.5":
version "0.6.5"
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-0.6.5.tgz#fe56bf30850e71c8d328ac1a06a100c1a0af6e3e"
integrity sha512-EZpvn8pDslfO3UA2obT8FOi5jsHhxYS5ndIR7tjL2zXKbvkbpoJR5rgKoGTJJm0riaCud674sQcxMOybVQ+2gg==
Expand All @@ -3736,10 +3736,10 @@
chalk "4.1.2"
ts-morph "^19.0.0"

"@matterlabs/hardhat-zksync-node@^0.0.1-beta.6":
version "0.0.1-beta.7"
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-node/-/hardhat-zksync-node-0.0.1-beta.7.tgz#01e0b28f844e02aa52e9474b5b5c124ed7bf7566"
integrity sha512-14yfpSDMDai5a2AOHumR69T9GTvW94MVI8GJpbJxhMZwF+XGBEpxk281JlTZATwWVzE0AZh0jYt3p8AIxtwvDg==
"@matterlabs/hardhat-zksync-node@0.0.1-beta.6":
version "0.0.1-beta.6"
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-node/-/hardhat-zksync-node-0.0.1-beta.6.tgz#7bfd4af1820335a10f78dee864c5b49da5a1a3bd"
integrity sha512-YwPkfOLm+p6YZJuta3yCgJnUM2LM+w+jOPkTyLZBS3a1G2ozWvPhOtShsSXU2M2HVHhA+ubkx/+rk6zYOZiXfQ==
dependencies:
"@matterlabs/hardhat-zksync-solc" "1.0.0"
axios "^1.4.0"
Expand All @@ -3758,7 +3758,7 @@
fs-extra "^11.1.1"
semver "^7.5.1"

"@matterlabs/hardhat-zksync-solc@0.4.2", "@matterlabs/hardhat-zksync-solc@^0.4.2":
"@matterlabs/hardhat-zksync-solc@0.4.2":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-0.4.2.tgz#64121082e88c5ab22eb4e9594d120e504f6af499"
integrity sha512-6NFWPSZiOAoo7wNuhMg4ztj7mMEH+tLrx09WuCbcURrHPijj/KxYNsJD6Uw5lapKr7G8H7SQISGid1/MTXVmXQ==
Expand All @@ -3782,7 +3782,7 @@
proper-lockfile "^4.1.2"
semver "^7.5.1"

"@matterlabs/hardhat-zksync-verify@^0.2.1":
"@matterlabs/hardhat-zksync-verify@0.2.1":
version "0.2.1"
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-verify/-/hardhat-zksync-verify-0.2.1.tgz#f52cbe3670b7a6b01c8c4d0bbf3e6e13583e5d99"
integrity sha512-6awofVwsGHlyFMNTZcp05DPHpriSmmhBw0q+OC/Kn9xbdqT8E7fMJa6irvJH590UugxGerKrZDIY6uM6rwAjqQ==
Expand All @@ -3793,7 +3793,7 @@
chalk "4.1.2"
dockerode "^3.3.4"

"@matterlabs/zksync-contracts@^0.6.1":
"@matterlabs/zksync-contracts@0.6.1":
version "0.6.1"
resolved "https://registry.yarnpkg.com/@matterlabs/zksync-contracts/-/zksync-contracts-0.6.1.tgz#39f061959d5890fd0043a2f1ae710f764b172230"
integrity sha512-+hucLw4DhGmTmQlXOTEtpboYCaOm/X2VJcWmnW4abNcOgQXEHX+mTxQrxEfPjIZT0ZE6z5FTUrOK9+RgUZwBMQ==
Expand Down Expand Up @@ -23210,7 +23210,7 @@ yocto-queue@^0.1.0:
resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zksync-web3@^0.14.3:
version "0.14.4"
resolved "https://registry.yarnpkg.com/zksync-web3/-/zksync-web3-0.14.4.tgz#0b70a7e1a9d45cc57c0971736079185746d46b1f"
integrity sha512-kYehMD/S6Uhe1g434UnaMN+sBr9nQm23Ywn0EUP5BfQCsbjcr3ORuS68PosZw8xUTu3pac7G6YMSnNHk+fwzvg==
zksync-web3@0.14.3:
version "0.14.3"
resolved "https://registry.yarnpkg.com/zksync-web3/-/zksync-web3-0.14.3.tgz#64ac2a16d597464c3fc4ae07447a8007631c57c9"
integrity sha512-hT72th4AnqyLW1d5Jlv8N2B/qhEnl2NePK2A3org7tAa24niem/UAaHMkEvmWI3SF9waYUPtqAtjpf+yvQ9zvQ==

0 comments on commit 6981bc1

Please sign in to comment.