Skip to content

Commit

Permalink
fix: fixing sdk merge (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer authored Nov 6, 2023
2 parents 2e2694a + 81f0327 commit 6cad150
Show file tree
Hide file tree
Showing 156 changed files with 36,823 additions and 14,568 deletions.
3 changes: 0 additions & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ packageExtensions:
karma-mocha@*:
dependencies:
mocha: ^9.1.2
pino@*:
dependencies:
pino-pretty: ^4.0.3
ts-node@*:
dependencies:
typescript: ^3.9.5
Expand Down
78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
### [0.25.10](https://github.com/dashpay/platform/compare/v0.25.9...v0.25.10) (2023-11-02)

### Bug Fixes

* **dashmate:** invalid SSL path in the obtain command ([#1553](https://github.com/dashpay/platform/issues/1553))



### [0.25.9](https://github.com/dashpay/platform/compare/v0.25.8...v0.25.9) (2023-11-02)


### ⚠ BREAKING CHANGES

* DAPI proto messages are changed (#1542)
* Consensus rules for Identity Create and TopUp are changed. (#1510)
* Asset Lock Proof structure is changed (#1510)
* Identity Create Transition balance validation requires correct amount (twice more) (#1510)
* **dashmate:** `enabledCount` is replaced with `masternodeEnabled` in the masternode status output (#1505)
* **dashmate:** SSL keys are now stored in the node's config subdirectory (#1502)

### Features

* **dashmate:** add cli command for core service ([#1501](https://github.com/dashpay/platform/issues/1501))
* **dashmate:** configure dashd command arguments ([#1520](https://github.com/dashpay/platform/issues/1520))
* **dashmate:** docker build command ([#1546](https://github.com/dashpay/platform/issues/1546))
* **dashmate:** docker build command ([#1546](https://github.com/dashpay/platform/issues/1546))
* **dashmate:** move ssl dir ([#1502](https://github.com/dashpay/platform/issues/1502))
* identity funding with asset lock special transactions ([#1510](https://github.com/dashpay/platform/issues/1510))
* **platform:** proto message and query versioning ([#1522](https://github.com/dashpay/platform/issues/1522))
* **platform:** query version upgrade (both votes and status) and epoch info ([#1542](https://github.com/dashpay/platform/issues/1542))


### Bug Fixes

* **dashmate:** payment queue and extend enabled count ([#1505](https://github.com/dashpay/platform/issues/1505))
* **dashmate:** reset command doesn't reset configs ([#1541](https://github.com/dashpay/platform/issues/1541))
* **drive:** mishandling internal errors as validation ones ([#1492](https://github.com/dashpay/platform/issues/1492))
* security advisories in browserify-sign and crypto-js ([#1548](https://github.com/dashpay/platform/issues/1548))


### Performance Improvements

* **dashmate:** disable config auto render ([#1499](https://github.com/dashpay/platform/issues/1499))
* **dashmate:** speedup container cleanup ([#1518](https://github.com/dashpay/platform/issues/1518))


### Continuous Integration

* fix s3 layer cache access forbidden on 8x runners ([#1521](https://github.com/dashpay/platform/issues/1521))


### Tests

* **dashmate:** successful migration test ([#1500](https://github.com/dashpay/platform/issues/1500))
* **test-suite:** add optional bail ([#1488](https://github.com/dashpay/platform/issues/1488))


### Build System

* update rust to 1.73 ([#1529](https://github.com/dashpay/platform/issues/1529))


### Code Refactoring

* remove js-dpp ([#1517](https://github.com/dashpay/platform/issues/1517))


### Documentation

* Update README.md to give information about correctly adding to correct Shell $PATH ([#1550](https://github.com/dashpay/platform/issues/1550))


### Miscellaneous Chores

* adds missing crypto js ([#1538](https://github.com/dashpay/platform/issues/1538))
* **dashmate:** set tenderdash logging level to info ([#1540](https://github.com/dashpay/platform/issues/1540))
* **dpp:** version `InstantAssetLockProof.validate_structure` ([#1549](https://github.com/dashpay/platform/issues/1549))

### [0.25.8](https://github.com/dashpay/platform/compare/v0.25.7...v0.25.8) (2023-10-20)


Expand Down
44 changes: 26 additions & 18 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ this repository may be used on the following networks:
- [wasm-bingen toolchain](https://rustwasm.github.io/wasm-bindgen/):
- **IMPORTANT (OSX only)**: built-in `llvm` on OSX does not work, needs to be installed from brew:
- `brew install llvm`
- LLVM installed from brew is keg only, and path to it must be provided in the profile file, e.g.`echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc`
- LLVM installed from brew is keg only, and path to it must be provided in the profile file,
in terminal run `echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc` or `echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.bash_profile` depending on your default shell.
You can find your default shell with `echo $SHELL`
- Reload your shell with `source ~/.zshrc` or `source ~/.bash_profile`
- install `protoc` - protobuf compiler:
- on debian/ubuntu: `apt install -y protobuf-compiler`
- on Mac: `brew install protobuf`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashevo/platform",
"version": "0.25.8",
"version": "0.25.10",
"private": true,
"scripts": {
"setup": "yarn install && yarn run build && yarn run configure",
Expand Down
2 changes: 1 addition & 1 deletion packages/bench-suite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dashevo/bench-suite",
"private": true,
"version": "0.25.8",
"version": "0.25.10",
"description": "Dash Platform benchmark tool",
"scripts": {
"bench": "node ./bin/bench.js",
Expand Down
20 changes: 12 additions & 8 deletions packages/dapi-grpc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,14 @@ pub fn generate() -> Result<(), std::io::Error> {
"GetProofsResponse",
"WaitForStateTransitionResultResponse",
];
for msg in [VERSIONED_REQUESTS, VERSIONED_RESPONSES].concat() {
platform =
platform.message_attribute(msg, r#"#[derive(::dapi_grpc_macros::GrpcMessageV0)]"#);
}

for msg in VERSIONED_RESPONSES {
platform = platform.message_attribute(
msg,
r#"#[derive(::dapi_grpc_macros::VersionedGrpcResponse)]"#,
);
platform = platform
.message_attribute(
msg,
r#"#[derive(::dapi_grpc_macros::VersionedGrpcResponse)]"#,
)
.message_attribute(msg, r#"#[grpc_versions(0)]"#);
}

#[cfg(feature = "serde")]
Expand Down Expand Up @@ -157,6 +155,12 @@ impl MappingConfig {
self
}

#[allow(unused)]
fn enum_attribute(mut self, path: &str, attribute: &str) -> Self {
self.builder = self.builder.enum_attribute(path, attribute);
self
}

#[allow(unused)]
fn message_attribute(mut self, path: &str, attribute: &str) -> Self {
self.builder = self.builder.message_attribute(path, attribute);
Expand Down
Loading

0 comments on commit 6cad150

Please sign in to comment.