Closed markspanbroek closed 6 months ago
With the latest changes, this PR has become a breaking change. Confirmable
is no longer a type alias for ?TransactionResponse
, but its own object type. This means that the return type ?TransactionResponse
on a {.contract.}
proc is no longer supported. You need to use Confirmable
as the return type instead.
Looks great, Mark! Really well done moving the callback onto Confirmable 👍
Adds support for Solidity custom errors.
They can be defined in Nim as follows:
And they can be declared on contract functions like this:
Which allows you to write error handling code like this:
Depends on #70