Skip to content

Solang contracts will return error data in the future #504

Open
@xermicus

Description

@xermicus

Until now, contracts compiled with Solang in general did not revert, but trap on any runtime problems. I am now working on fixing this, so what is returned if the contract reverted corresponds 1:1 to what a Solidity contract on EVM would return (as much as this is feasible) . There is a series of changes to realize this.

After these PRs are merged, the general process of decoding the output data for Solang Solidity contracts is as follows:

EDIT: The process of decoding this data is documented here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions