Skip to content

performance: don't emit EVM logs into cosmos-sdk events #544

@yihuang

Description

@yihuang

Since the EVM logs are saved in msg response, we can:

  1. Parse logs from the txResult.Data instead of txResult.Events.
  2. Don't emit EVM events to cosmos-sdk events at all.

Positives

  • Less work to do in tx execution.
  • Faster to parse logs in json-rpc.
  • Less data to store in block results and tx indexer db.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions