dashevo / js-dash-sdk

DEPRECATED Dash client-side library for wallet payment/signing and application development. (Wallet, DAPI, Primitives, BLS, ...)
https://dashevo.github.io/platform/SDK/
MIT License
36 stars 21 forks source link

feat!: convenient broadcast errors #266

Closed shumkov closed 2 years ago

shumkov commented 2 years ago

Issue being fixed or feature implemented

Provide detailed error information for the broadcast state transition method, including DAPI/Drive common errors and DPP consensus errors.

What was done?

How Has This Been Tested?

With tests

Breaking Changes

StateTransitionBroadcastError#getData is removed. Use StateTransitionBroadcastError#getCause to get additional details.

Checklist:

For repository code-owners and collaborators only