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

store events #106

Merged
merged 7 commits into from
Jan 29, 2024
Merged

store events #106

merged 7 commits into from
Jan 29, 2024

Conversation

jbcaron
Copy link
Member

@jbcaron jbcaron commented Jan 28, 2024

Pull Request type

  • Bugfix
  • Refactoring (no functional changes, no API changes)

What is the current behavior?

The current implementation has some bugs related to transaction search and does not save transaction events

What is the new behavior?

  • Add event storage in block storage and improved transaction search methodology.
  • Refactored code to remove unnecessary waiting for transaction inclusion and debug print statements for cleaner.

Does this introduce a breaking change?

No

Other information

jbcaron and others added 7 commits January 23, 2024 12:40
change the tx search in the extrinsic block to a search directly in the starknet block using the transaction hash cache to retrieve the index
Added the OrderedEvents data structure to store an event related to a tx index of the block. Added events in the get_transaction_receipt method.

#31
don't wait the tx inclusion in the block and just return TxnHashNotFound
formate comments
@antiyro antiyro merged commit 21604e9 into KasarLabs:main Jan 29, 2024
6 of 7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants