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

Solidity receive #1623

Merged
merged 3 commits into from
Apr 15, 2020
Merged

Solidity receive #1623

merged 3 commits into from
Apr 15, 2020

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Apr 9, 2020

What was wrong?

web3 didn't support Solidity's new receive keyword.

Broken docs build has been fixed in #1622

Related to Issue #1565, #1566

How was it fixed?

Added a new contract API: contract.receive, that basically mirrors the fallback function.

Todo:

Cute Animal Picture

image

@kclowes kclowes changed the title [WIP] Solidity receive Solidity receive Apr 10, 2020
jerryji and others added 2 commits April 13, 2020 15:20
…readthedocs.io/en/v0.6.1/060-breaking-changes.html#semantic-and-syntactic-changes ), without which ^0.6.0 contracts with receive payable fallback function would fail web3.py for _any_ function call due to missing "name" key in abi (there should probably be another few places that "receive" needs to be added next to "fallback", this is just a starting point that fixed my immediate problem at hand
web3/_utils/contracts.py Outdated Show resolved Hide resolved
web3/contract.py Outdated Show resolved Hide resolved
web3/contract.py Outdated Show resolved Hide resolved
@kclowes kclowes merged commit 2bdfb82 into ethereum:master Apr 15, 2020
@kclowes kclowes deleted the solidity-receive branch April 15, 2020 19:41
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.

3 participants