From 186270d7a58240d4c03cccf26db32946f431968e Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Fri, 29 Jul 2022 15:46:32 +0200 Subject: [PATCH 1/2] Proto,SCORU: Fix encoding for wappred proofs Co-authored-by: Yann Regis-Gianas Co-authored-by: Andrea Cerone --- src/proto_alpha/lib_protocol/sc_rollups.ml | 56 ++--- ...ctionality (feature_flag_is_disabled).out | 20 +- ...ctionality (rollup_node_dal_subscript.out | 20 +- ... smart contract optimistic rollup node.out | 20 +- .../Alpha- consecutive commitments.out | 20 +- .../Alpha- ensure boot sector is used.out | 40 ++-- ...Alpha- get genesis info of a sc rollup.out | 20 +- ...nt hash and inbox level of a sc rollup.out | 20 +- ...ract rollup address through the client.out | 20 +- .../Alpha- list originated rollups.out | 200 +++++++++--------- ...ances PVM state with internal messages.out | 20 +- ... node advances PVM state with messages.out | 20 +- ...pha- node boots into the initial state.out | 20 +- ...ommitments in the rollup node (batcher.out | 20 +- ...ommitments in the rollup node (commitm.out | 20 +- ...ommitments in the rollup node (first_p.out | 20 +- ...ommitments in the rollup node (handles.out | 20 +- ...ommitments in the rollup node (mainten.out | 20 +- ...ommitments in the rollup node (message.out | 20 +- ...ommitments in the rollup node (no_comm.out | 20 +- ...ommitments in the rollup node (node_us.out | 20 +- ...ommitments in the rollup node (non_fin.out | 20 +- ...ommitments in the rollup node (observe.out | 20 +- ...ommitments in the rollup node (operato.out | 20 +- ...ommitments in the rollup node (robust_.out | 20 +- ...ce of inbox in the rollup node (basic).out | 20 +- ...f inbox in the rollup node (handles_ch.out | 20 +- ...ce of inbox in the rollup node (stops).out | 20 +- ...tegy of refutation games (inbox_proof).out | 20 +- ...efutation games (inbox_proof_at_genesi.out | 20 +- ...efutation games (inbox_proof_many_empt.out | 20 +- ...efutation games (inbox_proof_one_empty.out | 20 +- ...tegy of refutation games (pvm_proof_0).out | 20 +- ...tegy of refutation games (pvm_proof_1).out | 20 +- ...tegy of refutation games (pvm_proof_2).out | 20 +- ...tegy of refutation games (pvm_proof_3).out | 20 +- ...efutation games (pvm_proof_at_genesis).out | 20 +- ...strategy of refutation games (timeout).out | 20 +- .../Alpha- originate with boot sector.out | 20 +- ...tion of a SCORU executes without error.out | 20 +- ...ssages in the inbox - check inbox size.out | 20 +- ...s in the inbox - current messages hash.out | 20 +- 42 files changed, 541 insertions(+), 535 deletions(-) diff --git a/src/proto_alpha/lib_protocol/sc_rollups.ml b/src/proto_alpha/lib_protocol/sc_rollups.ml index 8b048f662d6f..25f786479717 100644 --- a/src/proto_alpha/lib_protocol/sc_rollups.ml +++ b/src/proto_alpha/lib_protocol/sc_rollups.ml @@ -50,26 +50,9 @@ module Kind = struct *) type t = Example_arith | Wasm_2_0_0 - let example_arith_case = - Data_encoding.( - case - ~title:"Example_arith smart contract rollup kind" - (Tag 0) - unit - (function Example_arith -> Some () | _ -> None) - (fun () -> Example_arith)) - - let wasm_2_0_0_case = - Data_encoding.( - case - ~title:"Wasm 2.0.0 smart contract rollup kind" - (Tag 1) - unit - (function Wasm_2_0_0 -> Some () | _ -> None) - (fun () -> Wasm_2_0_0)) - let encoding = - Data_encoding.union ~tag_size:`Uint16 [example_arith_case; wasm_2_0_0_case] + Data_encoding.string_enum + [("arith_pvm_kind", Example_arith); ("wasm_2_0_0_pvm_kind", Wasm_2_0_0)] let equal x y = match (x, y) with @@ -163,7 +146,11 @@ let wrapped_proof_encoding = case ~title:"Arithmetic PVM with proof" (Tag 0) - Sc_rollup_arith.Protocol_implementation.proof_encoding + (obj2 + (req "kind" @@ constant "arith_pvm_kind") + (req + "proof" + Sc_rollup_arith.Protocol_implementation.proof_encoding)) (function | Arith_pvm_with_proof pvm -> let (module P : PVM_with_proof @@ -171,9 +158,9 @@ let wrapped_proof_encoding = Sc_rollup_arith.Protocol_implementation.proof) = pvm in - Some P.proof + Some ((), P.proof) | _ -> None) - (fun proof -> + (fun ((), proof) -> let module P = struct include Sc_rollup_arith.Protocol_implementation @@ -183,7 +170,11 @@ let wrapped_proof_encoding = case ~title:"Wasm 2.0.0 PVM with proof" (Tag 1) - Sc_rollup_wasm.V2_0_0.Protocol_implementation.proof_encoding + (obj2 + (req "kind" @@ constant "wasm_2_0_0_pvm_kind") + (req + "proof" + Sc_rollup_wasm.V2_0_0.Protocol_implementation.proof_encoding)) (function | Wasm_2_0_0_pvm_with_proof pvm -> let (module P : PVM_with_proof @@ -191,15 +182,30 @@ let wrapped_proof_encoding = Sc_rollup_wasm.V2_0_0.Protocol_implementation.proof) = pvm in - Some P.proof + Some ((), P.proof) | _ -> None) - (fun proof -> + (fun ((), proof) -> let module P = struct include Sc_rollup_wasm.V2_0_0.Protocol_implementation let proof = proof end in Wasm_2_0_0_pvm_with_proof (module P)); + (* The later case is provided solely in order to provide error + messages in case someone tries to encode an [Unencodable] + proof. *) + case + ~title:"Unencodable" + (Tag 255) + empty + (function + | Unencodable (module P) -> + raise + (Invalid_argument + Format.( + sprintf "cannot encode Unencodable (PVM %s)" P.name)) + | _ -> None) + (fun () -> raise (Invalid_argument "cannot decode Unencodable")); ] in check_size Constants_repr.sc_max_wrapped_proof_binary_size encoding diff --git a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out index cf3a1bd89232..6b90e13dc1d1 100644 --- a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out +++ b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,23 +12,23 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: unit Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 diff --git a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out index 0130dffc589a..34f7a8772583 100644 --- a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out +++ b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: unit Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out b/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out index 57b53fd90abb..27747b4d4a8e 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,23 +12,23 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out b/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out index 05d20cd0590f..25d8ddcfa512 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none publish commitment from '[PUBLIC_KEY_HASH]' for sc rollup '[SC_ROLLUP_HASH]' with compressed state scs11VNjWyZw4Tgbvsom8epQbox86S2CKkE1UAZkXMM7Pj8MQMLzMf at inbox level 32 and predecessor '[SC_ROLLUP_COMMITMENT_HASH]' and number of ticks 1 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out b/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out index ec4a570b3a03..8c5bab4c1f42 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with '10 10 10 + +' --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.481 units (will add 100 for safety) -Estimated storage: 6664 bytes added (will add 20 for safety) +Estimated gas: 3110.477 units (will add 100 for safety) +Estimated storage: 6663 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000687 + Fee to the baker: ꜩ0.000686 Expected counter: 1 Gas limit: 3211 - Storage limit: 6684 bytes + Storage limit: 6683 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000687 - payload fees(the block proposer) ....... +ꜩ0.000687 + [PUBLIC_KEY_HASH] ... -ꜩ0.000686 + payload fees(the block proposer) ....... +ꜩ0.000686 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '10 10 10 + +' This smart contract rollup origination was successfully applied - Consumed gas: 3110.481 - Storage size: 6664 bytes + Consumed gas: 3110.477 + Storage size: 6663 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.666 - storage fees ........................... +ꜩ1.666 + [PUBLIC_KEY_HASH] ... -ꜩ1.66575 + storage fees ........................... +ꜩ1.66575 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -81,8 +81,8 @@ This sequence of operations was run: ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with 31 --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.441 units (will add 100 for safety) -Estimated storage: 6654 bytes added (will add 20 for safety) +Estimated gas: 3110.437 units (will add 100 for safety) +Estimated storage: 6653 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -92,25 +92,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000677 + Fee to the baker: ꜩ0.000676 Expected counter: 2 Gas limit: 3211 - Storage limit: 6674 bytes + Storage limit: 6673 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000677 - payload fees(the block proposer) ....... +ꜩ0.000677 + [PUBLIC_KEY_HASH] ... -ꜩ0.000676 + payload fees(the block proposer) ....... +ꜩ0.000676 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '31' This smart contract rollup origination was successfully applied - Consumed gas: 3110.441 - Storage size: 6654 bytes + Consumed gas: 3110.437 + Storage size: 6653 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6635 - storage fees ........................... +ꜩ1.6635 + [PUBLIC_KEY_HASH] ... -ꜩ1.66325 + storage fees ........................... +ꜩ1.66325 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out b/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out index 57b53fd90abb..27747b4d4a8e 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,23 +12,23 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out b/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out index 57b53fd90abb..27747b4d4a8e 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,23 +12,23 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out b/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out index 57b53fd90abb..27747b4d4a8e 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,23 +12,23 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out b/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out index 1816b7098d02..3183b207a4f8 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,31 +12,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -46,31 +46,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 2 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -80,31 +80,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 3 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -114,31 +114,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 4 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -148,31 +148,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 5 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -182,31 +182,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 6 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -216,31 +216,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 7 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -250,31 +250,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 8 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -284,31 +284,31 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 9 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -318,23 +318,23 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 10 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with internal messages.out b/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with internal messages.out index 3fa88ae33158..f54e9f7496da 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with internal messages.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with internal messages.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out b/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out index ad0d0e009d57..019a55a58b21 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out b/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out index 149954abb58b..5951d60d5d73 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (batcher.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (batcher.out index 97414af42721..da29f3207efc 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (batcher.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (batcher.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out index a0d06f12ab17..2cda5a2607bc 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out index 85f02a113587..1e6a5ab6c118 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out index 30fac1bd1803..eb032f054ba8 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (mainten.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (mainten.out index 4b44998e939f..1293fdb5eaa5 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (mainten.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (mainten.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out index 3f3297f09f7b..3b68df079d26 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out index 35ebefbdf552..2ac23582fba9 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out index edbbec87a9bd..1ffffb9aef73 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out index f2ba54a738d0..e562da72615d 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (observe.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (observe.out index 97414af42721..da29f3207efc 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (observe.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (observe.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (operato.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (operato.out index 4b44998e939f..1293fdb5eaa5 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (operato.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (operato.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (robust_.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (robust_.out index 1a70bae79c02..7592e1dee9c2 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (robust_.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (robust_.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out index 2bd0cfbeacc7..418443a750b7 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out index 2f183a64c4d9..cedb1d4716f3 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out index a6b0eafd4d8b..ef4c854ba722 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof).out index d03236cbf2e9..9f724b6699de 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_at_genesi.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_at_genesi.out index d03236cbf2e9..9f724b6699de 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_at_genesi.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_at_genesi.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_many_empt.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_many_empt.out index 86fcf8aec463..0ee22c11c025 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_many_empt.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_many_empt.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_one_empty.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_one_empty.out index 8f980c92bd12..93ffb0217730 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_one_empty.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (inbox_proof_one_empty.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_0).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_0).out index d03236cbf2e9..9f724b6699de 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_0).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_0).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_1).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_1).out index d03236cbf2e9..9f724b6699de 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_1).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_1).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_2).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_2).out index 7db3b4732c4b..4d42f81f80e7 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_2).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_2).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_3).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_3).out index 602dfc0fe982..28cbbb0d152b 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_3).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_3).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_at_genesis).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_at_genesis).out index d03236cbf2e9..9f724b6699de 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_at_genesis).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (pvm_proof_at_genesis).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (timeout).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (timeout).out index d03236cbf2e9..9f724b6699de 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (timeout).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the winning strategy of refutation games (timeout).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["3 3 +","1","1 1 x","3 7 8 + * y","2 2 out"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out b/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out index 6932914bc0f6..0e8ce362192b 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with '10 10 10 + +' --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.481 units (will add 100 for safety) -Estimated storage: 6664 bytes added (will add 20 for safety) +Estimated gas: 3110.477 units (will add 100 for safety) +Estimated storage: 6663 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000687 + Fee to the baker: ꜩ0.000686 Expected counter: 1 Gas limit: 3211 - Storage limit: 6684 bytes + Storage limit: 6683 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000687 - payload fees(the block proposer) ....... +ꜩ0.000687 + [PUBLIC_KEY_HASH] ... -ꜩ0.000686 + payload fees(the block proposer) ....... +ꜩ0.000686 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '10 10 10 + +' This smart contract rollup origination was successfully applied - Consumed gas: 3110.481 - Storage size: 6664 bytes + Consumed gas: 3110.477 + Storage size: 6663 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.666 - storage fees ........................... +ꜩ1.666 + [PUBLIC_KEY_HASH] ... -ꜩ1.66575 + storage fees ........................... +ꜩ1.66575 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/boot_sector' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out b/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out index 57b53fd90abb..27747b4d4a8e 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,23 +12,23 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out index 304cad53e1c8..f8282658b5f0 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap2 to '[SC_ROLLUP_HASH]' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out index 57536e549711..3f38206e75c0 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from bootstrap1 of kind arith of type string booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 3110.433 units (will add 100 for safety) -Estimated storage: 6652 bytes added (will add 20 for safety) +Estimated gas: 3110.429 units (will add 100 for safety) +Estimated storage: 6651 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -12,25 +12,25 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000675 + Fee to the baker: ꜩ0.000674 Expected counter: 1 Gas limit: 3211 - Storage limit: 6672 bytes + Storage limit: 6671 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000675 - payload fees(the block proposer) ....... +ꜩ0.000675 + [PUBLIC_KEY_HASH] ... -ꜩ0.000674 + payload fees(the block proposer) ....... +ꜩ0.000674 Smart contract rollup origination: Kind: arith Parameter type: string Boot sector: '' This smart contract rollup origination was successfully applied - Consumed gas: 3110.433 - Storage size: 6652 bytes + Consumed gas: 3110.429 + Storage size: 6651 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.663 - storage fees ........................... +ꜩ1.663 + [PUBLIC_KEY_HASH] ... -ꜩ1.66275 + storage fees ........................... +ꜩ1.66275 ./tezos-client --wait none send sc rollup message 'text:["hello, message number 0", "hello, message number 1", "hello, message number 2", "hello, message number 3", "hello, message number 4"]' from bootstrap2 to '[SC_ROLLUP_HASH]' -- GitLab From 551505bd81434b0844f310d1c23845ef46a533c6 Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Fri, 29 Jul 2022 15:49:19 +0200 Subject: [PATCH 2/2] Proto,SCORU: Remove unnecessary first-class module type annotations --- src/proto_alpha/lib_protocol/sc_rollups.ml | 49 +++++++--------------- 1 file changed, 14 insertions(+), 35 deletions(-) diff --git a/src/proto_alpha/lib_protocol/sc_rollups.ml b/src/proto_alpha/lib_protocol/sc_rollups.ml index 25f786479717..dde3e046d15d 100644 --- a/src/proto_alpha/lib_protocol/sc_rollups.ml +++ b/src/proto_alpha/lib_protocol/sc_rollups.ml @@ -120,16 +120,8 @@ type wrapped_proof = let wrapped_proof_module p = match p with | Unencodable p -> p - | Arith_pvm_with_proof p -> - let (module P) = p in - (module struct - include P - end : PVM_with_proof) - | Wasm_2_0_0_pvm_with_proof p -> - let (module P) = p in - (module struct - include P - end : PVM_with_proof) + | Arith_pvm_with_proof (module P) -> (module P) + | Wasm_2_0_0_pvm_with_proof (module P) -> (module P) let wrapped_proof_kind_exn : wrapped_proof -> Kind.t = function | Unencodable _ -> @@ -152,21 +144,14 @@ let wrapped_proof_encoding = "proof" Sc_rollup_arith.Protocol_implementation.proof_encoding)) (function - | Arith_pvm_with_proof pvm -> - let (module P : PVM_with_proof - with type proof = - Sc_rollup_arith.Protocol_implementation.proof) = - pvm - in - Some ((), P.proof) - | _ -> None) + | Arith_pvm_with_proof (module P) -> Some ((), P.proof) | _ -> None) (fun ((), proof) -> - let module P = struct - include Sc_rollup_arith.Protocol_implementation + Arith_pvm_with_proof + (module struct + include Sc_rollup_arith.Protocol_implementation - let proof = proof - end in - Arith_pvm_with_proof (module P)); + let proof = proof + end)); case ~title:"Wasm 2.0.0 PVM with proof" (Tag 1) @@ -176,21 +161,15 @@ let wrapped_proof_encoding = "proof" Sc_rollup_wasm.V2_0_0.Protocol_implementation.proof_encoding)) (function - | Wasm_2_0_0_pvm_with_proof pvm -> - let (module P : PVM_with_proof - with type proof = - Sc_rollup_wasm.V2_0_0.Protocol_implementation.proof) = - pvm - in - Some ((), P.proof) + | Wasm_2_0_0_pvm_with_proof (module P) -> Some ((), P.proof) | _ -> None) (fun ((), proof) -> - let module P = struct - include Sc_rollup_wasm.V2_0_0.Protocol_implementation + Wasm_2_0_0_pvm_with_proof + (module struct + include Sc_rollup_wasm.V2_0_0.Protocol_implementation - let proof = proof - end in - Wasm_2_0_0_pvm_with_proof (module P)); + let proof = proof + end)); (* The later case is provided solely in order to provide error messages in case someone tries to encode an [Unencodable] proof. *) -- GitLab