[Bug]: Sims with flag SigverifyTx
disabled fail with error #20591
Open
Description
opened on Jun 7, 2024
Is there an existing issue for this?
- I have searched the existing issues
What happened?
Follow up on #20490 (comment)
Reported by @ggrieco-tob
Some Msg fail with unrecognized public key type in https://github.com/cosmos/cosmos-sdk/blob/main/x/auth/ante/sigverify.go#L529 . The pubkey is nil in the signature passed to the method.
Due to the flag, https://github.com/cosmos/cosmos-sdk/blob/main/x/auth/ante/sigverify.go#L378-L379 is not storing the pubKey on the account and neither https://github.com/cosmos/cosmos-sdk/blob/main/x/auth/ante/sigverify.go#L284 applied
Cosmos SDK Version
main
How to reproduce?
cd simapp; go test --run=TestFullAppSimulation . -Enabled=true -Commit=true -SigverifyTx=false
Metadata
Assignees
Type
Projects
Status
📋 Backlog
Activity