You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there is a way to return the blocknumber if I pass future time, like query blocknumber in 8 weeks and it will return to me approximetly the blocknumber in 8 weeks. For example, if blocknumber now is 10699412 it will return 10699412 + 161280. ps: 161280 = (8weeks * 7days * 24h * 60min * 60s) / 30s.
The text was updated successfully, but these errors were encountered:
Hi @shayanb . Well, it would be basically used to help in an unit test. In the past I wrote some tests that I needed a future block number to check some conditions. When I needed I thought to create a simple script to do the job, but I never did. When I saw Legions and it asked for some features, I thought it could be useful. To be honest I needed just once.
I was wondering if there is a way to return the blocknumber if I pass future time, like
query blocknumber in 8 weeks
and it will return to me approximetly the blocknumber in 8 weeks. For example, if blocknumber now is 10699412 it will return 10699412 + 161280. ps: 161280 = (8weeks * 7days * 24h * 60min * 60s) / 30s.The text was updated successfully, but these errors were encountered: