From 421a686a679d5ebe799c81b68212c6efb2e97c98 Mon Sep 17 00:00:00 2001 From: Sergey Kambalin Date: Fri, 1 Sep 2023 17:58:57 +0600 Subject: [PATCH] Update SC addresses --- CHANGELOG.md | 8 +-- package-lock.json | 58 +++++++++---------- package.json | 2 +- .../content-addressable-storage/package.json | 8 +-- packages/core/package.json | 2 +- packages/ddc-client/package.json | 12 ++-- packages/file-storage/package.json | 4 +- packages/key-value-storage/package.json | 4 +- packages/proto/package.json | 2 +- packages/smart-contract/package.json | 2 +- .../src/options/SmartContractOptions.ts | 4 +- 11 files changed, 50 insertions(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d047082a..6ec59e3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,14 +4,8 @@ - -### v1.7.6-rc.4 +### v1.7.6 - Update Smart Contract addresses for all environments - -### v1.7.6-rc.3 - - Minor changes for browser version of the SDK - -### v1.7.6-rc.2 - - Update `@polkadot/api` and related packages to `v9.4.1` diff --git a/package-lock.json b/package-lock.json index dde906cc..ccaab3a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cere-ddc-sdk", - "version": "1.7.6-rc.4", + "version": "1.7.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cere-ddc-sdk", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "workspaces": [ "packages/*" @@ -13791,12 +13791,12 @@ }, "packages/content-addressable-storage": { "name": "@cere-ddc-sdk/content-addressable-storage", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "dependencies": { - "@cere-ddc-sdk/core": "1.7.6-rc.4", - "@cere-ddc-sdk/proto": "1.7.6-rc.4", - "@cere-ddc-sdk/smart-contract": "1.7.6-rc.4", + "@cere-ddc-sdk/core": "1.7.6", + "@cere-ddc-sdk/proto": "1.7.6", + "@cere-ddc-sdk/smart-contract": "1.7.6", "@polkadot/util": "^10.1.8", "@polkadot/util-crypto": "^10.1.8", "nanoid": "3.3.3", @@ -13950,7 +13950,7 @@ }, "packages/core": { "name": "@cere-ddc-sdk/core", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "dependencies": { "@polkadot/keyring": "^10.1.8", @@ -14862,14 +14862,14 @@ }, "packages/ddc-client": { "name": "@cere-ddc-sdk/ddc-client", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "dependencies": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/core": "1.7.6-rc.4", - "@cere-ddc-sdk/file-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/key-value-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/smart-contract": "1.7.6-rc.4", + "@cere-ddc-sdk/content-addressable-storage": "1.7.6", + "@cere-ddc-sdk/core": "1.7.6", + "@cere-ddc-sdk/file-storage": "1.7.6", + "@cere-ddc-sdk/key-value-storage": "1.7.6", + "@cere-ddc-sdk/smart-contract": "1.7.6", "@polkadot/util": "^10.1.8", "@polkadot/util-crypto": "^10.1.8" }, @@ -15022,10 +15022,10 @@ }, "packages/file-storage": { "name": "@cere-ddc-sdk/file-storage", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "dependencies": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4" + "@cere-ddc-sdk/content-addressable-storage": "1.7.6" }, "devDependencies": { "@types/node": "^16.0.0", @@ -15036,10 +15036,10 @@ }, "packages/key-value-storage": { "name": "@cere-ddc-sdk/key-value-storage", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "dependencies": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4" + "@cere-ddc-sdk/content-addressable-storage": "1.7.6" }, "devDependencies": { "@types/node": "^16.0.0", @@ -15063,7 +15063,7 @@ }, "packages/proto": { "name": "@cere-ddc-sdk/proto", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "devDependencies": { "@protobuf-ts/plugin": "^2.2.2", @@ -15073,7 +15073,7 @@ }, "packages/smart-contract": { "name": "@cere-ddc-sdk/smart-contract", - "version": "1.7.6-rc.4", + "version": "1.7.6", "license": "Apache-2.0", "dependencies": { "@polkadot/api": "9.4.1", @@ -17969,9 +17969,9 @@ "@cere-ddc-sdk/content-addressable-storage": { "version": "file:packages/content-addressable-storage", "requires": { - "@cere-ddc-sdk/core": "1.7.6-rc.4", - "@cere-ddc-sdk/proto": "1.7.6-rc.4", - "@cere-ddc-sdk/smart-contract": "1.7.6-rc.4", + "@cere-ddc-sdk/core": "1.7.6", + "@cere-ddc-sdk/proto": "1.7.6", + "@cere-ddc-sdk/smart-contract": "1.7.6", "@polkadot/util": "^10.1.8", "@polkadot/util-crypto": "^10.1.8", "@types/node": "^16.0.0", @@ -18765,11 +18765,11 @@ "@cere-ddc-sdk/ddc-client": { "version": "file:packages/ddc-client", "requires": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/core": "1.7.6-rc.4", - "@cere-ddc-sdk/file-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/key-value-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/smart-contract": "1.7.6-rc.4", + "@cere-ddc-sdk/content-addressable-storage": "1.7.6", + "@cere-ddc-sdk/core": "1.7.6", + "@cere-ddc-sdk/file-storage": "1.7.6", + "@cere-ddc-sdk/key-value-storage": "1.7.6", + "@cere-ddc-sdk/smart-contract": "1.7.6", "@polkadot/extension-inject": "0.44.6", "@polkadot/util": "^10.1.8", "@polkadot/util-crypto": "^10.1.8", @@ -18883,7 +18883,7 @@ "@cere-ddc-sdk/file-storage": { "version": "file:packages/file-storage", "requires": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4", + "@cere-ddc-sdk/content-addressable-storage": "1.7.6", "@types/node": "^16.0.0", "clean-publish": "^4.0.1", "rimraf": "^3.0.2", @@ -18893,7 +18893,7 @@ "@cere-ddc-sdk/key-value-storage": { "version": "file:packages/key-value-storage", "requires": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4", + "@cere-ddc-sdk/content-addressable-storage": "1.7.6", "@types/node": "^16.0.0", "clean-publish": "^4.0.1", "rimraf": "^3.0.2", diff --git a/package.json b/package.json index 15d32c5f..7a19cc5b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cere-ddc-sdk", "description": "Cere DDC SDK for JavaScript", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "private": true, "repository": { diff --git a/packages/content-addressable-storage/package.json b/packages/content-addressable-storage/package.json index 60bdcc9d..27b6a543 100644 --- a/packages/content-addressable-storage/package.json +++ b/packages/content-addressable-storage/package.json @@ -1,7 +1,7 @@ { "name": "@cere-ddc-sdk/content-addressable-storage", "description": "Content-addressable storage client", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "repository": { "type": "git", @@ -45,9 +45,9 @@ "clean": "rimraf dist package" }, "dependencies": { - "@cere-ddc-sdk/core": "1.7.6-rc.4", - "@cere-ddc-sdk/proto": "1.7.6-rc.4", - "@cere-ddc-sdk/smart-contract": "1.7.6-rc.4", + "@cere-ddc-sdk/core": "1.7.6", + "@cere-ddc-sdk/proto": "1.7.6", + "@cere-ddc-sdk/smart-contract": "1.7.6", "@polkadot/util": "^10.1.8", "@polkadot/util-crypto": "^10.1.8", "nanoid": "3.3.3", diff --git a/packages/core/package.json b/packages/core/package.json index eb3f559f..47bead9f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@cere-ddc-sdk/core", "description": "Core with common logic", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "repository": { "type": "git", diff --git a/packages/ddc-client/package.json b/packages/ddc-client/package.json index a25a0866..1dfd6054 100644 --- a/packages/ddc-client/package.json +++ b/packages/ddc-client/package.json @@ -1,7 +1,7 @@ { "name": "@cere-ddc-sdk/ddc-client", "description": "DDC client", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "repository": { "type": "git", @@ -45,11 +45,11 @@ "clean": "rimraf dist package" }, "dependencies": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/core": "1.7.6-rc.4", - "@cere-ddc-sdk/file-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/key-value-storage": "1.7.6-rc.4", - "@cere-ddc-sdk/smart-contract": "1.7.6-rc.4", + "@cere-ddc-sdk/content-addressable-storage": "1.7.6", + "@cere-ddc-sdk/core": "1.7.6", + "@cere-ddc-sdk/file-storage": "1.7.6", + "@cere-ddc-sdk/key-value-storage": "1.7.6", + "@cere-ddc-sdk/smart-contract": "1.7.6", "@polkadot/util": "^10.1.8", "@polkadot/util-crypto": "^10.1.8" }, diff --git a/packages/file-storage/package.json b/packages/file-storage/package.json index 5ef30688..68f18d3f 100644 --- a/packages/file-storage/package.json +++ b/packages/file-storage/package.json @@ -1,7 +1,7 @@ { "name": "@cere-ddc-sdk/file-storage", "description": "File storage client", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "repository": { "type": "git", @@ -44,7 +44,7 @@ "clean": "rimraf dist package" }, "dependencies": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4" + "@cere-ddc-sdk/content-addressable-storage": "1.7.6" }, "devDependencies": { "@types/node": "^16.0.0", diff --git a/packages/key-value-storage/package.json b/packages/key-value-storage/package.json index a00c3ae6..9baa167c 100644 --- a/packages/key-value-storage/package.json +++ b/packages/key-value-storage/package.json @@ -1,7 +1,7 @@ { "name": "@cere-ddc-sdk/key-value-storage", "description": "Key-value storage client", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "repository": { "type": "git", @@ -32,7 +32,7 @@ "clean": "rimraf dist package" }, "dependencies": { - "@cere-ddc-sdk/content-addressable-storage": "1.7.6-rc.4" + "@cere-ddc-sdk/content-addressable-storage": "1.7.6" }, "devDependencies": { "@types/node": "^16.0.0", diff --git a/packages/proto/package.json b/packages/proto/package.json index 103efe60..59700387 100644 --- a/packages/proto/package.json +++ b/packages/proto/package.json @@ -1,7 +1,7 @@ { "name": "@cere-ddc-sdk/proto", "description": "Storage protocol buffer models", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "main": "./dist/index.cjs", "types": "./dist/types", diff --git a/packages/smart-contract/package.json b/packages/smart-contract/package.json index 8976ed90..e37c311e 100644 --- a/packages/smart-contract/package.json +++ b/packages/smart-contract/package.json @@ -1,7 +1,7 @@ { "name": "@cere-ddc-sdk/smart-contract", "description": "Smart contract client", - "version": "1.7.6-rc.4", + "version": "1.7.6", "type": "module", "repository": { "type": "git", diff --git a/packages/smart-contract/src/options/SmartContractOptions.ts b/packages/smart-contract/src/options/SmartContractOptions.ts index efda48f5..cfa504ca 100644 --- a/packages/smart-contract/src/options/SmartContractOptions.ts +++ b/packages/smart-contract/src/options/SmartContractOptions.ts @@ -14,13 +14,13 @@ export const MAINNET: SmartContractOptions = { export const TESTNET: SmartContractOptions = { rpcUrl: 'wss://rpc.devnet.cere.network/ws', - contractAddress: '6U4v33M7LmJ8ZPXBtcYRvF5cuttLvZqQQEcfpbfzBrqTSUbg', + contractAddress: '6UhsrTkkqbXTSoD4GJ15cQxc5tkWR1ecV7wK8VDSQokCyAmw', abi: ddcBucketAbi, }; export const DEVNET: SmartContractOptions = { rpcUrl: 'wss://archive.devnet.cere.network/ws', - contractAddress: '6SrAzgZBdn7aeoXZzXS6jkbNmnN18fQUHUWeN21NB7yLEt3U', + contractAddress: '6T6VK3YfpsTfK4HtHkjGKubU322pmEmbUfmf1GLdydh772t1', abi: ddcBucketAbi, };