我想结合使用ansible和锯齿来完成一些特定的任务。我正在使用这个ansible项目https://github.com/hyperledger/sawtooth-ansible。问题是当我想运行“配置onchain权限”时。主要问题在于任务创建事务访问策略中的 configure-onchain-perms 角色。结果总是,我超时了。另外,我尝试手动安装所有内容,但没有输出,但输出是相同的。使用此简单的命令锯齿身份策略create policy_1“ PERMIT_KEY *” 可获得相同的结果。谁能指导我如何正确使用身份家庭?
答案 0 :(得分:0)
身份交易处理器exec sp_executesql N'DELETE FROM MyTable WHERE ID IN (@ids)',N'@ids nvarchar(7)',@ids=N'1,2'
Conversion failed when converting the nvarchar value '1,2' to data type int.
是否在所有节点上运行?
引述自: https://sawtooth.hyperledger.org/docs/core/releases/latest/cli/identity-tp.html
将任何更改应用于链上权限都需要此过程 由Sawtooth平台使用。
在https://chat.hyperledger.org/channel/sawtooth上还有一个活跃的Sawtooth聊天论坛