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

xwisen xwisen 提出于 2022-07-02 13:48 4510 浏览

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

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 个回答

张小风 2022-07-02 23:18

写回答

你需要登录后才可以回答问题,登录