Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Jan 31, 2025

PR-Codex overview

This PR focuses on enhancing the schema validation for blockchain event queries and improving error handling in the event retrieval process.

Detailed summary

  • Added blockNumberOrTagSchema for validating block number or tag inputs.
  • Updated fromBlock and toBlock in eventsQuerystringSchema to use the new schema.
  • Improved error handling in getAllEvents function with custom error messages.
  • Refactored fromBlock and toBlock to handle types more robustly.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@zeet-co
Copy link

zeet-co bot commented Jan 31, 2025

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://tw-unreal-demo-engine-vwn0-ph-fix-d2d1b7.engine-aws-usw2.zeet.app before merging 😉

@arcoraven arcoraven merged commit a828191 into main Jan 31, 2025
3 of 6 checks passed
@arcoraven arcoraven deleted the ph/fixGetAllEvents branch January 31, 2025 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants