Skip to content

Remote data fixes and next steps #2476

Description

@hugo-stacks

Context

Remote data (aka MXS: mainnet execution simulation) allows developers to simulate a transaction in Simnet as if it was executed on Mainnet (or Testnet), at a given block height.
In other words, it forks Mainnet.

It's handled in the datastore, where contract metadata and marf data are fetch through stacks-node http api calls.

Use case: run clarity unit tests against a real set of data, without handling fixtures and state warming locally.


Clean up task

  • A lot of the complexity of this feature comes from handling at-block calls, and fetching/handling past data. at-block is no longer supported in Clarity, so we could just remove it for future versions of Clarinet, and greatly simplify this part of the code base

Fixes

Perf consideration

  • Because all metadata and data are immutable, they can be cached on disk. This is already the case for metadata, the same could be done for all marf values

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions