patractlabs / redspot

Redspot is an Substrate pallet-contracts (ink!) development environment. Compile your contracts and run them on a different networks. Redspot's core forks from Hardhat but changed a lot to suit substrate.
https://redspot.patract.io/
Other
67 stars 22 forks source link

Option to build optimised release contract #142

Closed forgetso closed 3 years ago

forgetso commented 3 years ago

Contracts that are too large will run into the CodeTooLarge error.

ERROR contracts.CodeTooLarge 10:27:24

RedspotPluginError: Instantiation failed at .../node_modules/@redspot/patract/contractFactory.js:209:23

This modification allows contracts to be built with the --release option, resulting in smaller wasm binaries.

ii-ii-ii commented 3 years ago

Thank you