Skip to content

Is PreCompiledContractOptions used at all when calling web3j openapi generate? #96

@andras-ballai

Description

@andras-ballai

Trying to use the cli's web3j openapi generate command on a project that uses external imports (solidity files in a directory other than the one specified with the -s option) swiftly runs into errors. I found a workaround for this when generating wrappers by having truffle generate ABIs, then passing that to web3j with the --abi option, however I can't find this being implemented for web3j openapi generate. The only hint to it being considered at one point is the existence of PreCompiledContractOptions, but I couldn't find any usage of it, so I assume it is also not implemented.

Am I mistaken here, and is there a way to pass ABIs to openapi generate? If not, I'd be grateful if this feature was implemented. (Not having to use a workaround for a common scenario would also be excellent, but this in itself would save me a fair bit of headache.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions