We want to make this utility method constructContractCallDataGeneric public so that it can be used by other EVM compatible Rosetta nodes for encoding contract call inputs.
Additional reason we're doing this rather than directly using the evm client offered by this repo is that we're not ready to make change in these existing Rosetta nodes to start using this client which is an major effort. So we decide to just reuse some of the utility methods to mitigate duplicate code problem.
Solution
We simply make this internal utility method public.
Motivation
We want to make this utility method
constructContractCallDataGeneric
public so that it can be used by other EVM compatible Rosetta nodes for encoding contract call inputs.Additional reason we're doing this rather than directly using the evm client offered by this repo is that we're not ready to make change in these existing Rosetta nodes to start using this client which is an major effort. So we decide to just reuse some of the utility methods to mitigate duplicate code problem.
Solution
We simply make this internal utility method public.
Test
Open questions
N/A