Skip to content

Conversation

@yann300
Copy link
Contributor

@yann300 yann300 commented Jan 31, 2022

When computing a tx call, the input is made of:
signature of the method + encoded input parameter

When computing a deployment, the input is made of:
the contract bytecode + encoded input parameter

passing null for the bytecode in the case of a deployment fails cause then the encodeData function is looking at the name of the function, which is an empty string cause it's not a function but the constructor.

@yann300 yann300 added the bug Something isn't working label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working publish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants