Skip to content

Commit

Permalink
proto ver 70 & stabilize discard_custom_sections (#11742)
Browse files Browse the repository at this point in the history
This stabilizes the recently implemented #11721. As the protocol version
for 2.0 has already been bumped to 69, this is now 70 for the release
that comes after 2.0.
  • Loading branch information
nagisa authored Jul 18, 2024
1 parent c422664 commit b21c99c
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion core/parameters/res/runtime_configs/143.yaml

This file was deleted.

1 change: 1 addition & 0 deletions core/parameters/res/runtime_configs/70.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
eth_implicit_accounts: { old: false, new: true }
discard_custom_sections: { old: false, new: true }
2 changes: 1 addition & 1 deletion core/parameters/res/runtime_configs/parameters.snap
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function_call_weight true
vm_kind NearVm
eth_implicit_accounts true
yield_resume true
discard_custom_sections false
discard_custom_sections true
max_congestion_incoming_gas 20_000_000_000_000_000
max_congestion_outgoing_gas 10_000_000_000_000_000
max_congestion_memory_consumption 1_000_000_000
Expand Down
1 change: 0 additions & 1 deletion core/parameters/src/config_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ static CONFIG_DIFFS: &[(ProtocolVersion, &str)] = &[
(70, include_config!("70.yaml")),
(129, include_config!("129.yaml")),
(141, include_config!("141.yaml")),
(143, include_config!("143.yaml")),
];

/// Testnet parameters for versions <= 29, which (incorrectly) differed from mainnet parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: config_view
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": true,
"implicit_account_creation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: config_view
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": true,
"implicit_account_creation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: config_view
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": false,
"implicit_account_creation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: config_view
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": true,
"implicit_account_creation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: config_view
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": true,
"implicit_account_creation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: config_view
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": false,
"implicit_account_creation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: "&view"
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": false,
"implicit_account_creation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ expression: "&view"
"regular_op_cost": 822756,
"vm_kind": "<REDACTED>",
"disable_9393_fix": false,
"discard_custom_sections": false,
"discard_custom_sections": true,
"storage_get_mode": "FlatStorage",
"fix_contract_loading_cost": false,
"implicit_account_creation": true,
Expand Down

0 comments on commit b21c99c

Please sign in to comment.