From 2be16bc60367577d9dc95d0762d8310bea4b363d Mon Sep 17 00:00:00 2001 From: mfw78 Date: Wed, 14 Feb 2024 16:19:47 +0000 Subject: [PATCH] chore: add sepolia remove goerli --- .../01-create-pre-signed-order/README.md | 2 +- .../01-create-pre-signed-order/app-b/src/lib/run.ts | 2 +- .../03-cancel-pre-signed-order/app-a/src/lib/run.ts | 2 +- .../03-cancel-pre-signed-order/app-b/src/lib/run.ts | 2 +- content/tutorial/common/package.json | 2 +- content/tutorial/common/yarn.lock | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/README.md b/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/README.md index 1bed0bb..3e0b539 100644 --- a/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/README.md +++ b/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/README.md @@ -115,7 +115,7 @@ export async function run(provider: Web3Provider): Promise { const SAFE_TRANSACTION_SERVICE_URL: Record = { [SupportedChainId.MAINNET]: 'https://safe-transaction-mainnet.safe.global', [SupportedChainId.GNOSIS_CHAIN]: 'https://safe-transaction-gnosis-chain.safe.global', - [SupportedChainId.GOERLI]: 'https://safe-transaction-goerli.safe.global', + [SupportedChainId.SEPOLIA]: 'https://safe-transaction-sepolia.safe.global', } // ... diff --git a/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/app-b/src/lib/run.ts b/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/app-b/src/lib/run.ts index 7496050..3a60f44 100644 --- a/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/app-b/src/lib/run.ts +++ b/content/tutorial/02-advanced-orders/03-pre-signed-orders/01-create-pre-signed-order/app-b/src/lib/run.ts @@ -59,7 +59,7 @@ export async function run(provider: Web3Provider): Promise { const SAFE_TRANSACTION_SERVICE_URL: Record = { [SupportedChainId.MAINNET]: 'https://safe-transaction-mainnet.safe.global', [SupportedChainId.GNOSIS_CHAIN]: 'https://safe-transaction-gnosis-chain.safe.global', - [SupportedChainId.GOERLI]: 'https://safe-transaction-goerli.safe.global', + [SupportedChainId.SEPOLIA]: 'https://safe-transaction-sepolia.safe.global', } const getSafeSdkAndKit = async (safeAddress: string) => { diff --git a/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-a/src/lib/run.ts b/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-a/src/lib/run.ts index 7496050..3a60f44 100644 --- a/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-a/src/lib/run.ts +++ b/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-a/src/lib/run.ts @@ -59,7 +59,7 @@ export async function run(provider: Web3Provider): Promise { const SAFE_TRANSACTION_SERVICE_URL: Record = { [SupportedChainId.MAINNET]: 'https://safe-transaction-mainnet.safe.global', [SupportedChainId.GNOSIS_CHAIN]: 'https://safe-transaction-gnosis-chain.safe.global', - [SupportedChainId.GOERLI]: 'https://safe-transaction-goerli.safe.global', + [SupportedChainId.SEPOLIA]: 'https://safe-transaction-sepolia.safe.global', } const getSafeSdkAndKit = async (safeAddress: string) => { diff --git a/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-b/src/lib/run.ts b/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-b/src/lib/run.ts index e0098ac..c84da63 100644 --- a/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-b/src/lib/run.ts +++ b/content/tutorial/02-advanced-orders/03-pre-signed-orders/03-cancel-pre-signed-order/app-b/src/lib/run.ts @@ -32,7 +32,7 @@ export async function run(provider: Web3Provider): Promise { const SAFE_TRANSACTION_SERVICE_URL: Record = { [SupportedChainId.MAINNET]: 'https://safe-transaction-mainnet.safe.global', [SupportedChainId.GNOSIS_CHAIN]: 'https://safe-transaction-gnosis-chain.safe.global', - [SupportedChainId.GOERLI]: 'https://safe-transaction-goerli.safe.global', + [SupportedChainId.SEPOLIA]: 'https://safe-transaction-sepolia.safe.global', } const getSafeSdkAndKit = async (safeAddress: string) => { diff --git a/content/tutorial/common/package.json b/content/tutorial/common/package.json index 0abc290..3ca5343 100644 --- a/content/tutorial/common/package.json +++ b/content/tutorial/common/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@cowprotocol/app-data": "^1.2.2", - "@cowprotocol/cow-sdk": "^4.0.3", + "@cowprotocol/cow-sdk": "^5.0.0", "@safe-global/api-kit": "^1.3.0", "@safe-global/protocol-kit": "^1.2.0", "ethers": "^5.7.2" diff --git a/content/tutorial/common/yarn.lock b/content/tutorial/common/yarn.lock index ee025c2..4426517 100644 --- a/content/tutorial/common/yarn.lock +++ b/content/tutorial/common/yarn.lock @@ -45,10 +45,10 @@ resolved "https://registry.yarnpkg.com/@cowprotocol/contracts/-/contracts-1.4.0.tgz#e93e5f25aac76feeaa348fa57231903274676247" integrity sha512-XLs3SlPmXD4lbiWIO7mxxuCn1eE5isuO6EUlE1cj17HqN/wukDAN0xXYPx6umOH/XdjGS33miMiPHELEyY9siw== -"@cowprotocol/cow-sdk@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@cowprotocol/cow-sdk/-/cow-sdk-4.0.3.tgz#bd4da3e1821c33e6f5a29e04786aaa16c346bb02" - integrity sha512-bEGpHwfFpUv4he5kH99gmmJU1kZaqRH4JUCeFqIzZAxey86i+qLzVS00r3GDw5o/tKYY/0677hgusH2srr8MZw== +"@cowprotocol/cow-sdk@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@cowprotocol/cow-sdk/-/cow-sdk-5.0.0.tgz#16252d3f27e90f94944b60c284bfd3ce2724938f" + integrity sha512-ZdNN5GJe+amyfKFG9Fg/8pNHjvV9IxjeNsUh3gw1eUqpcao2elcaeuSogi8TEaSlbVh6PXa5l+QRHdJIjUqplQ== dependencies: "@cowprotocol/contracts" "^1.4.0" "@ethersproject/abstract-signer" "^5.7.0"