The sdk has a very large package size because of the ABI imports, mainly from swaprouter contracts (around 11 MB) and also from the periphery contracts (around 5 MB).
Most of that is the bytedata from the contract creation and not the actual ABI.
Is there any reason to keep it like this? The JSON files are currently compiled when the package is published as far as I understand. If there is no good reason to do that, it would be possible to reduce the package size by 80-90% by hardcoding the ABIs. The contracts are not upgradable anyways.
The sdk has a very large package size because of the ABI imports, mainly from swaprouter contracts (around 11 MB) and also from the periphery contracts (around 5 MB). Most of that is the bytedata from the contract creation and not the actual ABI.
Is there any reason to keep it like this? The JSON files are currently compiled when the package is published as far as I understand. If there is no good reason to do that, it would be possible to reduce the package size by 80-90% by hardcoding the ABIs. The contracts are not upgradable anyways.