Skip to content

Separate all auto-generated code into a dedicated module  #754

@snazha-blkio

Description

@snazha-blkio

At the moment auto-gen code is nested within user-written code, which makes it difficult to keep changes isolated and ensure build continuity.

I propose creating a separate "web3j-autogen" module which would contain all autogenerated code. Moreover, this module would only have the necessary inputs (e.g. *.abi, *.bin) files to build the source files from and won't store the generated source, instead bundling the generated class files into a separate artifact.

The various shell scripts also reference web3j that is installed on the system, which is not the version that is to be used. Moreover, when generating source then we need to use the current codebase, not the one installed via web3j.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions