Skip to content

Problem: sdk sig verification don't work well with blockstm #25936

@yihuang

Description

@yihuang

In cosmos-sdk sig verification result can't be simply cached between incarnations because it rely on account state (see #25912), specifically pubKey and accNum.

Solution

Dedicated pipeline for sequence and signature checking, and try to optimize it in parallel batch processing.

  • batch fetching account data from db.
    • storage layer can optimize for batch get.
  • after fetched account data, signature checking can be paralleled easily.
  • sequence checking is also trivial after tx decoded and account data in memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions