aurora-is-near / evm-bully

Stress testing and benchmarking tool for the NEAR EVM
Creative Commons Zero v1.0 Universal
28 stars 2 forks source link

Fix TotalPrepaidGasExceeded error #11

Closed strokovok closed 3 years ago

strokovok commented 3 years ago

Starting from commit c3d717c in nearcore, bully fails to make nearcore call with this amount of total prepaid gas (8e14), even though bully raises this limit:

Server error: map[TxExecutionError:map[InvalidTxError:map[ActionsValidation:map[TotalPrepaidGasExceeded:map[limit:300000000000000 total_prepaid_gas:800000000000000]]]]

This PR resets defaultGas constant to 3e14, which is equal to max_total_prepaid_gas by default.