@@ -31,6 +31,7 @@ fn test_use_gas() {
3131 ctx. runtime_state ( ) ,
3232 Parameters {
3333 max_batch_gas : BLOCK_MAX_GAS ,
34+ max_in_msgs_gas : BLOCK_MAX_GAS / 4 ,
3435 max_tx_signers : 8 ,
3536 max_multisig_signers : 8 ,
3637 gas_costs : Default :: default ( ) ,
@@ -126,6 +127,7 @@ fn test_query_min_gas_price() {
126127 ctx. runtime_state ( ) ,
127128 Parameters {
128129 max_batch_gas : 10000 ,
130+ max_in_msgs_gas : 2500 ,
129131 max_tx_signers : 8 ,
130132 max_multisig_signers : 8 ,
131133 gas_costs : Default :: default ( ) ,
@@ -243,6 +245,7 @@ impl Runtime for GasWasterRuntime {
243245 super :: Genesis {
244246 parameters : Parameters {
245247 max_batch_gas : u64:: MAX ,
248+ max_in_msgs_gas : u64:: MAX ,
246249 max_tx_signers : 8 ,
247250 max_multisig_signers : 8 ,
248251 gas_costs : super :: GasCosts {
@@ -373,6 +376,7 @@ fn test_approve_unverified_tx() {
373376 ctx. runtime_state ( ) ,
374377 Parameters {
375378 max_batch_gas : u64:: MAX ,
379+ max_in_msgs_gas : u64:: MAX ,
376380 max_tx_signers : 2 ,
377381 max_multisig_signers : 2 ,
378382 gas_costs : Default :: default ( ) ,
@@ -587,6 +591,7 @@ fn test_check_weights() {
587591 ctx. runtime_state ( ) ,
588592 Parameters {
589593 max_batch_gas : u64:: MAX ,
594+ max_in_msgs_gas : u64:: MAX ,
590595 max_tx_signers : 8 ,
591596 max_multisig_signers : 8 ,
592597 gas_costs : super :: GasCosts {
@@ -650,6 +655,7 @@ fn test_min_gas_price() {
650655 ctx. runtime_state ( ) ,
651656 Parameters {
652657 max_batch_gas : u64:: MAX ,
658+ max_in_msgs_gas : u64:: MAX ,
653659 max_tx_signers : 8 ,
654660 max_multisig_signers : 8 ,
655661 gas_costs : super :: GasCosts {
@@ -830,6 +836,7 @@ fn test_gas_used_events() {
830836 ctx. runtime_state ( ) ,
831837 Parameters {
832838 max_batch_gas : 1_000_000 ,
839+ max_in_msgs_gas : 250_000 ,
833840 max_tx_signers : 8 ,
834841 max_multisig_signers : 8 ,
835842 gas_costs : Default :: default ( ) ,
0 commit comments