Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: support parsing solc contract abi output in string and array form #301

Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented May 27, 2021

Motivation

Support the solc contract abi output both as string (solc<=0.7) and array (solc >=0.8)

Solution

match against the the abi entry in the solc json output and if it's an array convert it to string, in order to not break the CompiledContractStr.

Closes #299

@gakonst gakonst merged commit 4690f8e into gakonst:master May 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compiling contracts fails with solc >= 0.8.0
2 participants