Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v1.4-dev' into fix/sdk-fetchmany…
Browse files Browse the repository at this point in the history
…-order
  • Loading branch information
lklimek committed Oct 15, 2024
2 parents 0278c2b + af542f7 commit 405e4d6
Show file tree
Hide file tree
Showing 221 changed files with 4,627 additions and 1,935 deletions.
10 changes: 5 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ RUN rm /usr/bin/cc && ln -s /usr/bin/clang /usr/bin/cc
# Install protoc - protobuf compiler
# The one shipped with Alpine does not work
ARG TARGETARCH
ARG PROTOC_VERSION=25.2
ARG PROTOC_VERSION=27.3
RUN if [[ "$TARGETARCH" == "arm64" ]] ; then export PROTOC_ARCH=aarch_64; else export PROTOC_ARCH=x86_64; fi; \
curl -Ls https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${PROTOC_ARCH}.zip \
-o /tmp/protoc.zip && \
unzip -qd /opt/protoc /tmp/protoc.zip && \
rm /tmp/protoc.zip && \
ln -s /opt/protoc/bin/protoc /usr/bin/

# Install protoc v25.2+
RUN curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip \
&& unzip protoc-25.2-linux-x86_64.zip -d /usr/local \
&& rm protoc-25.2-linux-x86_64.zip
# Install protoc
RUN curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip \
&& unzip protoc-${PROTOC_VERSION}-linux-x86_64.zip -d /usr/local \
&& rm protoc-${PROTOC_VERSION}-linux-x86_64.zip

# Switch to vscode user
USER vscode
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ runs:
shell: bash
run: |
curl -Lo /tmp/protoc.zip \
"https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-${{ steps.protoc_arch.outputs.arch }}.zip"
"https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-linux-${{ steps.protoc_arch.outputs.arch }}.zip"
unzip -o /tmp/protoc.zip -d ${HOME}/.local
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"
Expand Down
32 changes: 16 additions & 16 deletions .pnp.cjs

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

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ npmAuditExcludePackages:
- "@humanwhocodes/config-array" # TODO: Update eslint
- "@humanwhocodes/object-schema" # TODO: Update eslint
- micromatch # TODO: remove when new micromatch will be released https://github.com/advisories/GHSA-952p-6rrq-rcjv
- eslint # TODO: Update eslint https://github.com/dashpay/platform/issues/2212

packageExtensions:
"@dashevo/protobufjs@*":
Expand Down
190 changes: 190 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,193 @@
### [1.4.1](https://github.com/dashpay/platform/compare/v1.4.0...v1.4.1) (2024-10-12)


### ⚠ BREAKING CHANGES

* **sdk:** improve mock context provider async processing (#2232)

### Bug Fixes

* **sdk:** testnet chain sync failed ([#2236](https://github.com/dashpay/platform/issues/2236))


### Miscellaneous Chores

* add some extra unit tests


### Code Refactoring

* minor fixes and extra comments
* **sdk:** improve mock context provider async processing ([#2232](https://github.com/dashpay/platform/issues/2232))

## [1.4.0](https://github.com/dashpay/platform/compare/v1.4.0-dev.8...v1.4.0) (2024-10-10)


### Features

* **dpp:** added identity public key private key validation methods ([#2235](https://github.com/dashpay/platform/issues/2235))
* **sdk:** fix client tls connections ([#2223](https://github.com/dashpay/platform/issues/2223))
* **dpp:** add a convenience method to get the public key data for a private key depending on the key type ([#2214](https://github.com/dashpay/platform/issues/2214))
* **platform:** add owner keys to identities, fixed verification of use of owner keys ([#2215](https://github.com/dashpay/platform/issues/2215))
* **sdk:** enable withdrawals v1 in JS SDK ([#2201](https://github.com/dashpay/platform/issues/2201))
* start network with latest version if genesis version not set ([#2206](https://github.com/dashpay/platform/issues/2206))
* **dashmate:** confirm a node reset ([#2160](https://github.com/dashpay/platform/issues/2160))
* **platform:** do not switch to oldest quorums in validator set update ([#2167](https://github.com/dashpay/platform/issues/2167))
* **platform:** get current quorum info ([#2168](https://github.com/dashpay/platform/issues/2168))
* **platform:** withdrawals polishing and fixes for mainnet ([#2166](https://github.com/dashpay/platform/issues/2166))
* **sdk:** change default network to mainnet ([#2161](https://github.com/dashpay/platform/issues/2161))


### Bug Fixes

* **sdk:** added signing_withdrawal_key_to_use to withdraw sdk call ([#2234](https://github.com/dashpay/platform/issues/2234))
* **platform:** fixed Platform State deserialization issue ([#2227](https://github.com/dashpay/platform/issues/2227))
* cookie accepts cookie name, path, and domain with out of bounds characters ([#2211](https://github.com/dashpay/platform/issues/2211))
* **drive:** set sign height when rebroadcasting ([#2210](https://github.com/dashpay/platform/issues/2210))
* **sdk:** small sdk improvements and fixes for v1.4 ([#2200](https://github.com/dashpay/platform/issues/2200))
* **drive-abci:** fix network upgrade to version 4 ([#2189](https://github.com/dashpay/platform/issues/2189))
* **dashmate:** collect docker stats in the doctor command ([#2180](https://github.com/dashpay/platform/issues/2180))
* **dashmate:** validate external IP ([#2183](https://github.com/dashpay/platform/issues/2183))
* **platform:** matched withdrawal fees to actual processing cost ([#2186](https://github.com/dashpay/platform/issues/2186))
* **platform:** withdrawal automatic retries after core rejection ([#2185](https://github.com/dashpay/platform/issues/2185))
* **platform:** withdrawal limits ([#2182](https://github.com/dashpay/platform/issues/2182))
* **sdk:** get node status ([#2139](https://github.com/dashpay/platform/issues/2139))
* **dapi:** getStatus cache invalidation ([#2155](https://github.com/dashpay/platform/issues/2155))
* **dapi:** invalid mainnet seed ports ([#2173](https://github.com/dashpay/platform/issues/2173))
* **dashmate:** cannot read properties of undefined (reading 'expires') ([#2164](https://github.com/dashpay/platform/issues/2164))
* **dashmate:** colors[updated] is not a function ([#2157](https://github.com/dashpay/platform/issues/2157))
* **dashmate:** doctor fails collecting to big logs ([#2158](https://github.com/dashpay/platform/issues/2158))
* **dashmate:** port marks as closed if ipv6 is not disabled ([#2162](https://github.com/dashpay/platform/issues/2162))
* **dashmate:** remove confusing short flag name ([#2165](https://github.com/dashpay/platform/issues/2165))


### Miscellaneous Chores

* **dpp:** add method for decoding identifier with unknown string encoding ([#2230](https://github.com/dashpay/platform/issues/2230))
* **drive:** log invalid state on deserialisation ([#2220](https://github.com/dashpay/platform/issues/2220))
* **sdk:** expose drive module in public API for rs-sdk ([#2217](https://github.com/dashpay/platform/issues/2217))
* update dependences ([#2072](https://github.com/dashpay/platform/issues/2072))
* bump GroveDB dependency ([#2196](https://github.com/dashpay/platform/issues/2196))
* **drive:** improve withdrawal logging ([#2203](https://github.com/dashpay/platform/issues/2203))
* **drive:** logs and metrics for withdrawal daily limit ([#2192](https://github.com/dashpay/platform/issues/2192))
* **release:** replace colima with native docker in macOS builds ([#2188](https://github.com/dashpay/platform/issues/2188))
* **dashmate:** do not call mint on masternodes ([#2172](https://github.com/dashpay/platform/issues/2172))
* **platform:** protocol version 4 creation ([#2153](https://github.com/dashpay/platform/issues/2153))


### Code Refactoring

* **sdk:** contested resource as struct type ([#2225](https://github.com/dashpay/platform/issues/2225))
* **drive:** remove duplicated withdrawal amount validation ([#2191](https://github.com/dashpay/platform/issues/2191))


### Build System

* devcontainer support ([#2179](https://github.com/dashpay/platform/issues/2179))


### Continuous Integration

* prebuild dev containers ([#2184](https://github.com/dashpay/platform/issues/2184))
* build dashmate on macos14


### Tests

* **test-suite:** enable withdrawal tests ([#2202](https://github.com/dashpay/platform/issues/2202))
* **dashmate:** e2e tests failing due to DKG interval check ([#2171](https://github.com/dashpay/platform/issues/2171))


### Documentation

* **dashmate:** document logging configuration ([#2156](https://github.com/dashpay/platform/issues/2156))
* update README ([#2219](https://github.com/dashpay/platform/issues/2219))


### ⚠ BREAKING CHANGES

* **platform:** add owner keys to identities, fixed verification of use of owner keys. While these are breaking changes, they will only happen in Protocol V4. (#2215)
* **platform:** matched withdrawal fees to actual processing cost. Since fees change it is is a breaking change that will take effect in v4 of the protocol. (#2186)
* **platform:** withdrawal automatic retries after core rejection. This is a breaking change that will be marked as active in v1.4 (#2185)
* **platform:** withdrawal limits. This is breaking, and will be activated in version 1.4 (#2182)
* **sdk:** Now if network is not specified, JS SDK will connect to mainnet. (#2161)
* **dashmate:** confirm a node reset. This change will break any non interactive execution of reset command so now the force flag must be provided to skip the reset confirmation. (#2160)
* **platform:** withdrawals polishing and fixes for mainnet. Updating in V4 hard fork. (#2166)
* **platform:** do not switch to oldest quorums in validator set update. This is included as a change in protocol version 4. (#2167)


## [1.4.0-dev.8](https://github.com/dashpay/platform/compare/v1.4.0-dev.7...v1.4.0-dev.8) (2024-10-08)


### Features

* **sdk:** fix client tls connections ([#2223](https://github.com/dashpay/platform/issues/2223))


### Bug Fixes

* **platform:** fixed Platform State deserialization issue ([#2227](https://github.com/dashpay/platform/issues/2227))

## [1.4.0-dev.7](https://github.com/dashpay/platform/compare/v1.4.0-dev.6...v1.4.0-dev.7) (2024-10-07)


### Miscellaneous Chores

* **drive:** log invalid state on deserialisation ([#2220](https://github.com/dashpay/platform/issues/2220))

## [1.4.0-dev.6](https://github.com/dashpay/platform/compare/v1.4.0-dev.5...v1.4.0-dev.6) (2024-10-07)


### Miscellaneous Chores

* **sdk:** expose drive module in public API for rs-sdk ([#2217](https://github.com/dashpay/platform/issues/2217))
* update dependences ([#2072](https://github.com/dashpay/platform/issues/2072))

## [1.4.0-dev.5](https://github.com/dashpay/platform/compare/v1.4.0-dev.4...v1.4.0-dev.5) (2024-10-07)


### ⚠ BREAKING CHANGES

* **platform:** add owner keys to identities, fixed verification of use of owner keys (#2215)

### Features

* **dpp:** add a convenience method to get the public key data for a private key depending on the key type ([#2214](https://github.com/dashpay/platform/issues/2214))
* **platform:** add owner keys to identities, fixed verification of use of owner keys ([#2215](https://github.com/dashpay/platform/issues/2215))

## [1.4.0-dev.4](https://github.com/dashpay/platform/compare/v1.4.0-dev.3...v1.4.0-dev.4) (2024-10-05)


### Features

* **sdk:** enable withdrawals v1 in JS SDK ([#2201](https://github.com/dashpay/platform/issues/2201))
* start network with latest version if genesis version not set ([#2206](https://github.com/dashpay/platform/issues/2206))


### Bug Fixes

* cookie accepts cookie name, path, and domain with out of bounds characters ([#2211](https://github.com/dashpay/platform/issues/2211))
* **drive:** set sign height when rebroadcasting ([#2210](https://github.com/dashpay/platform/issues/2210))
* **sdk:** small sdk improvements and fixes for v1.4 ([#2200](https://github.com/dashpay/platform/issues/2200))


### Code Refactoring

* **drive:** remove duplicated withdrawal amount validation ([#2191](https://github.com/dashpay/platform/issues/2191))


### Miscellaneous Chores

* bump GroveDB dependency ([#2196](https://github.com/dashpay/platform/issues/2196))
* **drive:** improve withdrawal logging ([#2203](https://github.com/dashpay/platform/issues/2203))
* **drive:** logs and metrics for withdrawal daily limit ([#2192](https://github.com/dashpay/platform/issues/2192))
* **release:** replace colima with native docker in macOS builds ([#2188](https://github.com/dashpay/platform/issues/2188))


### Tests

* **test-suite:** enable withdrawal tests ([#2202](https://github.com/dashpay/platform/issues/2202))

## [1.4.0-dev.2](https://github.com/dashpay/platform/compare/v1.4.0-dev.1...v1.4.0-dev.2) (2024-09-30)


Expand Down
Loading

0 comments on commit 405e4d6

Please sign in to comment.