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

Enable EthClient to call the receive function of a contract #53

Open
gabrielbosio opened this issue May 19, 2022 · 0 comments
Open

Enable EthClient to call the receive function of a contract #53

gabrielbosio opened this issue May 19, 2022 · 0 comments
Assignees

Comments

@gabrielbosio
Copy link
Member

According to https://docs.soliditylang.org/en/v0.8.13/contracts.html?highlight=receive#receive-ether-function

The receive function is executed on a call to the contract with empty calldata.

Right now, the invoke function breaks when is called with a method as an empty string. The idea is that, in that case, the client sends a transaction with empty calldata.

@SantiagoPittella SantiagoPittella self-assigned this May 20, 2022
@SantiagoPittella SantiagoPittella linked a pull request May 20, 2022 that will close this issue
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 a pull request may close this issue.

3 participants