Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Default abi if compiled with yul #1219

Merged
merged 3 commits into from
Jun 17, 2019
Merged

Default abi if compiled with yul #1219

merged 3 commits into from
Jun 17, 2019

Conversation

yann300
Copy link
Collaborator

@yann300 yann300 commented Jun 17, 2019

No description provided.

@@ -373,6 +373,14 @@ function Compiler (handleImportCall) {

function updateInterface (data) {
txHelper.visitContracts(data.contracts, (contract) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be good to have some comment here.

if (!contract.object.abi) contract.object.abi = []
if (language === 'Yul' && contract.object.abi.length === 0) {
contract.object.abi.push({
'payablepayable': true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not just "payable" (once) ?

@yann300 yann300 merged commit 7377737 into master Jun 17, 2019
@Aniket-Engg Aniket-Engg deleted the yann300-patch-15 branch September 20, 2019 10:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants