GithubHelp home page GithubHelp logo

isabella232 / ent-3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from filecoin-project/ent

0.0 0.0 0.0 4.71 MB

Herd state trees for migrations and validations

License: Other

Makefile 0.37% Go 99.63%

ent-3's Introduction

ent logo

ent

This is a tool for testing out state tree migrations on lotus chain data

Usage

To get started you need data in a lotus directory at ~/.lotus

  • ent migrate one <state-cid> <state-epoch> does a migration and outputs the new state tree cid
  • ent migrate chain <start-block-cid> does a migration on all states between start header and genesis
  • ent validate v2 <state-cid> <state-epoch> runs long paranoid validation on the new state

ent migrate one and ent migrate chain take a --validate command for running a validation after a migratino For a migration directly comparable to a filecoin protocol migration over the input <state-cid> provide a <state-epoch> equal to the epoch the state was created in. In other words use the height of the parent tipset of a header containing <state-cid>. ent validation directly on a state tree only works with a v2 state. The name ent validate v2 tries to help make this clear. The call will fail with "unexpected actor code CID..." when run on v0 state roots.

Migrations are from specs actors v1 state to specs actors v2 state

ent-3's People

Contributors

zenground0 avatar anorth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.