From a5806f33e3144d0bbe15d15ba57d610d3f3c5251 Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Fri, 8 Apr 2022 11:24:23 +0200 Subject: [PATCH] Proto,tx_rollup: Bigger inboxes --- src/proto_alpha/lib_parameters/default_parameters.ml | 2 +- src/proto_alpha/lib_protocol/raw_context.ml | 2 +- .../lib_protocol/test/integration/operations/test_tx_rollup.ml | 2 +- tezt/_regressions/rpc/alpha.client.others.out | 2 +- tezt/_regressions/rpc/alpha.light.others.out | 2 +- tezt/_regressions/rpc/alpha.proxy.others.out | 2 +- tezt/_regressions/rpc/alpha.proxy_server_data_dir.others.out | 2 +- tezt/_regressions/rpc/alpha.proxy_server_rpc.others.out | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/proto_alpha/lib_parameters/default_parameters.ml b/src/proto_alpha/lib_parameters/default_parameters.ml index ffa126869c8b..715a10d04904 100644 --- a/src/proto_alpha/lib_parameters/default_parameters.ml +++ b/src/proto_alpha/lib_parameters/default_parameters.ml @@ -111,7 +111,7 @@ let constants_mainnet = the capability to have two rollups at full speed on mainnet (as long as they do not reach scalability issues related to proof size). *) - tx_rollup_hard_size_limit_per_inbox = 250_000; + tx_rollup_hard_size_limit_per_inbox = 500_000; tx_rollup_hard_size_limit_per_message = 5_000; tx_rollup_commitment_bond = Tez.of_mutez_exn 10_000_000_000L; tx_rollup_finality_period; diff --git a/src/proto_alpha/lib_protocol/raw_context.ml b/src/proto_alpha/lib_protocol/raw_context.ml index 61fe90896255..fea789693c66 100644 --- a/src/proto_alpha/lib_protocol/raw_context.ml +++ b/src/proto_alpha/lib_protocol/raw_context.ml @@ -912,7 +912,7 @@ let prepare_first_block ~level ~timestamp ctxt = the capability to have two rollups at full speed on mainnet (as long as they do not reach scalability issues related to proof size). *) - tx_rollup_hard_size_limit_per_inbox = 250_000; + tx_rollup_hard_size_limit_per_inbox = 500_000; tx_rollup_hard_size_limit_per_message = 5_000; (* Tickets are transmitted in batches in the [Tx_rollup_dispatch_tickets] operation. diff --git a/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml b/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml index 505cf75c7b6f..abcc290ef5ea 100644 --- a/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml +++ b/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml @@ -905,7 +905,7 @@ let fill_inbox b tx_rollup contract contents k = consumed by an operation. We set a lower (arbitrary) limit to be able to reach the size limit of an operation. *) Op.tx_rollup_submit_batch - ~gas_limit:(Gas.Arith.integral_of_int_exn 100_000) + ~gas_limit:(Gas.Arith.integral_of_int_exn 20_000) ~counter (I i) contract diff --git a/tezt/_regressions/rpc/alpha.client.others.out b/tezt/_regressions/rpc/alpha.client.others.out index 5bf8f5d89145..2a80258643e4 100644 --- a/tezt/_regressions/rpc/alpha.client.others.out +++ b/tezt/_regressions/rpc/alpha.client.others.out @@ -30,7 +30,7 @@ rpc/alpha.client.others.out { "numerator": 1, "denominator": 2 }, "cache_script_size": 100000000, "cache_stake_distribution_cycles": 8, "cache_sampler_state_cycles": 8, "tx_rollup_enable": true, "tx_rollup_origination_size": 4000, - "tx_rollup_hard_size_limit_per_inbox": 250000, + "tx_rollup_hard_size_limit_per_inbox": 500000, "tx_rollup_hard_size_limit_per_message": 5000, "tx_rollup_max_withdrawals_per_batch": 15, "tx_rollup_commitment_bond": "10000000000", diff --git a/tezt/_regressions/rpc/alpha.light.others.out b/tezt/_regressions/rpc/alpha.light.others.out index 17f3fa2d1fb7..bdb57577fd05 100644 --- a/tezt/_regressions/rpc/alpha.light.others.out +++ b/tezt/_regressions/rpc/alpha.light.others.out @@ -30,7 +30,7 @@ rpc/alpha.light.others.out { "numerator": 1, "denominator": 2 }, "cache_script_size": 100000000, "cache_stake_distribution_cycles": 8, "cache_sampler_state_cycles": 8, "tx_rollup_enable": true, "tx_rollup_origination_size": 4000, - "tx_rollup_hard_size_limit_per_inbox": 250000, + "tx_rollup_hard_size_limit_per_inbox": 500000, "tx_rollup_hard_size_limit_per_message": 5000, "tx_rollup_max_withdrawals_per_batch": 15, "tx_rollup_commitment_bond": "10000000000", diff --git a/tezt/_regressions/rpc/alpha.proxy.others.out b/tezt/_regressions/rpc/alpha.proxy.others.out index 443ad15fc0fd..18f289de5bb1 100644 --- a/tezt/_regressions/rpc/alpha.proxy.others.out +++ b/tezt/_regressions/rpc/alpha.proxy.others.out @@ -30,7 +30,7 @@ rpc/alpha.proxy.others.out { "numerator": 1, "denominator": 2 }, "cache_script_size": 100000000, "cache_stake_distribution_cycles": 8, "cache_sampler_state_cycles": 8, "tx_rollup_enable": true, "tx_rollup_origination_size": 4000, - "tx_rollup_hard_size_limit_per_inbox": 250000, + "tx_rollup_hard_size_limit_per_inbox": 500000, "tx_rollup_hard_size_limit_per_message": 5000, "tx_rollup_max_withdrawals_per_batch": 15, "tx_rollup_commitment_bond": "10000000000", diff --git a/tezt/_regressions/rpc/alpha.proxy_server_data_dir.others.out b/tezt/_regressions/rpc/alpha.proxy_server_data_dir.others.out index a4dbebe0fdab..a4bd611488c1 100644 --- a/tezt/_regressions/rpc/alpha.proxy_server_data_dir.others.out +++ b/tezt/_regressions/rpc/alpha.proxy_server_data_dir.others.out @@ -30,7 +30,7 @@ rpc/alpha.proxy_server_data_dir.others.out { "numerator": 1, "denominator": 2 }, "cache_script_size": 100000000, "cache_stake_distribution_cycles": 8, "cache_sampler_state_cycles": 8, "tx_rollup_enable": true, "tx_rollup_origination_size": 4000, - "tx_rollup_hard_size_limit_per_inbox": 250000, + "tx_rollup_hard_size_limit_per_inbox": 500000, "tx_rollup_hard_size_limit_per_message": 5000, "tx_rollup_max_withdrawals_per_batch": 15, "tx_rollup_commitment_bond": "10000000000", diff --git a/tezt/_regressions/rpc/alpha.proxy_server_rpc.others.out b/tezt/_regressions/rpc/alpha.proxy_server_rpc.others.out index 8deba0be2546..f667ce0edabd 100644 --- a/tezt/_regressions/rpc/alpha.proxy_server_rpc.others.out +++ b/tezt/_regressions/rpc/alpha.proxy_server_rpc.others.out @@ -30,7 +30,7 @@ rpc/alpha.proxy_server_rpc.others.out { "numerator": 1, "denominator": 2 }, "cache_script_size": 100000000, "cache_stake_distribution_cycles": 8, "cache_sampler_state_cycles": 8, "tx_rollup_enable": true, "tx_rollup_origination_size": 4000, - "tx_rollup_hard_size_limit_per_inbox": 250000, + "tx_rollup_hard_size_limit_per_inbox": 500000, "tx_rollup_hard_size_limit_per_message": 5000, "tx_rollup_max_withdrawals_per_batch": 15, "tx_rollup_commitment_bond": "10000000000", -- GitLab