Skip to content

Take the value of CHECKPOINT_ADDRESS (rename to: REVERT_ROOT_HASH) from emulator. #262

@mpolitzer

Description

@mpolitzer

This value is hard coded as of #241. It should be dictated by the emulator from v0.20 going forward.

Rust code can bind the value from: machine/emulator/src/machine-c-api.h
Lua code can retrieve it from:

cm = require'cartesi'
cm.AR_SHADOW_REVERT_ROOT_HASH_START

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No fields configured for Task.

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions