Skip to content

Commit

Permalink
feat: add support for solidity error type (#251)
Browse files Browse the repository at this point in the history
Add support for solidity error type, closes #225

following this spec

https://docs.soliditylang.org/en/v0.8.10/abi-spec.html#errors

codec is the same as functions

Added serde tests and exposed similar functions for error on the `Contract`
  • Loading branch information
mattsse authored Dec 11, 2021
1 parent 6f54c6a commit afae7c7
Show file tree
Hide file tree
Showing 5 changed files with 281 additions and 21 deletions.
1 change: 1 addition & 0 deletions derive/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ mod test {
constructor: None,
functions: Default::default(),
events: Default::default(),
errors: Default::default(),
receive: false,
fallback: false,
};
Expand Down
Loading

0 comments on commit afae7c7

Please sign in to comment.