You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending a tx with a multisig with --gas=auto it fails with error: rpc error: code = Unknown desc = rpc error: code = Unknown desc = expected *signing.MultiSignatureData, got, *signing.SingleSignatureData With gas wanted: '18446744073709551615' and gas used: '48980' : unknown request
This is because Signaturev2.Data is always populated as SingleSignatureData
It is related to that. #17711 points that the key used to simulate isn't the correct but a random one. With the fix in #18472 the error still persist because the signature is always a SingleSignatureData.
I think we can address this on #18472 but wanted to open this issue to make it more clearer.
Is there an existing issue for this?
What happened?
When sending a tx with a multisig with
--gas=auto
it fails with error:rpc error: code = Unknown desc = rpc error: code = Unknown desc = expected *signing.MultiSignatureData, got, *signing.SingleSignatureData With gas wanted: '18446744073709551615' and gas used: '48980' : unknown request
This is because
Signaturev2.Data
is always populated asSingleSignatureData
cosmos-sdk/client/tx/factory.go
Lines 408 to 414 in e64f3bc
Solution
We could check
pubkey
type and choose whether to useSingleSignatureData
orMultiSignatureData
Cosmos SDK Version
main
How to reproduce?
simd tx bank send $FROM $TO 10000stake --fees 20000stake --gas=auto --chain-id $CHAIN -y
The text was updated successfully, but these errors were encountered: