diff --git a/crates/sui-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp b/crates/sui-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp index b754dc6b3f79b5..5d285d84298324 100644 --- a/crates/sui-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp +++ b/crates/sui-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp @@ -6,7 +6,7 @@ A: object(0,0), B: object(0,1) task 1 'publish'. lines 9-31: created: object(1,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 6087600, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 33-33: created: object(2,0), object(2,1), object(2,2) diff --git a/crates/sui-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp b/crates/sui-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp index 96a171bdbc13b4..e12b2c50711852 100644 --- a/crates/sui-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp +++ b/crates/sui-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp @@ -6,7 +6,7 @@ A: object(0,0) task 1 'publish'. lines 11-87: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 12897200, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 12882000, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 89-89: created: object(2,0), object(2,1), object(2,2) diff --git a/crates/sui-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp b/crates/sui-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp index 7971695029a800..e6bdef50bb8ade 100644 --- a/crates/sui-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp +++ b/crates/sui-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp @@ -6,7 +6,7 @@ A: object(0,0) task 1 'publish'. lines 11-52: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 9614000, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 9576000, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 54-56: created: object(2,0) diff --git a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector.exp b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector.exp index 24ffe2dca64868..8fa8ba4228fac7 100644 --- a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector.exp +++ b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector.exp @@ -6,7 +6,7 @@ A: object(0,0) task 1 'publish'. lines 8-111: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 12646400, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 12623600, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 113-113: mutated: object(0,0) diff --git a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp index 127f07f2f3b55a..925d51eb3825b7 100644 --- a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp +++ b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp @@ -6,7 +6,7 @@ A: object(0,0) task 1 'publish'. lines 8-110: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 13452000, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 13429200, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 112-112: created: object(2,0) diff --git a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp index 4c0c9ec6e40522..87d75e7c9ea3aa 100644 --- a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp +++ b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp @@ -6,7 +6,7 @@ A: object(0,0) task 1 'publish'. lines 8-110: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 13452000, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 13429200, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 112-112: created: object(2,0) diff --git a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp index 2df368a33040f8..7a2adeb28e724e 100644 --- a/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp +++ b/crates/sui-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp @@ -6,7 +6,7 @@ A: object(0,0) task 1 'publish'. lines 8-111: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 12646400, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 12623600, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 113-113: mutated: object(0,0) diff --git a/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp b/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp index 8cfd8264693b75..c62da0d4cdd230 100644 --- a/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp +++ b/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp @@ -3,7 +3,7 @@ processed 10 tasks task 1 'publish'. lines 8-55: created: object(1,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 7311200, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 7303600, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 56-58: events: 1 diff --git a/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp b/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp index 780bdae769ffcc..a0263ebcfc433d 100644 --- a/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp +++ b/crates/sui-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp @@ -3,7 +3,7 @@ processed 6 tasks task 1 'publish'. lines 8-66: created: object(1,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 7919200, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 7911600, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 67-69: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: sui::event::emit (function index 0) at offset 0. Arithmetic error, stack overflow, max value depth, etc. diff --git a/crates/sui-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp b/crates/sui-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp index 20ded1ec45f380..1422e43aa16b7d 100644 --- a/crates/sui-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp +++ b/crates/sui-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp @@ -6,7 +6,7 @@ A: object(0,0) task 1 'publish'. lines 8-78: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 9933200, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 9925600, storage_rebate: 0, non_refundable_storage_fee: 0 task 2 'run'. lines 79-81: Error: Transaction Effects Status: Move object with size 256001 is larger than the maximum object size 256000 diff --git a/crates/sui-protocol-config/src/lib.rs b/crates/sui-protocol-config/src/lib.rs index e7217d899400b8..8e144ca88a8471 100644 --- a/crates/sui-protocol-config/src/lib.rs +++ b/crates/sui-protocol-config/src/lib.rs @@ -147,6 +147,7 @@ const MAX_PROTOCOL_VERSION: u64 = 51; // Prepose consensus commit prologue in checkpoints. // Set number of leaders per round for Mysticeti commits. // Version 51: Switch to DKG V1. +// Version 52: Bump to allow variable coalescing optimization. #[derive(Copy, Clone, Debug, Hash, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord)] pub struct ProtocolVersion(u64); @@ -2431,6 +2432,7 @@ impl ProtocolConfig { cfg.feature_flags.enable_coin_deny_list_v2 = true; } } + 52 => {} // Use this template when making changes: // // // modify an existing constant.