hyperledger-web3j / web3j-solidity-gradle-plugin

Gradle plugin providing tasks to compile Solidity contracts.
Apache License 2.0
21 stars 25 forks source link

Unable to parse input ABI file #32

Closed AlexandrouR closed 3 years ago

AlexandrouR commented 3 years ago

Steps to reproduce:

  1. Use the following contract

pragma solidity ^0.6.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract MyCollectible is ERC20 {
    constructor() ERC20("MyCollectible", "MCO") public {
    }
}
  1. Run the build task
franzmoca commented 3 years ago

I am having the same issue with a similar contract. I also tried removing the import part to @openzeppelin using truffle-flattener but I got the same "Unable to parse input ABI file" error.