首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >允许启用错误的超级分类账besu

允许启用错误的超级分类账besu
EN

Stack Overflow用户
提问于 2021-04-02 11:30:31
回答 2查看 413关注 0票数 0

我正在使用Hyperledger提供的快速启动网络,我想测试和查看许可管理dapp是如何工作的。我使用这个repo: dapp.sh脚本来构建dapp并运行测试网络时,一切正常,网络成功地启动,然后当我运行运行允许-dapp.sh脚本时,它很好地工作,编译和部署允许的智能契约,然后在启用权限的情况下重新启动网络,但是之后,引导节点容器会与这些日志一起崩溃:

代码语言:javascript
复制
2021-04-02 10:25:11.294+00:00 | main | INFO  | KeyPairUtil | Loaded public key 0xc1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22 from /opt/besu/keys/key
Setting logging level to INFO
2021-04-02 10:25:42.930+00:00 | main | INFO  | AbstractAltBnPrecompiledContract | Using LibEthPairings native alt bn128
2021-04-02 10:25:55.841+00:00 | main | INFO  | SECP256K1 | Using native secp256k1
2021-04-02 10:25:55.933+00:00 | main | INFO  | Besu | Starting Besu version: besu/v21.1.3/linux-x86_64/oracle_openjdk-java-11
2021-04-02 10:25:59.261+00:00 | main | WARN  | Besu | --min-gas-price has been ignored because --miner-enabled was not defined on the command line.
2021-04-02 10:26:00.299+00:00 | main | INFO  | Besu | Static Nodes file = /opt/besu/data/static-nodes.json
2021-04-02 10:26:00.322+00:00 | main | INFO  | StaticNodesParser | StaticNodes file /opt/besu/data/static-nodes.json does not exist, no static connections will be created.
2021-04-02 10:26:00.351+00:00 | main | INFO  | Besu | Connecting to 0 static nodes.
2021-04-02 10:26:00.368+00:00 | main | INFO  | Besu | Security Module: localfile
2021-04-02 10:26:00.661+00:00 | main | INFO  | DatabaseMetadata | Lookup database metadata file in data directory: /opt/besu/data
2021-04-02 10:26:01.646+00:00 | main | INFO  | RocksDBKeyValueStorageFactory | Existing database detected at /opt/besu/data. Version 1
2021-04-02 10:26:03.790+00:00 | main | INFO  | KeyPairUtil | Loaded public key 0xc1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22 from /opt/besu/keys/key
2021-04-02 10:26:04.310+00:00 | main | INFO  | ProtocolScheduleBuilder | Protocol schedule created with milestones: [Petersburg: 0]
ANTLR Tool version 4.7.1 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.1 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.7.1 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.1 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.7.1 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.1 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.7.1 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.1 used for parser compilation does not match the current runtime version 4.8

Error: node permissioning contract at address 0x0000000000000000000000000000000000009999 does not match the expected interface version 1 

我在任何地方都找不到这个错误,因为超级分类系统besu有一个很小的社区.

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2021-04-02 12:16:41

解决问题的方法是将--permissions-nodes-contract-version=2添加到besu命令行。

这是因为在允许智能契约回购的版本2.0.0中,我们按照changelog https://github.com/ConsenSys/permissioning-smart-contracts/releases/tag/v2.0.0更改了接口,它位于https://besu.hyperledger.org/en/stable/HowTo/Limit-Access/Specify-Perm-Version/的besu文档中,但是我已经报告了这个问题,并且它已经固定在链上权限教程的文档中。

你可以在这里找到更多的细节。

  1. Github问题
  2. 贝苏博士
票数 1
EN

Stack Overflow用户

发布于 2022-07-28 15:02:47

即使添加了--permissions-nodes-contract-version=2,我也面临着同样的问题,请查看我在这里的帖子:https://ethereum.stackexchange.com/questions/132573/hyperledger-besu-onchain-permissioning-error

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66918644

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档