PlatONnetwork/PlatON-Go

random number generation times out

Closed this issue · 2 comments

version: 1.2.0

Use the inner contract (lat1xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpe9fgva) to generate random numbers, when the number parameter is large (>450), the generation will time out.

if is call, timed out while generation.

if is transaction, timed out while estimating gas.

fixed in #1913

latest code is causing a new issue, when the number parameter is greater than 5, got: ContractLogicError: execution reverted