Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve abi.decode support in case of single type to convert #551

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

montyly
Copy link
Member

@montyly montyly commented Jul 22, 2020

Example:

contract C{
    function f(bytes calldata a) public{
        uint b = abi.decode(a, (uint));
    }   
}
			TMP_0(uint256) = SOLIDITY_CALL abi.decode()(a,uint256)
			b(uint256) := TMP_0(uint256)

@montyly montyly merged commit 0b2b2f6 into dev Jul 22, 2020
@montyly montyly deleted the dev-abi-decode-one-type branch July 27, 2020 07:21
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.

1 participant