小编Mal*_*dan的帖子

无法打开创世配置文件

我只是按照说明:https : //github.com/near/nearcore/blob/master/chain/indexer/README.md 来设置测试网索引器。指令cargo run --release --home-dir ~/.near/testnet init --chain-id testnet --download中建议运行的命令不起作用,看来我们应该替换它 ->cargo run --release -- --home-dir ~/.near/testnet init --chain-id testnet --download 然后,正如指令中所述,我修改了配置文件以调整分片。然后运行命令:cargo run --release -- --home-dir ~/.near/testnet/ run并接收:

Finished release [optimized] target(s) in 0.51s
     Running `/Users/bohdan_malkevych/Documents/me/git/near-protocol/nearcore/target/release/indexer-example --home-dir /Users/bohdan_malkevych/.near/testnet/ run`
thread 'main' panicked at 'Could not open genesis config file.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /Users/bohdan_malkevych/Documents/me/git/near-protocol/nearcore/core/chain-configs/src/genesis_config.rs:216:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace …
Run Code Online (Sandbox Code Playgroud)

indexer rust nearprotocol

3
推荐指数
1
解决办法
182
查看次数

标签 统计

indexer ×1

nearprotocol ×1

rust ×1