Skip to content

Integration Testing Receipt Indexing (Part 1)#421

Open
Zyouell wants to merge 6 commits into
zyouell/receipt-leaffrom
zyouell/it-event-smart-contract
Open

Integration Testing Receipt Indexing (Part 1)#421
Zyouell wants to merge 6 commits into
zyouell/receipt-leaffrom
zyouell/it-event-smart-contract

Conversation

@Zyouell

@Zyouell Zyouell commented Dec 23, 2024

Copy link
Copy Markdown
Contributor

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.

@linear

linear Bot commented Dec 23, 2024

Copy link
Copy Markdown

@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