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

tests(sequencer): add unit tests for bridge_account_last_tx_hash and transaction_fee ABCI queries #1998

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

noot
Copy link
Collaborator

@noot noot commented Feb 24, 2025

Summary

add unit tests for bridge_account_last_tx_hash and transaction_fee ABCI queries

Background

unit tests were missing for these functions.

Changes

  • add unit tests for bridge_account_last_tx_hash and transaction_fee ABCI queries
  • question: the transaction_fee query does not error if one of the fee_assets is not an authorized fee asset in state. is this something we want to check? is there a case where someone may want to calculate the fee for an action but not use a currently authorized fee_asset?

Testing

no code changes, just tests added.

Related Issues

closes #1741

@github-actions github-actions bot added the sequencer pertaining to the astria-sequencer crate label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sequencer pertaining to the astria-sequencer crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add unit tests for queries missing tests
1 participant