Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(evm): Move the tx logs and message event to use typed events #2034

Closed
Unique-Divine opened this issue Sep 12, 2024 · 1 comment
Closed
Assignees
Labels
x: evm Relates to Nibiru EVM or the EVM Module

Comments

@Unique-Divine
Copy link
Member

Unique-Divine commented Sep 12, 2024

Purpose

See ADR 032: Typed Events to see why non-typed events were deprecated.

Typed Events

Typed Events are Protobuf-defined messages used by the Cosmos SDK for emitting and querying Events. They are defined in a event.proto file, on a per-module basis. They are triggered from the module's Protobuf Msg service by using the EventManager, where they are read as proto.Message.

Use in Transaction Search

Examples of search based on the "/tx_search" Tendermint RPC method

  • Event: tx.height=23
    • Description: Query all transactions at height 23
  • Event: message.action='/cosmos.bank.v1beta1.Msg/Send'
    • Description: Query all transactions containing a x/bank Send Service Msg. Note the 's around the value.
  • Event: message.action='send'
    • Description: Query all transactions containing a x/bank Send legacy Msg. Note the 's around the value.
  • Event: message.module='bank'
    • Description: Query all transactions containing messages from the x/bank module. Note the 's around the value.
@Unique-Divine Unique-Divine added the x: evm Relates to Nibiru EVM or the EVM Module label Sep 12, 2024
@Unique-Divine Unique-Divine self-assigned this Sep 12, 2024
@github-actions github-actions bot added the S-triage Status: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5 label Sep 12, 2024
@Unique-Divine Unique-Divine removed the S-triage Status: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5 label Sep 12, 2024
@Unique-Divine
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x: evm Relates to Nibiru EVM or the EVM Module
Projects
Status: ✅ Completed
Development

No branches or pull requests

1 participant