Skip to content

Commit

Permalink
Upgraded testnet to fuel-core 0.37.0.
Browse files Browse the repository at this point in the history
Increased the block gas limit to be 254KB.
The `max_predicate_length` decreased to 24KB.
The `max_predicate_data_length` decreased to 24KB.
The `max_gas_per_predicate` decreased to 1M.
Decrease charging for gas per byte. Not it is 4 times cheaper to store data.
  • Loading branch information
xgreenx committed Oct 6, 2024
1 parent 4069e1e commit 68f329c
Show file tree
Hide file tree
Showing 2 changed files with 297 additions and 0 deletions.
297 changes: 297 additions & 0 deletions upgradelog/ignition-testnet/consensus_parameters/10.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,297 @@
{
"V2": {
"tx_params": {
"V1": {
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 30000000,
"max_size": 112640,
"max_bytecode_subsections": 256
}
},
"predicate_params": {
"V1": {
"max_predicate_length": 24576,
"max_predicate_data_length": 24576,
"max_message_data_length": 102400,
"max_gas_per_predicate": 1000000
}
},
"script_params": {
"V1": {
"max_script_length": 102400,
"max_script_data_length": 102400
}
},
"contract_params": {
"V1": {
"contract_max_size": 112640,
"max_storage_slots": 1760
}
},
"fee_params": {
"V1": {
"gas_price_factor": 9200000,
"gas_per_byte": 63
}
},
"chain_id": 0,
"gas_costs": {
"V4": {
"add": 2,
"addi": 2,
"and": 2,
"andi": 2,
"bal": 274,
"bhei": 2,
"bhsh": 2,
"burn": 7566,
"cb": 2,
"cfsi": 2,
"div": 2,
"divi": 2,
"eck1": 1489,
"ecr1": 20513,
"eq": 2,
"exp": 2,
"expi": 2,
"flag": 2,
"gm": 2,
"gt": 2,
"gtf": 3,
"ji": 2,
"jmp": 2,
"jne": 2,
"jnei": 2,
"jnzi": 2,
"jmpf": 2,
"jmpb": 2,
"jnzf": 2,
"jnzb": 2,
"jnef": 2,
"jneb": 2,
"lb": 2,
"log": 80,
"lt": 2,
"lw": 2,
"mint": 6566,
"mlog": 2,
"mod": 2,
"modi": 2,
"move": 2,
"movi": 1,
"mroo": 3,
"mul": 2,
"muli": 2,
"mldv": 3,
"noop": 1,
"not": 2,
"or": 1,
"ori": 2,
"poph": 2,
"popl": 2,
"pshh": 5,
"pshl": 5,
"ret_contract": 43,
"rvrt_contract": 39,
"sb": 2,
"sll": 2,
"slli": 2,
"srl": 2,
"srli": 2,
"srw": 237,
"sub": 2,
"subi": 2,
"sw": 2,
"sww": 5708,
"time": 106,
"tr": 9253,
"tro": 7199,
"wdcm": 2,
"wqcm": 2,
"wdop": 2,
"wqop": 3,
"wdml": 3,
"wqml": 3,
"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": 35
}
},
"bsiz": {
"LightOperation": {
"base": 25,
"units_per_gas": 564
}
},
"bldd": {
"LightOperation": {
"base": 33,
"units_per_gas": 130
}
},
"cfe": {
"LightOperation": {
"base": 10,
"units_per_gas": 62
}
},
"cfei": {
"LightOperation": {
"base": 10,
"units_per_gas": 66
}
},
"call": {
"LightOperation": {
"base": 6934,
"units_per_gas": 14
}
},
"ccp": {
"LightOperation": {
"base": 21,
"units_per_gas": 155
}
},
"croo": {
"LightOperation": {
"base": 69,
"units_per_gas": 4
}
},
"csiz": {
"LightOperation": {
"base": 25,
"units_per_gas": 580
}
},
"ed19": {
"LightOperation": {
"base": 3232,
"units_per_gas": 7
}
},
"k256": {
"LightOperation": {
"base": 21,
"units_per_gas": 6
}
},
"ldc": {
"LightOperation": {
"base": 84,
"units_per_gas": 113
}
},
"logd": {
"LightOperation": {
"base": 278,
"units_per_gas": 5
}
},
"mcl": {
"LightOperation": {
"base": 2,
"units_per_gas": 1282
}
},
"mcli": {
"LightOperation": {
"base": 2,
"units_per_gas": 1250
}
},
"mcp": {
"LightOperation": {
"base": 3,
"units_per_gas": 385
}
},
"mcpi": {
"LightOperation": {
"base": 7,
"units_per_gas": 585
}
},
"meq": {
"LightOperation": {
"base": 2,
"units_per_gas": 1234
}
},
"retd_contract": {
"LightOperation": {
"base": 227,
"units_per_gas": 5
}
},
"s256": {
"LightOperation": {
"base": 25,
"units_per_gas": 5
}
},
"scwq": {
"HeavyOperation": {
"base": 5666,
"gas_per_unit": 6628
}
},
"smo": {
"LightOperation": {
"base": 14635,
"units_per_gas": 3
}
},
"srwq": {
"HeavyOperation": {
"base": 245,
"gas_per_unit": 243
}
},
"swwq": {
"HeavyOperation": {
"base": 5661,
"gas_per_unit": 5776
}
},
"contract_root": {
"LightOperation": {
"base": 24,
"units_per_gas": 3
}
},
"state_root": {
"HeavyOperation": {
"base": 189,
"gas_per_unit": 96
}
},
"new_storage_per_byte": 63,
"vm_initialization": {
"LightOperation": {
"base": 3127,
"units_per_gas": 61
}
}
}
},
"base_asset_id": "f8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07",
"block_gas_limit": 30000000,
"block_transaction_size_limit": 260096,
"privileged_address": "0c2f3d4f7f41c365a8b9605c376c5157551c460ec058367c1026bc02b5f7f626"
}
}
Binary file not shown.

0 comments on commit 68f329c

Please sign in to comment.