Skip to content

Fix `--dry-run` error deserialization and report error details

Sergej Kostjucenko requested to merge aj/rpc-dispatch-error into master

Created by: ascjones

Closes #533 (closed).

This now parameterizes the RPC results with the generated DispatchError type from subxt so the types line up with the latest contracts node for deserializataion.

This also allows us to retrieve the DispatchError details from the metadata so we can map to a user friendly error:

image

Merge request reports