Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update internally used chain config #3420

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
e073b8a
update chainconfig
Dhaiwat10 Nov 25, 2024
ee67fb7
update state transition bytecode wasm files
Dhaiwat10 Nov 25, 2024
9ec3379
reset bytecode wasm file
Dhaiwat10 Nov 26, 2024
665cead
Merge branch 'master' into dp/update-chain-config
Dhaiwat10 Nov 26, 2024
3318518
remove an extra field
Dhaiwat10 Nov 26, 2024
987c898
Merge branch 'dp/update-chain-config' of github.com:FuelLabs/fuels-ts…
Dhaiwat10 Nov 26, 2024
2901aa6
reset chain id
Dhaiwat10 Nov 27, 2024
588b3d8
reset `privileged_address`
Dhaiwat10 Nov 27, 2024
0b78214
Merge branch 'master' into dp/update-chain-config
Dhaiwat10 Nov 27, 2024
9bde26c
fix some tests
Dhaiwat10 Nov 28, 2024
2beee00
Merge branch 'dp/update-chain-config' of github.com:FuelLabs/fuels-ts…
Dhaiwat10 Nov 28, 2024
96ac544
add `0x` prefix to asset id
Dhaiwat10 Nov 28, 2024
922f2da
fix up test
Dhaiwat10 Nov 28, 2024
a815c89
fix up test
Dhaiwat10 Nov 28, 2024
31f8e68
decrease state transition bytecode chunk size
Dhaiwat10 Nov 29, 2024
6e70c6a
update the state transition bytecode
Dhaiwat10 Nov 30, 2024
1be77c0
Merge branch 'master' into dp/update-chain-config
Dhaiwat10 Nov 30, 2024
be68bcf
add changeset
Dhaiwat10 Nov 30, 2024
13af3d7
Merge branch 'dp/update-chain-config' of github.com:FuelLabs/fuels-ts…
Dhaiwat10 Nov 30, 2024
019c0ec
Delete index.ts
Dhaiwat10 Nov 30, 2024
ae740d5
Update funding-transaction.test.ts
Dhaiwat10 Nov 30, 2024
40aa9fa
start removing state from `stateConfig.json`
Dhaiwat10 Nov 30, 2024
a098c2b
Update fuel-wallet-connector.test.ts
Dhaiwat10 Nov 30, 2024
52ee16b
fix more tests
Dhaiwat10 Nov 30, 2024
d65bcf3
remove `.only()`
Dhaiwat10 Nov 30, 2024
238f989
Update funding-transaction.test.ts
Dhaiwat10 Dec 2, 2024
ded118c
ensure no breaking changes for fuels CLI
Dhaiwat10 Dec 2, 2024
b4aaeaa
Merge branch 'master' into dp/update-chain-config
Dhaiwat10 Dec 2, 2024
f92fdca
resolve lockfile conflicts
Dhaiwat10 Dec 2, 2024
291ef33
Update get-messages-by-nonce.ts
Dhaiwat10 Dec 3, 2024
af8a180
Merge branch 'master' into dp/update-chain-config
Dhaiwat10 Dec 3, 2024
7d0c5b1
Merge branch 'master' into dp/update-chain-config
Dhaiwat10 Dec 4, 2024
0609bdf
revert changes in `common.d.ts`
Dhaiwat10 Dec 4, 2024
e2d4db7
remove __dirname
Dhaiwat10 Dec 4, 2024
a19489f
fix lint error
Dhaiwat10 Dec 4, 2024
7dc91d7
use `TestMessage`
Dhaiwat10 Dec 4, 2024
7bf83b7
refactor type
Dhaiwat10 Dec 4, 2024
20ce780
oops
Dhaiwat10 Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/wild-stingrays-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@fuel-ts/contract": patch
"@fuel-ts/account": patch
"fuels": patch
"@fuel-ts/utils": patch
---

chore: update internally used chain config
171 changes: 86 additions & 85 deletions .fuel-core/configs/chainConfig.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -28,13 +28,13 @@
},
"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
}
},
Expand All @@ -45,23 +45,23 @@
"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,
Expand All @@ -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"
}
},
Expand Down
Loading
Loading