Git Product home page Git Product logo

Comments (2)

chengzhinei avatar chengzhinei commented on July 26, 2024 1

使用 exchaind repair-state --home ${EXCHAIND_PATH} 后 继续报错:

`2023/11/23 03:29:45 repair state latestBlockHeight = 23757234 commitVersion = 23757200 2023/11/23 03:29:45 repair state at version = 23757198 panic: failed to load token Store: wanted to load target 23757198 but only found up to 23757100

goroutine 1 [running]: github.com/okex/exchain/app.panicError(...) /tmp/exchain/app/repair_state.go:346 github.com/okex/exchain/app.RepairState(0xc00051edc8, 0x0) /tmp/exchain/app/repair_state.go:144 +0x7d8 main.repairStateCmd.func2(0xc000300500, {0xc000532b00, 0x0, 0x2}) /tmp/exchain/cmd/exchaind/repair_data.go:40 +0x6b github.com/spf13/cobra.(*Command).execute(0xc000300500, {0xc000532ae0, 0x2, 0x2}) /root/go/pkg/mod/github.com/spf13/[email protected]/command.go:876 +0x60e github.com/spf13/cobra.(*Command).ExecuteC(0xc0001f4f00) /root/go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x3bc github.com/spf13/cobra.(*Command).Execute(...) /root/go/pkg/mod/github.com/spf13/[email protected]/command.go:918 github.com/okex/exchain/libs/tendermint/libs/cli.Executor.Execute({0xc0001f4f00, 0x25c2bd0}) /tmp/exchain/libs/tendermint/libs/cli/setup.go:89 +0x36 main.main() /tmp/exchain/cmd/exchaind/main.go:121 +0x7ba`

带上--start-height=23757100 重新再执行一下试试。如果继续出现类似错误,更新这个高度为only found up to 后面那个值

from exchain.

onsraeth avatar onsraeth commented on July 26, 2024

使用
exchaind repair-state --home ${EXCHAIND_PATH} 后 继续报错:

`2023/11/23 03:29:45 repair state latestBlockHeight = 23757234 commitVersion = 23757200
2023/11/23 03:29:45 repair state at version = 23757198
panic: failed to load token Store: wanted to load target 23757198 but only found up to 23757100

goroutine 1 [running]:
github.com/okex/exchain/app.panicError(...)
/tmp/exchain/app/repair_state.go:346
github.com/okex/exchain/app.RepairState(0xc00051edc8, 0x0)
/tmp/exchain/app/repair_state.go:144 +0x7d8
main.repairStateCmd.func2(0xc000300500, {0xc000532b00, 0x0, 0x2})
/tmp/exchain/cmd/exchaind/repair_data.go:40 +0x6b
github.com/spf13/cobra.(*Command).execute(0xc000300500, {0xc000532ae0, 0x2, 0x2})
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:876 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001f4f00)
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:918
github.com/okex/exchain/libs/tendermint/libs/cli.Executor.Execute({0xc0001f4f00, 0x25c2bd0})
/tmp/exchain/libs/tendermint/libs/cli/setup.go:89 +0x36
main.main()
/tmp/exchain/cmd/exchaind/main.go:121 +0x7ba`

from exchain.

Related Issues (20)

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.