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

Integration Testing Receipt Indexing (Part 1) #421

Open
wants to merge 5 commits into
base: zyouell/receipt-leaf
Choose a base branch
from

Conversation

Zyouell
Copy link
Contributor

@Zyouell Zyouell commented Dec 23, 2024

This PR is the initial stage for testing Receipt indexing in the Integration test. Upon merge it resolves CRY-22 and CRY-23. It adds the following:

  1. A smart contract that emits events, different to the smart contract we use currently for testing storage extraction.
  2. Updates TableSource to be a trait rather than an enum, allowing us to be slightly more generic with the table source (i.e. not requiring a slot).
  3. Updates TableIndexing to be generic over T: TableSource and also makes the ContractExtractionArgs parameter it holds an Option<ContractExtractionArgs>.
  4. Implements functionality to build a TableIndexing<ReceiptExtractionArgs> struct as well as deploy the relevant contract.

@Zyouell Zyouell force-pushed the zyouell/it-event-smart-contract branch from 459cbf6 to 0e0aa07 Compare December 23, 2024 15:42
@Zyouell Zyouell force-pushed the zyouell/it-event-smart-contract branch from 0e0aa07 to d4cbfe1 Compare December 23, 2024 16:56
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.

1 participant