Skip to content

Commit

Permalink
fix update transitoins as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kayagokalp committed May 23, 2024
1 parent 3c8d36a commit 4b54e04
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 86 deletions.
168 changes: 84 additions & 84 deletions .github/workflows/local-testnode/chain_config.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"chain_name": "Local Node Testnet",
"chain_name": "Local network",
"consensus_parameters": {
"V1": {
"tx_params": {
"V1": {
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 1000000000,
"max_size": 17825792,
"max_gas_per_tx": 100000000,
"max_size": 262144,
"max_bytecode_subsections": 256
}
},
"predicate_params": {
"V1": {
"max_predicate_length": 1048576,
"max_predicate_data_length": 1048576,
"max_message_data_length": 1048576,
"max_gas_per_predicate": 1000000000
"max_predicate_length": 102400,
"max_predicate_data_length": 102400,
"max_message_data_length": 102400,
"max_gas_per_predicate": 100000000
}
},
"script_params": {
"V1": {
"max_script_length": 1048576,
"max_script_data_length": 1048576
"max_script_length": 102400,
"max_script_data_length": 102400
}
},
"contract_params": {
"V1": {
"contract_max_size": 16777216,
"max_storage_slots": 131072
"contract_max_size": 262144,
"max_storage_slots": 1760
}
},
"fee_params": {
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,
"modi": 2,
"move": 2,
"movi": 2,
"mroo": 5,
"mroo": 4,
"mul": 2,
"muli": 2,
"mldv": 4,
"mldv": 3,
"noop": 1,
"not": 2,
"or": 2,
Expand All @@ -98,174 +98,174 @@
"popl": 3,
"pshh": 4,
"pshl": 4,
"ret_contract": 733,
"rvrt_contract": 722,
"ret_contract": 134,
"rvrt_contract": 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": {
"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": 1000000000,
"privileged_address": "0000000000000000000000000000000000000000000000000000000000000000"
"base_asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07",
"block_gas_limit": 100000000,
"privileged_address": "9f0e19d6c2a6283a3222426ab2630d35516b1799b503f37b02105bebe1b8a3e9"
}
},
"consensus": {
"PoA": {
"signing_key": "f65d6448a273b531ee942c133bb91a6f904c7d7f3104cdaf6b9f7f50d3518871"
"signing_key": "e0a9fcde1b73f545252e01b30b50819eb9547d07531fa3df0385c5695736634d"
}
}
}
}
3 changes: 1 addition & 2 deletions .github/workflows/local-testnode/state_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{
"coins": [
{
Expand Down Expand Up @@ -35,4 +34,4 @@
}
],
"last_block": null
}
}
Binary file modified .github/workflows/local-testnode/state_transition_bytecode.wasm
100644 → 100755
Binary file not shown.

0 comments on commit 4b54e04

Please sign in to comment.