filecoin 报错 Filecoin.NetProtectAdd not found

最近在升级lotus 1.15.1版本的时候启动Miner的时候报以下错误:

2022-03-16T02:06:34.319+0800 ERROR storagemarket_impl impl/provider.go:204 failed to connect index provider host with the full node: failed to call NetProtectAdd on the full node, err: RPC error (-32601): method 'Filecoin.NetProtectAdd' not found

当时就一脸懵逼,之前没有遇到过这个错误,怀疑和版本有关

在官网中找到这个帖子Filecoin.NetProtectAdd not found · Discussion #8319 · filecoin-project/lotus · GitHub,里面兄弟的描述更加印证了我的怀疑,最后经过检查发现在升级过程中只把miner和worker升级到了1.15.1版,daemon并没有升级,仍是1.14.2(因为没有强制升级所以就没有动链),而1.15.1版有增加netprotectadd这个方法或功能,1.14.2版没有,这就造成了版本不匹配。

最终我们将daemon换成1.15.1版后这个error就没有了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值