Is there an existing issue for this?
What happened?
As far as I can understand from the code, it is not compulsory to include the public key in the AuthInfo of the transaction. It is predominantly needed for the first transaction used by an account and is afterwards saved to state so following transaction don't need it.
I would have expected to be able to run SetSignatures with the PubKey field left empty but I get the following error:
panic: error setting draft signatures: Expecting non nil value to create a new Any: failed packing protobuf message to Any [celestiaorg/[email protected]/codec/types/any.go:61] [recovered]
Cosmos SDK Version
v0.46 and later
How to reproduce?
Have a test call SetSignatures with the PubKey field empty.