Skip to content

Commit

Permalink
Merge pull request #107 from Cerebellum-Network/feature/update-sc-add…
Browse files Browse the repository at this point in the history
…ress

Update SC addresses
  • Loading branch information
skambalin authored Sep 1, 2023
2 parents 0c82c1d + 421a686 commit 7160b01
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 56 deletions.
8 changes: 1 addition & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
58 changes: 29 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 4 additions & 4 deletions packages/content-addressable-storage/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 6 additions & 6 deletions packages/ddc-client/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/file-storage/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/key-value-storage/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/proto/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/smart-contract/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/smart-contract/src/options/SmartContractOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 7160b01

Please sign in to comment.