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
This issue is just to create a new function block_height within the env module and deprecate block_index function as of version 4.0.
The sys interface cannot be changed and it doesn't make sense to migrate the function on the BlockchainInterface trait because it will be removed soon.
Edit: also potentially worth creating a sys::block_height function, which is not part of the extern "C" interface, but that calls block_index to match the high-level (env) interface.
The text was updated successfully, but these errors were encountered:
This issue is just to create a new function
block_height
within theenv
module and deprecateblock_index
function as of version4.0
.The
sys
interface cannot be changed and it doesn't make sense to migrate the function on theBlockchainInterface
trait because it will be removed soon.Ref: near/nearcore#1903 (comment)
Edit: also potentially worth creating a
sys::block_height
function, which is not part of the extern "C" interface, but that callsblock_index
to match the high-level (env
) interface.The text was updated successfully, but these errors were encountered: