Block compression and transaction costs update

Block compression and transaction costs update

Core

Voting

After network will be upgraded (to be prepared for voting) it will be proposed to validators to vote for following changes:

Config parameter 8

(capabilities version:7 capabilities:46)

instead of old

(capabilities version:6 capabilities:46)

This will fix incorrect due_payment accounting

Config parameter 21

(config_gas_prices
  (gas_flat_pfx flat_gas_limit:100 flat_gas_price:40000
    other:(gas_prices_ext gas_price:26214400 gas_limit:1000000 special_gas_limit:1000000 gas_credit:10000 block_gas_limit:10000000 freeze_due_limit:100000000 delete_due_limit:1000000000)))

instead of old

(config_gas_prices
  (gas_flat_pfx flat_gas_limit:100 flat_gas_price:100000
    other:(gas_prices_ext gas_price:65536000 gas_limit:1000000 special_gas_limit:1000000 gas_credit:10000 block_gas_limit:10000000 freeze_due_limit:100000000 delete_due_limit:1000000000)))

This will decrease gas prices in basechain 2.5x

Config parameter 25

(config_fwd_prices
  (msg_forward_prices lump_price:400000 bit_price:26214400 cell_price:2621440000 ihr_price_factor:98304 first_frac:21845 next_frac:21845))


instead of old

(config_fwd_prices
  (msg_forward_prices lump_price:1000000 bit_price:65536000 cell_price:6553600000 ihr_price_factor:98304 first_frac:21845 next_frac:21845))


This will decrease forward prices in basechain 2.5x


Config parameter 29

(consensus_config_v4 flags:0 new_catchain_ids:1 round_candidates:3 next_candidate_delay_ms:2000 consensus_timeout_ms:16000 fast_attempts:3 attempt_duration:8 catchain_max_deps:4 max_block_bytes:2097152 max_collated_bytes:2097152 proto_version:4 catchain_max_blocks_coeff:10000))


instead of old

  (consensus_config_v4 flags:0 new_catchain_ids:1 round_candidates:3 next_candidate_delay_ms:2000 consensus_timeout_ms:16000 fast_attempts:3 attempt_duration:8 catchain_max_deps:4 max_block_bytes:2097152 max_collated_bytes:2097152 proto_version:2 catchain_max_blocks_coeff:10000))


Change is in proto_version from 2 to 4.

This will activate lz4 compress of block candidates in validators overlays

Config parameter 45

Set new config

  (precompiled_contracts_config
    list:(hme_root
      root:(hm_edge
        label:(hml_long n:256 s:x89468F02C78E570802E39979C8516FC38DF07EA76A48357E0536F2BA7B3EE37B)
        node:(hmn_leaf
          value:(precompiled_smc gas_usage:1000))))))



This will activate precompile gas logic for jetton-with-governance contract. Note, that for now precompiled execution is not activated in node. It will be activated once we accumulate enough real usage data and by crosstesting will ensure that TVM execution and precompile execution gives the same result in all cases. More info in documentation.





Report Page