Skip to content

[Bug]: Sims with flag SigverifyTx disabled fail with error #20591

Open
@alpe

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions