Skip to content

fix(sol-types): empty data decode#159

Merged
DaniPopes merged 1 commit intomainfrom
dani/fix-empty-decode
Jun 27, 2023
Merged

fix(sol-types): empty data decode#159
DaniPopes merged 1 commit intomainfrom
dani/fix-empty-decode

Conversation

@DaniPopes
Copy link
Copy Markdown
Member

@DaniPopes DaniPopes commented Jun 27, 2023

Motivation

Fixes #158

Solution

Use the unit type for TokenType in its own SolType impl, and don't check for empty data when decoding

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@DaniPopes DaniPopes requested a review from prestwich as a code owner June 27, 2023 13:16
@DaniPopes DaniPopes merged commit b755263 into main Jun 27, 2023
@DaniPopes DaniPopes deleted the dani/fix-empty-decode branch June 27, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Cant decode Solidity calls to functions with no arguments

2 participants