telosnetwork / leap

C++ implementation of the Antelope protocol
Other
0 stars 0 forks source link

Make sure max tx time override works on EVM (Multicall) #28

Closed rozzaswap closed 4 months ago

rozzaswap commented 5 months ago

https://gist.github.com/guilledk/0735d3d3294c1cdc8fe71b12f9f5f7b5

guilledk commented 4 months ago

This test: https://github.com/telosnetwork/telos-evm-docker/blob/master/tests/test_tx_time_override.py

which uses this contract to calculate primes: https://github.com/guilledk/evm-mechanics/blob/52a989a7bba5d5088bdb3c89b2b5fd4bfbf2f47d/src/EVMMechanics.sol

if i pass --override-max-tx-time=499 i can calculate up to 2200, if i dont i only can up to 1200

So, im gonna say its working as intenteded, and in any case something familiar with multicall's having issues should check it out.