10 使用gnosis 单签钱包交易报错`GS026`

交易签名是是使用如下代码构造的。

encoded_data=encode_structured_data(s)
w3.eth.account.sign_message(encoded_data,_owner['polygon'][1])

本地解码出来也是自己签名的账号

w3.eth.account.recover_message(encoded_data,vrs)

查找GnosisSafe 代码, 应该是这一段报的错,但是没看明白为啥会报这个错? https://github.com/safe-global/safe-contracts/blob/main/contracts/GnosisSafe.sol#L301

image.png

请先 登录 后评论

1 个回答

张小风
请先 登录 后评论
  • 0 关注
  • 0 收藏,1500 浏览
  • xwisen 提出于 2022-07-02 13:48

相似问题