Skip to content

Conversation

frrist
Copy link
Member

@frrist frrist commented Feb 15, 2021

What

@thattommyhall
Copy link

I think this again gets us closer, I now see this error

2021-02-16T14:26:49.191Z        WARN    chainstore      store/store.go:578      no heaviest tipset found, using [bafy2bzacedkjqhl46othdltxxhhqarczkkmkhfiezilw2erqyvwj5fknitlse]
2021-02-16T14:26:49.191Z        INFO    chainstore      store/store.go:583      New heaviest tipset! [bafy2bzacedkjqhl46othdltxxhhqarczkkmkhfiezilw2erqyvwj5fknitlse] (height=503621)
2021-02-16T14:26:49.191Z        WARN    visor   commands/walk.go:94     database not specified, data will not be persisted
2021-02-16T14:26:49.191Z        INFO    schedule        schedule/scheduler.go:124       running task    {"task": "Walker"}
2021-02-16T14:26:49.191Z        DEBUG   chain   chain/walker.go:71      found tipset    {"height": "503621"}
2021-02-16T14:26:49.192Z        ERROR   chain   chain/economics.go:45   error received while extracting chain economics, closing lens   {"error": "get circulating supply: failed to setup pre-ignition vesting schedule: getting genesis block: datastore: key not found", "errorVerbose": "get circulating supply:\n    github.com/filecoin-project/sentinel-visor/tasks/chain.ExtractChainEconomicsModel\n        /home/pl/sentinel-visor/tasks/chain/economics.go:29\n  - failed to setup pre-ignition vesting schedule:\n    github.com/filecoin-project/lotus/chain/stmgr.(*StateManager).GetVMCirculatingSupplyDetailed\n        /home/pl/.asdf/installs/golang/1.15.7/packages/pkg/mod/github.com/filecoin-project/lotus@v1.4.2-rc1/chain/stmgr/stmgr.go:1244\n  - getting genesis block:\n    github.com/filecoin-project/lotus/chain/stmgr.(*StateManager).setupGenesisVestingSchedule\n        /home/pl/.asdf/installs/golang/1.15.7/packages/pkg/mod/github.com/filecoin-project/lotus@v1.4.2-rc1/chain/stmgr/stmgr.go:956\n  - datastore: key not found"}
2021-02-16T14:26:49.192Z        ERROR   chain   chain/indexer.go:223    task returned with error        {"height": 503621, "task": "chaineconomics", "error": "get circulating supply: failed to setup pre-ignition vesting schedule: getting genesis block: datastore: key not found"}
2021-02-16T14:26:49.192Z        ERROR   schedule        schedule/scheduler.go:133       task exited with failure        {"task": "Walker", "error": "walk chain: notify tipset: get circulating supply: failed to setup pre-ignition vesting schedule: getting genesis block: datastore: key not found"}

@frrist
Copy link
Member Author

frrist commented Feb 16, 2021

failed to setup pre-ignition vesting schedule: getting genesis block: datastore: key not found

It looks like I need to set the genesis block on the ChainStore before constructing the StateManager with it.

@frrist frrist changed the title demo: update lotus wip: update lotus Feb 17, 2021
@frrist frrist force-pushed the tmp/compute-state-fix branch from 5c37232 to ed7bfc6 Compare February 19, 2021 18:29
@frrist
Copy link
Member Author

frrist commented Feb 19, 2021

Added some vectors to make the failures easily reproducible, need to fix the genesis block error and this should be good to go.

@frrist frrist changed the title wip: update lotus Update Lotus v1.4.2 Feb 19, 2021
@frrist frrist marked this pull request as ready for review February 19, 2021 19:39
- ensure genesis block is set in util lens
- pass context where needed
@frrist frrist force-pushed the tmp/compute-state-fix branch from d5d2f46 to f4f182f Compare February 19, 2021 19:42
@frrist frrist requested a review from iand February 19, 2021 19:45
@frrist frrist self-assigned this Feb 19, 2021
@frrist
Copy link
Member Author

frrist commented Feb 19, 2021

Everything should be wae now. Feel free to merge on approval.

@iand iand merged commit ec0a276 into master Feb 22, 2021
@iand iand deleted the tmp/compute-state-fix branch February 22, 2021 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

carrepo not working for the chaineconomics task
3 participants