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
get-last-block - returners the height of the last block that was committed to the virtual chain . type- (uint).
get-block-timestamp- returns the time stamp of the last block that was committed to the virtual chain . (uint): block timestamp as seconds since unix epoch .
This 2 commands should work with the option of -env and with orbs-gamma-config.json file
I'm pretty sure he didn't mean for gamma-cli, but for the contract SDK itself - meaning add SDK methods to allow to get these values from within running contracts
In many cases it is necessary to know the block timestamp and height and it would be very helpful to add those functions
The text was updated successfully, but these errors were encountered: