Compiled contracts are large

Ethereum has a 24576 byte (0.024 mb) smart contract size limit, often some sway contracts reach up to 1 mb in size form my testing

For example,

compiles to 0.27558 mb

is this expected?

Contract sizes and other program type sizes are specified in the chain-spec. Max contract size is currently set at ~16.7 mb which is expected :slight_smile: