ICON 2.0 code size limit #39
-
As I hear from Dongdwan Kim, ICON 2.0 code size limit is 512kb. But as I calculated from current cost configuration in Gicon testnet and the rule define in https://www.icondev.io/docs/transaction-fees. Max Step Invoke Limit: 2'500'000'000 steps Step cost:
In case of deploy contract:
=> ContractSize < 48 Kbytes Current JAVA BMV contract size is 128kb, I have to reduce I don't know how can I get the number of 512kb contract size limit. Will ICON 2.0 config with different cost parameters? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I am curious about the source for "As I hear from Dongdwan Kim, ICON 2.0 code size limit is 512kb". Unfortunally, There are no immediate plans to increase that size by changing the policy. |
Beta Was this translation helpful? Give feedback.
I am curious about the source for "As I hear from Dongdwan Kim, ICON 2.0 code size limit is 512kb".
Because as described "=> ContractSize < 48 kbytes" is currently correct.
If you want to increase it further, you need to adjust the value (MaxStepLimit or contractSet) according to the internal governance policy.
Unfortunally, There are no immediate plans to increase that size by changing the policy.
Therefore, if it is unavoidable, please separate the contract by logic and distribute it separately.