From d344f788ae61c3348c21f71e3bc8f8f5fa95200e Mon Sep 17 00:00:00 2001 From: Dhaiwat Date: Sun, 13 Oct 2024 22:14:23 +0530 Subject: [PATCH] update chainconfig --- .fuel-core/configs/chainConfig.json | 173 ++++++++++++++-------------- 1 file changed, 87 insertions(+), 86 deletions(-) diff --git a/.fuel-core/configs/chainConfig.json b/.fuel-core/configs/chainConfig.json index 080aa2374e7..eaf07db4a98 100644 --- a/.fuel-core/configs/chainConfig.json +++ b/.fuel-core/configs/chainConfig.json @@ -1,23 +1,23 @@ { "chain_name": "local_testnet", "consensus_parameters": { - "V1": { + "V2": { "tx_params": { "V1": { "max_inputs": 255, "max_outputs": 255, "max_witnesses": 255, "max_gas_per_tx": 30000000, - "max_size": 262144, + "max_size": 112640, "max_bytecode_subsections": 256 } }, "predicate_params": { "V1": { - "max_predicate_length": 102400, - "max_predicate_data_length": 102400, + "max_predicate_length": 24576, + "max_predicate_data_length": 24576, "max_message_data_length": 102400, - "max_gas_per_predicate": 30000000 + "max_gas_per_predicate": 1000000 } }, "script_params": { @@ -28,40 +28,40 @@ }, "contract_params": { "V1": { - "contract_max_size": 262144, + "contract_max_size": 112640, "max_storage_slots": 1760 } }, "fee_params": { "V1": { - "gas_price_factor": 92000, + "gas_price_factor": 1150000, "gas_per_byte": 63 } }, - "chain_id": 0, + "chain_id": 9889, "gas_costs": { "V4": { "add": 2, "addi": 2, "and": 2, "andi": 2, - "bal": 29, + "bal": 274, "bhei": 2, "bhsh": 2, - "burn": 19976, + "burn": 7566, "cb": 2, "cfsi": 2, "div": 2, "divi": 2, - "eck1": 1907, - "ecr1": 26135, + "eck1": 1489, + "ecr1": 20513, "eq": 2, "exp": 2, "expi": 2, "flag": 2, "gm": 2, "gt": 2, - "gtf": 13, + "gtf": 3, "ji": 2, "jmp": 2, "jne": 2, @@ -74,225 +74,226 @@ "jnef": 2, "jneb": 2, "lb": 2, - "log": 102, + "log": 80, "lt": 2, "lw": 2, - "mint": 18042, + "mint": 6566, "mlog": 2, "mod": 2, "modi": 2, "move": 2, - "movi": 2, - "mroo": 4, + "movi": 1, + "mroo": 3, "mul": 2, "muli": 2, "mldv": 3, "noop": 1, "not": 2, - "or": 2, + "or": 1, "ori": 2, - "poph": 3, - "popl": 3, + "poph": 2, + "popl": 2, "pshh": 5, "pshl": 5, - "ret_contract": 53, - "rvrt_contract": 52, + "ret_contract": 43, + "rvrt_contract": 39, "sb": 2, "sll": 2, "slli": 2, "srl": 2, "srli": 2, - "srw": 177, + "srw": 237, "sub": 2, "subi": 2, "sw": 2, - "sww": 17302, - "time": 35, - "tr": 27852, - "tro": 19718, + "sww": 5708, + "time": 106, + "tr": 9253, + "tro": 7199, "wdcm": 2, "wqcm": 2, - "wdop": 3, + "wdop": 2, "wqop": 3, "wdml": 3, "wqml": 3, - "wddv": 4, - "wqdv": 5, - "wdmd": 8, - "wqmd": 12, - "wdam": 7, - "wqam": 8, - "wdmm": 8, - "wqmm": 8, + "wddv": 3, + "wqdv": 4, + "wdmd": 6, + "wqmd": 9, + "wdam": 6, + "wqam": 6, + "wdmm": 6, + "wqmm": 6, "xor": 2, "xori": 2, "aloc": { "LightOperation": { "base": 2, - "units_per_gas": 15 + "units_per_gas": 35 } }, "bsiz": { "LightOperation": { - "base": 17, - "units_per_gas": 790 + "base": 25, + "units_per_gas": 564 } }, "bldd": { "LightOperation": { - "base": 15, - "units_per_gas": 272 + "base": 33, + "units_per_gas": 130 } }, "cfe": { "LightOperation": { "base": 10, - "units_per_gas": 1818181 + "units_per_gas": 62 } }, "cfei": { "LightOperation": { - "base": 2, - "units_per_gas": 1000000 + "base": 10, + "units_per_gas": 66 } }, "call": { "LightOperation": { - "base": 13513, - "units_per_gas": 7 + "base": 6934, + "units_per_gas": 14 } }, "ccp": { "LightOperation": { - "base": 34, - "units_per_gas": 39 + "base": 21, + "units_per_gas": 155 } }, "croo": { "LightOperation": { - "base": 91, - "units_per_gas": 3 + "base": 69, + "units_per_gas": 4 } }, "csiz": { "LightOperation": { - "base": 31, - "units_per_gas": 438 + "base": 25, + "units_per_gas": 580 } }, "ed19": { "LightOperation": { - "base": 3000, - "units_per_gas": 214 + "base": 3232, + "units_per_gas": 7 } }, "k256": { "LightOperation": { - "base": 27, - "units_per_gas": 5 + "base": 21, + "units_per_gas": 6 } }, "ldc": { "LightOperation": { - "base": 43, - "units_per_gas": 102 + "base": 84, + "units_per_gas": 113 } }, "logd": { "LightOperation": { - "base": 363, - "units_per_gas": 4 + "base": 278, + "units_per_gas": 5 } }, "mcl": { "LightOperation": { "base": 2, - "units_per_gas": 1041 + "units_per_gas": 1282 } }, "mcli": { "LightOperation": { "base": 2, - "units_per_gas": 1025 + "units_per_gas": 1250 } }, "mcp": { "LightOperation": { - "base": 4, - "units_per_gas": 325 + "base": 3, + "units_per_gas": 385 } }, "mcpi": { "LightOperation": { - "base": 8, - "units_per_gas": 511 + "base": 7, + "units_per_gas": 585 } }, "meq": { "LightOperation": { - "base": 3, - "units_per_gas": 940 + "base": 2, + "units_per_gas": 1234 } }, "retd_contract": { "LightOperation": { - "base": 305, - "units_per_gas": 4 + "base": 227, + "units_per_gas": 5 } }, "s256": { "LightOperation": { - "base": 31, - "units_per_gas": 4 + "base": 25, + "units_per_gas": 5 } }, "scwq": { "HeavyOperation": { - "base": 16346, - "gas_per_unit": 17163 + "base": 5666, + "gas_per_unit": 6628 } }, "smo": { "LightOperation": { - "base": 40860, - "units_per_gas": 2 + "base": 14635, + "units_per_gas": 3 } }, "srwq": { "HeavyOperation": { - "base": 187, - "gas_per_unit": 179 + "base": 245, + "gas_per_unit": 243 } }, "swwq": { "HeavyOperation": { - "base": 17046, - "gas_per_unit": 16232 + "base": 5661, + "gas_per_unit": 5776 } }, "contract_root": { "LightOperation": { - "base": 31, - "units_per_gas": 2 + "base": 24, + "units_per_gas": 3 } }, "state_root": { "HeavyOperation": { - "base": 236, - "gas_per_unit": 122 + "base": 189, + "gas_per_unit": 96 } }, "new_storage_per_byte": 63, "vm_initialization": { "LightOperation": { - "base": 3957, - "units_per_gas": 48 + "base": 3127, + "units_per_gas": 61 } } } }, "base_asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07", "block_gas_limit": 30000000, + "block_transaction_size_limit": 260096, "privileged_address": "0000000000000000000000000000000000000000000000000000000000000000" } },