Skip to content

Commit

Permalink
Update storage cost chanegs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgswords committed Jul 3, 2024
1 parent d0fc592 commit 772f1d2
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions crates/sui-protocol-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 772f1d2

Please sign in to comment.