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

Flat file contains multiple pragma experimental ABIEncoderV2; #48

Closed
k06a opened this issue Feb 13, 2020 · 1 comment
Closed

Flat file contains multiple pragma experimental ABIEncoderV2; #48

k06a opened this issue Feb 13, 2020 · 1 comment

Comments

@k06a
Copy link

k06a commented Feb 13, 2020

This leads to an error:

Account.full.sol:393:1: Warning: Experimental features are turned on. Do not use experimental features on live deployments.
pragma experimental ABIEncoderV2;
^-------------------------------^

Account.full.sol:427:1: SyntaxError: Duplicate experimental feature name.
pragma experimental ABIEncoderV2;
^-------------------------------^

error Command failed with exit code 1.
zemse added a commit to zemse/solidity-flattener that referenced this issue Sep 22, 2020
This commit removes duplicate ABIEncoderV2 pragma declarations
from the output file as also reported in NomicFoundation#48
@alcuadrado
Copy link
Member

Closing to clean up the repository. If this problem persists, please open a new issue with a clear explanation.

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

No branches or pull requests

2 participants