diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c90e62559..f9274ac94b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +### [0.25.16-rc.4](https://github.com/dashpay/platform/compare/v0.25.16-rc.3...v0.25.16-rc.4) (2023-11-24) + + +### ⚠ BREAKING CHANGES + +* data contracts require position to be defined for object properties +* previously created state is not compatible + +### Features + +* **platform:** document serialization across versions ([#1594](https://github.com/dashpay/platform/issues/1594)) + + +### Bug Fixes + +* drive produces wrong app hash after restart ([#1586](https://github.com/dashpay/platform/issues/1586)) + + ### [0.25.16-rc.3](https://github.com/dashpay/platform/compare/v0.25.16-rc.2...v0.25.16-rc.3) (2023-11-23) ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index 3e0345b7db..348b58dd21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -961,7 +961,7 @@ dependencies = [ [[package]] name = "dapi-grpc" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "dapi-grpc-macros", "platform-version", @@ -975,7 +975,7 @@ dependencies = [ [[package]] name = "dapi-grpc-macros" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "dapi-grpc", "heck", @@ -1081,7 +1081,7 @@ dependencies = [ [[package]] name = "dashpay-contract" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "platform-value", "serde_json", @@ -1089,7 +1089,7 @@ dependencies = [ [[package]] name = "data-contracts" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "dashpay-contract", "dpns-contract", @@ -1180,7 +1180,7 @@ checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] name = "dpns-contract" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "platform-value", "serde_json", @@ -1188,7 +1188,7 @@ dependencies = [ [[package]] name = "dpp" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "anyhow", "async-trait", @@ -1239,7 +1239,7 @@ dependencies = [ [[package]] name = "drive" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "anyhow", "base64 0.21.5", @@ -1274,7 +1274,7 @@ dependencies = [ [[package]] name = "drive-abci" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "atty", "base64 0.20.0", @@ -1328,7 +1328,7 @@ dependencies = [ [[package]] name = "drive-proof-verifier" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "dapi-grpc", "dpp", @@ -1528,7 +1528,7 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "feature-flags-contract" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "platform-value", "serde_json", @@ -2385,7 +2385,7 @@ dependencies = [ [[package]] name = "masternode-reward-shares-contract" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "platform-value", "serde_json", @@ -2863,7 +2863,7 @@ checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] name = "platform-serialization" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "bincode 2.0.0-rc.3", "platform-version", @@ -2871,7 +2871,7 @@ dependencies = [ [[package]] name = "platform-serialization-derive" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "proc-macro2", "quote", @@ -2881,7 +2881,7 @@ dependencies = [ [[package]] name = "platform-value" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "base64 0.13.1", "bincode 2.0.0-rc.3", @@ -2902,7 +2902,7 @@ dependencies = [ [[package]] name = "platform-value-convertible" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "quote", "syn 2.0.38", @@ -2910,14 +2910,14 @@ dependencies = [ [[package]] name = "platform-version" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "thiserror", ] [[package]] name = "platform-versioning" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "proc-macro2", "quote", @@ -3458,7 +3458,7 @@ dependencies = [ [[package]] name = "rs-dapi-client" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "backon", "chrono", @@ -3478,7 +3478,7 @@ dependencies = [ [[package]] name = "rs-sdk" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "async-trait", "base64 0.21.5", @@ -3925,7 +3925,7 @@ checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" [[package]] name = "simple-signer" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "anyhow", "bincode 2.0.0-rc.3", @@ -4016,7 +4016,7 @@ dependencies = [ [[package]] name = "strategy-tests" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "bincode 2.0.0-rc.3", "dpp", @@ -4856,7 +4856,7 @@ checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" [[package]] name = "wasm-dpp" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "anyhow", "async-trait", @@ -5032,7 +5032,7 @@ dependencies = [ [[package]] name = "withdrawals-contract" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" dependencies = [ "num_enum", "platform-value", diff --git a/package.json b/package.json index 41ebf385b6..2b0bfb1c4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/platform", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "private": true, "scripts": { "setup": "yarn install && yarn run build && yarn run configure", diff --git a/packages/bench-suite/package.json b/packages/bench-suite/package.json index 89dd849892..201334e8d9 100644 --- a/packages/bench-suite/package.json +++ b/packages/bench-suite/package.json @@ -1,7 +1,7 @@ { "name": "@dashevo/bench-suite", "private": true, - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Dash Platform benchmark tool", "scripts": { "bench": "node ./bin/bench.js", diff --git a/packages/dapi-grpc/Cargo.toml b/packages/dapi-grpc/Cargo.toml index f783f0e1b2..a59b8c9e84 100644 --- a/packages/dapi-grpc/Cargo.toml +++ b/packages/dapi-grpc/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dapi-grpc" description = "GRPC client for Dash Platform" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" authors = [ "Samuel Westrich ", "Igor Markin ", diff --git a/packages/dapi-grpc/package.json b/packages/dapi-grpc/package.json index cdeb613e0d..e8820ebf5a 100644 --- a/packages/dapi-grpc/package.json +++ b/packages/dapi-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dapi-grpc", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "DAPI GRPC definition file and generated clients", "browser": "browser.js", "main": "node.js", diff --git a/packages/dapi/package.json b/packages/dapi/package.json index 2abceab3af..ba9f7dbef2 100644 --- a/packages/dapi/package.json +++ b/packages/dapi/package.json @@ -1,7 +1,7 @@ { "name": "@dashevo/dapi", "private": true, - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "A decentralized API for the Dash network", "scripts": { "api": "node scripts/api.js", diff --git a/packages/dash-spv/package.json b/packages/dash-spv/package.json index 8132592e9a..369029fb25 100644 --- a/packages/dash-spv/package.json +++ b/packages/dash-spv/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dash-spv", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Repository containing SPV functions used by @dashevo", "main": "index.js", "scripts": { diff --git a/packages/dashmate/package.json b/packages/dashmate/package.json index 6f1d3de6f6..ef59b9f052 100644 --- a/packages/dashmate/package.json +++ b/packages/dashmate/package.json @@ -1,6 +1,6 @@ { "name": "dashmate", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Distribution package for Dash node installation", "scripts": { "lint": "eslint .", diff --git a/packages/dashpay-contract/Cargo.toml b/packages/dashpay-contract/Cargo.toml index 14f6d3ac05..16000e1b76 100644 --- a/packages/dashpay-contract/Cargo.toml +++ b/packages/dashpay-contract/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dashpay-contract" description = "DashPay data contract schema and tools" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/dashpay-contract/package.json b/packages/dashpay-contract/package.json index 6afd37d22e..8a6b39f42a 100644 --- a/packages/dashpay-contract/package.json +++ b/packages/dashpay-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dashpay-contract", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Reference contract of the DashPay DPA on Dash Evolution", "scripts": { "lint": "eslint .", diff --git a/packages/data-contracts/Cargo.toml b/packages/data-contracts/Cargo.toml index 4036090fe2..28d5850a91 100644 --- a/packages/data-contracts/Cargo.toml +++ b/packages/data-contracts/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "data-contracts" description = "Dash Platform system data contracts" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/dpns-contract/Cargo.toml b/packages/dpns-contract/Cargo.toml index 9f1d2b895f..e6e4ba6305 100644 --- a/packages/dpns-contract/Cargo.toml +++ b/packages/dpns-contract/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dpns-contract" description = "DPNS data contract schema and tools" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/dpns-contract/package.json b/packages/dpns-contract/package.json index d8b5c9ea17..8980bccf20 100644 --- a/packages/dpns-contract/package.json +++ b/packages/dpns-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dpns-contract", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "A contract and helper scripts for DPNS DApp", "scripts": { "lint": "eslint .", diff --git a/packages/feature-flags-contract/Cargo.toml b/packages/feature-flags-contract/Cargo.toml index 1fc52ee1a6..be69a919c4 100644 --- a/packages/feature-flags-contract/Cargo.toml +++ b/packages/feature-flags-contract/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "feature-flags-contract" description = "Feature flags data contract schema and tools" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/feature-flags-contract/package.json b/packages/feature-flags-contract/package.json index ce4ad193fb..f89ccc7e6e 100644 --- a/packages/feature-flags-contract/package.json +++ b/packages/feature-flags-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/feature-flags-contract", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Data Contract to store Dash Platform feature flags", "scripts": { "build": "", diff --git a/packages/js-dapi-client/package.json b/packages/js-dapi-client/package.json index 3ad34d9a75..c8ababfc31 100644 --- a/packages/js-dapi-client/package.json +++ b/packages/js-dapi-client/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dapi-client", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Client library used to access Dash DAPI endpoints", "main": "lib/index.js", "contributors": [ diff --git a/packages/js-dash-sdk/package.json b/packages/js-dash-sdk/package.json index 7de8140454..919692bea1 100644 --- a/packages/js-dash-sdk/package.json +++ b/packages/js-dash-sdk/package.json @@ -1,6 +1,6 @@ { "name": "dash", - "version": "3.25.16-rc.3", + "version": "3.25.16-rc.4", "description": "Dash library for JavaScript/TypeScript ecosystem (Wallet, DAPI, Primitives, BLS, ...)", "main": "build/index.js", "unpkg": "dist/dash.min.js", diff --git a/packages/js-grpc-common/package.json b/packages/js-grpc-common/package.json index 2ab47c015d..a8b8f750d9 100644 --- a/packages/js-grpc-common/package.json +++ b/packages/js-grpc-common/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/grpc-common", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Common GRPC library", "main": "index.js", "scripts": { diff --git a/packages/masternode-reward-shares-contract/Cargo.toml b/packages/masternode-reward-shares-contract/Cargo.toml index 2c7b63dfcf..adc00d99ee 100644 --- a/packages/masternode-reward-shares-contract/Cargo.toml +++ b/packages/masternode-reward-shares-contract/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "masternode-reward-shares-contract" description = "Masternode reward shares data contract schema and tools" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/masternode-reward-shares-contract/package.json b/packages/masternode-reward-shares-contract/package.json index 4401757413..74e64a093f 100644 --- a/packages/masternode-reward-shares-contract/package.json +++ b/packages/masternode-reward-shares-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/masternode-reward-shares-contract", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "A contract and helper scripts for reward sharing", "scripts": { "lint": "eslint .", diff --git a/packages/platform-test-suite/package.json b/packages/platform-test-suite/package.json index aa26b2eb34..5080e08ab9 100644 --- a/packages/platform-test-suite/package.json +++ b/packages/platform-test-suite/package.json @@ -1,7 +1,7 @@ { "name": "@dashevo/platform-test-suite", "private": true, - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Dash Network end-to-end tests", "scripts": { "test": "yarn exec bin/test.sh", diff --git a/packages/rs-dapi-client/Cargo.toml b/packages/rs-dapi-client/Cargo.toml index f74109a2a4..9ad9fa74fc 100644 --- a/packages/rs-dapi-client/Cargo.toml +++ b/packages/rs-dapi-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rs-dapi-client" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" [features] diff --git a/packages/rs-dapi-grpc-macros/Cargo.toml b/packages/rs-dapi-grpc-macros/Cargo.toml index 70a9d39554..5e0c45b136 100644 --- a/packages/rs-dapi-grpc-macros/Cargo.toml +++ b/packages/rs-dapi-grpc-macros/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dapi-grpc-macros" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" description = "Macros used by dapi-grpc. Internal use only." diff --git a/packages/rs-dpp/Cargo.toml b/packages/rs-dpp/Cargo.toml index 5454a9c0df..c781fcf31c 100644 --- a/packages/rs-dpp/Cargo.toml +++ b/packages/rs-dpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dpp" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" authors = [ diff --git a/packages/rs-drive-abci/Cargo.toml b/packages/rs-drive-abci/Cargo.toml index 3a9b10ba2f..70ac33fc4f 100644 --- a/packages/rs-drive-abci/Cargo.toml +++ b/packages/rs-drive-abci/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "drive-abci" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" authors = [ "Samuel Westrich ", "Ivan Shumkov ", diff --git a/packages/rs-drive-proof-verifier/Cargo.toml b/packages/rs-drive-proof-verifier/Cargo.toml index 0ea33ac6e0..d4c0c5fbb3 100644 --- a/packages/rs-drive-proof-verifier/Cargo.toml +++ b/packages/rs-drive-proof-verifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "drive-proof-verifier" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" diff --git a/packages/rs-drive/Cargo.toml b/packages/rs-drive/Cargo.toml index 6476bbb1c5..9efc258876 100644 --- a/packages/rs-drive/Cargo.toml +++ b/packages/rs-drive/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "drive" description = "Dash drive built on top of GroveDB" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" authors = [ "Samuel Westrich ", "Ivan Shumkov ", diff --git a/packages/rs-platform-serialization-derive/Cargo.toml b/packages/rs-platform-serialization-derive/Cargo.toml index ed89f7d483..590ff9d3ef 100644 --- a/packages/rs-platform-serialization-derive/Cargo.toml +++ b/packages/rs-platform-serialization-derive/Cargo.toml @@ -2,7 +2,7 @@ name = "platform-serialization-derive" authors = ["Samuel Westrich "] description = "Bincode serialization and deserialization derivations" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/rs-platform-serialization/Cargo.toml b/packages/rs-platform-serialization/Cargo.toml index e26641b55d..5481240270 100644 --- a/packages/rs-platform-serialization/Cargo.toml +++ b/packages/rs-platform-serialization/Cargo.toml @@ -2,7 +2,7 @@ name = "platform-serialization" authors = ["Samuel Westrich "] description = "Bincode based serialization and deserialization" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/rs-platform-value-convertible/Cargo.toml b/packages/rs-platform-value-convertible/Cargo.toml index 51845b7eb2..d5482f8f47 100644 --- a/packages/rs-platform-value-convertible/Cargo.toml +++ b/packages/rs-platform-value-convertible/Cargo.toml @@ -2,7 +2,7 @@ name = "platform-value-convertible" authors = ["Samuel Westrich "] description = "Convertion to and from platform values" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/rs-platform-value/Cargo.toml b/packages/rs-platform-value/Cargo.toml index f702665e93..8b98179ae7 100644 --- a/packages/rs-platform-value/Cargo.toml +++ b/packages/rs-platform-value/Cargo.toml @@ -2,7 +2,7 @@ name = "platform-value" authors = ["Samuel Westrich "] description = "A simple value module" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/rs-platform-version/Cargo.toml b/packages/rs-platform-version/Cargo.toml index 2899f14b81..54c1a563f3 100644 --- a/packages/rs-platform-version/Cargo.toml +++ b/packages/rs-platform-version/Cargo.toml @@ -2,7 +2,7 @@ name = "platform-version" authors = ["Samuel Westrich "] description = "Bincode based serialization and deserialization" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/rs-platform-versioning/Cargo.toml b/packages/rs-platform-versioning/Cargo.toml index 2b36c07894..ac29fb8507 100644 --- a/packages/rs-platform-versioning/Cargo.toml +++ b/packages/rs-platform-versioning/Cargo.toml @@ -2,7 +2,7 @@ name = "platform-versioning" authors = ["Samuel Westrich "] description = "Version derivation" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/rs-sdk/Cargo.toml b/packages/rs-sdk/Cargo.toml index 2a578872f8..12c3adad34 100644 --- a/packages/rs-sdk/Cargo.toml +++ b/packages/rs-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rs-sdk" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" [dependencies] diff --git a/packages/simple-signer/Cargo.toml b/packages/simple-signer/Cargo.toml index fbc61e863e..2e6f0e07bc 100644 --- a/packages/simple-signer/Cargo.toml +++ b/packages/simple-signer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "simple-signer" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" diff --git a/packages/strategy-tests/Cargo.toml b/packages/strategy-tests/Cargo.toml index c92bebbf5a..9bc1f980dc 100644 --- a/packages/strategy-tests/Cargo.toml +++ b/packages/strategy-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "strategy-tests" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" authors = [ "Samuel Westrich ", "Ivan Shumkov ", diff --git a/packages/wallet-lib/package.json b/packages/wallet-lib/package.json index 9779bfaf90..0c349f2974 100644 --- a/packages/wallet-lib/package.json +++ b/packages/wallet-lib/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/wallet-lib", - "version": "7.25.16-rc.3", + "version": "7.25.16-rc.4", "description": "Light wallet library for Dash", "main": "src/index.js", "unpkg": "dist/wallet-lib.min.js", diff --git a/packages/wasm-dpp/Cargo.toml b/packages/wasm-dpp/Cargo.toml index 2502d25b31..d092f8d2b6 100644 --- a/packages/wasm-dpp/Cargo.toml +++ b/packages/wasm-dpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-dpp" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" authors = ["Anton Suprunchuk "] diff --git a/packages/wasm-dpp/package.json b/packages/wasm-dpp/package.json index b6006c75c0..accb41836c 100644 --- a/packages/wasm-dpp/package.json +++ b/packages/wasm-dpp/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/wasm-dpp", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "The JavaScript implementation of the Dash Platform Protocol", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/withdrawals-contract/Cargo.toml b/packages/withdrawals-contract/Cargo.toml index 26e9deb76e..ba15291784 100644 --- a/packages/withdrawals-contract/Cargo.toml +++ b/packages/withdrawals-contract/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "withdrawals-contract" description = "Witdrawals data contract schema and tools" -version = "0.25.16-rc.3" +version = "0.25.16-rc.4" edition = "2021" rust-version = "1.73" license = "MIT" diff --git a/packages/withdrawals-contract/package.json b/packages/withdrawals-contract/package.json index 33ea2222e9..48308c3082 100644 --- a/packages/withdrawals-contract/package.json +++ b/packages/withdrawals-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/withdrawals-contract", - "version": "0.25.16-rc.3", + "version": "0.25.16-rc.4", "description": "Data Contract to manipulate and track withdrawals", "scripts": { "build": "", diff --git a/scripts/utils/packagesIterator.js b/scripts/utils/packagesIterator.js index cd7b8e6a58..80d2e7eded 100644 --- a/scripts/utils/packagesIterator.js +++ b/scripts/utils/packagesIterator.js @@ -19,14 +19,13 @@ module.exports = { rust: function *() { const rootDir = path.join(__dirname, '..', '..'); - const packagesDir = path.join(rootDir, 'packages') + const rootCargoPath = path.join(rootDir, 'Cargo.toml'); + const rootCargoFileString = readFileSync(rootCargoPath); - const allPackages = readdirSync(packagesDir).filter(e => e !== 'README.md') + const { workspace : { members }} = TOML.parse(rootCargoFileString); - const rustPackages = allPackages.filter(e => readdirSync(path.join(packagesDir, e)).indexOf('Cargo.toml') !== -1) - - for (const rustPackage of rustPackages) { - const filename = path.join(packagesDir, rustPackage, 'Cargo.toml'); + for (const rustPackage of members) { + const filename = path.join(rootDir, rustPackage, 'Cargo.toml'); const cargoFile = readFileSync(filename); yield {filename, toml: TOML.parse(cargoFile)};