From d4704fc79176121c63d979e33b56c9817b02ff3c Mon Sep 17 00:00:00 2001 From: Ludovic Levalleux Date: Mon, 8 Apr 2024 15:14:45 +0100 Subject: [PATCH] upgrade the Amoy testing protocol addresses and startBlock --- packages/common/src/configs.ts | 4 ++-- packages/subgraph/scripts/render-manifest.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/common/src/configs.ts b/packages/common/src/configs.ts index 19ab24109..fc69e4462 100644 --- a/packages/common/src/configs.ts +++ b/packages/common/src/configs.ts @@ -86,8 +86,8 @@ export const envConfigs: Record = { theGraphIpfsUrl: "https://api.thegraph.com/ipfs/api/v0", ipfsMetadataUrl: "https://ipfs.infura.io:5001", contracts: { - protocolDiamond: "0x????????????????????????????????????????", // TODO: to be defined - forwarder: "0x????????????????????????????????????????" // TODO: to be defined + protocolDiamond: "0x7de418a7ce94debd057c34ebac232e7027634ade", + forwarder: "0xd240234dacd7ffdca7e4effcf6c7190885d7e2f0" // https://github.com/bosonprotocol/boson-protocol-contracts/blob/8f2eeedba90a124b199842ffbed9c019444eef4f/scripts/config/client-upgrade.js#L11 }, metaTx: { relayerUrl: "https://api.biconomy.io", diff --git a/packages/subgraph/scripts/render-manifest.ts b/packages/subgraph/scripts/render-manifest.ts index 2b24619ba..e038ee85b 100644 --- a/packages/subgraph/scripts/render-manifest.ts +++ b/packages/subgraph/scripts/render-manifest.ts @@ -37,8 +37,8 @@ const envNameToConfig: Record< startBlock: 35370695 // mumbai, this is NOT the block number when the protocol was deployed (manual override as there was an error in the subgraph) }, "testing-80002-0": { - network: "amoy", // TO BE CONFIRMED - startBlock: 4958511 // TODO: change it + network: "amoy", + startBlock: 5608358 // amoy, block number when protocol was deployed https://www.oklink.com/amoy/tx/0x4c5fa4ecdaef460d53e14302b4acc99a51379f13c1c435e4d7faca6e09bf6ab0 }, "testing-5-0": { network: "goerli",