Skip to content

Commit

Permalink
chore: use dev-net chain config for local node (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Torres-ssf committed May 24, 2024
1 parent ba0f3d0 commit 83bbb7f
Show file tree
Hide file tree
Showing 40 changed files with 317 additions and 332 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-camels-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/utils": patch
---

chore: use dev-net chain config for local node
154 changes: 77 additions & 77 deletions .fuel-core/configs/chainConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 30000000,
"max_size": 112640,
"max_gas_per_tx": 100000000,
"max_size": 262144,
"max_bytecode_subsections": 256
}
},
Expand All @@ -17,7 +17,7 @@
"max_predicate_length": 102400,
"max_predicate_data_length": 102400,
"max_message_data_length": 102400,
"max_gas_per_predicate": 30000000
"max_gas_per_predicate": 100000000
}
},
"script_params": {
Expand All @@ -28,7 +28,7 @@
},
"contract_params": {
"V1": {
"contract_max_size": 102400,
"contract_max_size": 262144,
"max_storage_slots": 1760
}
},
Expand All @@ -43,53 +43,53 @@
"V1": {
"add": 2,
"addi": 2,
"aloc": 1,
"aloc": 2,
"and": 2,
"andi": 2,
"bal": 366,
"bal": 86,
"bhei": 2,
"bhsh": 2,
"burn": 33949,
"burn": 25770,
"cb": 2,
"cfei": 2,
"cfsi": 2,
"div": 2,
"divi": 2,
"eck1": 3347,
"ecr1": 46165,
"ed19": 4210,
"eck1": 3114,
"ecr1": 42270,
"ed19": 2878,
"eq": 2,
"exp": 2,
"expi": 2,
"flag": 1,
"gm": 2,
"gt": 2,
"gtf": 16,
"gtf": 12,
"ji": 2,
"jmp": 2,
"jne": 2,
"jnei": 2,
"jnzi": 2,
"jmpf": 2,
"jmpb": 2,
"jnzf": 2,
"jnzb": 2,
"jnef": 2,
"jneb": 2,
"jmpf": 1,
"jmpb": 1,
"jnzf": 1,
"jnzb": 1,
"jnef": 1,
"jneb": 1,
"lb": 2,
"log": 754,
"log": 165,
"lt": 2,
"lw": 2,
"mint": 35718,
"mint": 29024,
"mlog": 2,
"mod": 2,
"mod_op": 2,
"modi": 2,
"move": 2,
"move_op": 2,
"movi": 2,
"mroo": 5,
"mroo": 4,
"mul": 2,
"muli": 2,
"mldv": 4,
"mldv": 3,
"noop": 1,
"not": 2,
"or": 2,
Expand All @@ -98,168 +98,168 @@
"popl": 3,
"pshh": 4,
"pshl": 4,
"ret_contract": 733,
"rvrt_contract": 722,
"ret": 134,
"rvrt": 153,
"sb": 2,
"sll": 2,
"slli": 2,
"srl": 2,
"srli": 2,
"srw": 253,
"srw": 209,
"sub": 2,
"subi": 2,
"sw": 2,
"sww": 29053,
"time": 79,
"tr": 46242,
"tro": 33251,
"wdcm": 3,
"sww": 22501,
"time": 50,
"tr": 33912,
"tro": 24294,
"wdcm": 2,
"wqcm": 3,
"wdop": 3,
"wqop": 3,
"wdml": 3,
"wqml": 4,
"wddv": 5,
"wqdv": 7,
"wdmd": 11,
"wqmd": 18,
"wqdv": 6,
"wdmd": 10,
"wqmd": 17,
"wdam": 9,
"wqam": 12,
"wdmm": 11,
"wqmm": 11,
"wqam": 11,
"wdmm": 10,
"wqmm": 10,
"xor": 2,
"xori": 2,
"call": {
"LightOperation": {
"base": 21687,
"units_per_gas": 4
"base": 18190,
"units_per_gas": 5
}
},
"ccp": {
"LightOperation": {
"base": 59,
"units_per_gas": 20
"base": 48,
"units_per_gas": 22
}
},
"croo": {
"LightOperation": {
"base": 1,
"units_per_gas": 1
"base": 131,
"units_per_gas": 2
}
},
"csiz": {
"LightOperation": {
"base": 59,
"units_per_gas": 195
"base": 45,
"units_per_gas": 237
}
},
"k256": {
"LightOperation": {
"base": 282,
"base": 37,
"units_per_gas": 3
}
},
"ldc": {
"LightOperation": {
"base": 45,
"units_per_gas": 65
"base": 39,
"units_per_gas": 68
}
},
"logd": {
"LightOperation": {
"base": 1134,
"base": 565,
"units_per_gas": 2
}
},
"mcl": {
"LightOperation": {
"base": 3,
"units_per_gas": 523
"units_per_gas": 564
}
},
"mcli": {
"LightOperation": {
"base": 3,
"units_per_gas": 526
"units_per_gas": 560
}
},
"mcp": {
"LightOperation": {
"base": 3,
"units_per_gas": 448
"base": 4,
"units_per_gas": 185
}
},
"mcpi": {
"LightOperation": {
"base": 7,
"units_per_gas": 585
"base": 9,
"units_per_gas": 455
}
},
"meq": {
"LightOperation": {
"base": 11,
"units_per_gas": 1097
"base": 3,
"units_per_gas": 766
}
},
"retd_contract": {
"retd": {
"LightOperation": {
"base": 1086,
"units_per_gas": 2
"base": 485,
"units_per_gas": 3
}
},
"s256": {
"LightOperation": {
"base": 45,
"base": 42,
"units_per_gas": 3
}
},
"scwq": {
"HeavyOperation": {
"base": 30375,
"gas_per_unit": 28628
"base": 21672,
"gas_per_unit": 22146
}
},
"smo": {
"LightOperation": {
"base": 64196,
"base": 44437,
"units_per_gas": 1
}
},
"srwq": {
"HeavyOperation": {
"base": 262,
"gas_per_unit": 249
"base": 239,
"gas_per_unit": 234
}
},
"swwq": {
"HeavyOperation": {
"base": 28484,
"gas_per_unit": 26613
"base": 22724,
"gas_per_unit": 21231
}
},
"contract_root": {
"LightOperation": {
"base": 45,
"units_per_gas": 1
"base": 42,
"units_per_gas": 2
}
},
"state_root": {
"HeavyOperation": {
"base": 350,
"gas_per_unit": 176
"base": 323,
"gas_per_unit": 169
}
},
"new_storage_per_byte": 63,
"vm_initialization": {
"LightOperation": {
"base": 1645,
"units_per_gas": 14
"HeavyOperation": {
"base": 5254820,
"gas_per_unit": 0
}
}
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000",
"block_gas_limit": 30000000,
"base_asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07",
"block_gas_limit": 100000000,
"privileged_address": "0000000000000000000000000000000000000000000000000000000000000000"
}
},
Expand Down
Loading

0 comments on commit 83bbb7f

Please sign in to comment.