Skip to content

Commit

Permalink
gas_schedule: change max gas unit of test env to 400_000_000
Browse files Browse the repository at this point in the history
  • Loading branch information
nanne007 committed Oct 19, 2022
1 parent 1bad835 commit faf9bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/types/src/gas_schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub static G_TEST_GAS_CONSTANTS: Lazy<GasConstants> = Lazy::new(|| {
min_transaction_gas_units: InternalGasUnits::new(600),
large_transaction_cutoff: *G_LARGE_TRANSACTION_CUTOFF,
intrinsic_gas_per_byte: InternalGasUnits::new(8),
maximum_number_of_gas_units: GasUnits::new(40_000_000), //must less than base_block_gas_limit
maximum_number_of_gas_units: GasUnits::new(40_000_000 * 10), //must less than base_block_gas_limit
min_price_per_gas_unit: GasPrice::new(0),
max_price_per_gas_unit: GasPrice::new(10_000),
max_transaction_size_in_bytes: G_MAX_TRANSACTION_SIZE_IN_BYTES_V3,
Expand Down

0 comments on commit faf9bb4

Please sign in to comment.