pub(crate) async fn deploy_light_client_contract(
provider: impl Provider,
contracts: &mut Contracts,
mock: bool,
) -> Result<Address>Expand description
Default deployment function LightClient.sol or LightClientMock.sol with mock: true.
§NOTE:
In most cases, you only need to use deploy_light_client_proxy()
§NOTE:
currently, LightClient.sol follows upgradable contract, thus a follow-up
call to .initialize() with proper genesis block (and other constructor args)
are expected to be delegatecall-ed through the proxy contract.