Skip to content

refactor(torii/processor): use contract type info to select processor - #2451

Merged
itzlambda merged 2 commits into
spr/main/923dbba6from
spr/main/4acad5f3
Sep 24, 2024
Merged

refactor(torii/processor): use contract type info to select processor#2451
itzlambda merged 2 commits into
spr/main/923dbba6from
spr/main/4acad5f3

Conversation

@itzlambda

@itzlambda itzlambda commented Sep 19, 2024

Copy link
Copy Markdown
  • cleanup plus other refactor for the PR stack
  • start_block configuration removed since it was no longer necessary now that we use get_events for sync_range
  • use debug log level transfer events

Stack:

⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

@codecov

codecov Bot commented Sep 19, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 52.96610% with 111 lines in your changes missing coverage. Please review.

Please upload report for BASE (spr/main/923dbba6@48bceb8). Learn more about missing BASE report.

Files with missing lines Patch % Lines
bin/torii/src/main.rs 0.00% 44 Missing ⚠️
...orii/core/src/processors/erc721_legacy_transfer.rs 8.82% 31 Missing ⚠️
crates/torii/core/src/engine.rs 85.29% 15 Missing ⚠️
crates/torii/core/src/types.rs 8.33% 11 Missing ⚠️
crates/torii/core/src/sql/mod.rs 55.55% 4 Missing ⚠️
...torii/core/src/processors/erc20_legacy_transfer.rs 0.00% 2 Missing ⚠️
crates/torii/core/src/processors/erc20_transfer.rs 0.00% 2 Missing ⚠️
...rates/torii/core/src/processors/erc721_transfer.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##             spr/main/923dbba6    #2451   +/-   ##
====================================================
  Coverage                     ?   67.68%           
====================================================
  Files                        ?      377           
  Lines                        ?    49088           
  Branches                     ?        0           
====================================================
  Hits                         ?    33224           
  Misses                       ?    15864           
  Partials                     ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@itzlambda itzlambda changed the title chore(torii): cleanup refactor(torii/processor): use contract type info to select processor Sep 22, 2024
@itzlambda
itzlambda force-pushed the spr/main/4acad5f3 branch 2 times, most recently from 77e8da1 to a2cea00 Compare September 23, 2024 06:29
- cleanup plus other refactor for the PR stack
- `start_block` configuration removed since it was no longer necessary now that we use `get_events` for `sync_range`
- use debug log level transfer events

commit-id:4acad5f3
@itzlambda
itzlambda merged commit 02e352c into spr/main/923dbba6 Sep 24, 2024
@itzlambda
itzlambda deleted the spr/main/4acad5f3 branch September 24, 2024 14:18
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