Skip to content

Limit signature event size pubKey TxHandler  #10810

Open
@robert-zaremba

Description

@robert-zaremba

Summary of Bug

We are emitting signature events to query transactions by signature. This is the recommended way to query transactions.

The event is created in setPubKey function and the content is created by concatenating all signatures related to the transaction. However, for multisig it can be arbitrary long.

Proposed solution

Instead of emitting an even as a concatenation of all signature data, create a hash of it and use that hash as the event payload.

Version

0.44+

cc: @AmauryM , @aaronc


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions