Closed mojtaba-eshghie closed 6 months ago
Right now every time a contract is deployed for monitoring and exploitation (on defined environments under CI/envs), the exact compiler version matched is downloaded and used. We need a caching mechanism to cache already pulled compilers in a directory such as cache/compilers. This will most probably only affect the following file: https://github.com/mojtaba-eshghie/HighGuard/blob/eb149b58a25fd020109054a4ad901811b86c623b/lib/web3/deploy.js#L46C16-L46C34
CI/envs
cache/compilers
Right now every time a contract is deployed for monitoring and exploitation (on defined environments under
CI/envs
), the exact compiler version matched is downloaded and used. We need a caching mechanism to cache already pulled compilers in a directory such ascache/compilers
. This will most probably only affect the following file: https://github.com/mojtaba-eshghie/HighGuard/blob/eb149b58a25fd020109054a4ad901811b86c623b/lib/web3/deploy.js#L46C16-L46C34