Skip to content

Commit

Permalink
merge leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Dec 27, 2023
1 parent ab66505 commit 077ecf9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "dipdup"
description = "Modular framework for creating selective indexers and featureful backends for dapps"
version = "7.2.1"
version = "7.2.2"
license = { text = "MIT" }
authors = [
{ name = "Lev Gorodetskii", email = "[email protected]" },
Expand Down Expand Up @@ -70,6 +70,7 @@ dependencies = [
"sentry-sdk~=1.29",
"setuptools>=68.1.2",
"sqlparse~=0.4",
"strict-rfc3339~=0.7",
"survey~=4.4",
"tabulate~=0.9",
"web3~=6.2",
Expand Down
3 changes: 1 addition & 2 deletions src/dipdup/datasources/evm_subsquid.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
from dipdup.datasources import Datasource
from dipdup.datasources import IndexDatasource
from dipdup.exceptions import DatasourceError
from dipdup.models.evm_subsquid import FieldSelection, LogFieldSelection
from dipdup.models.evm_subsquid import FieldSelection
from dipdup.models.evm_subsquid import LogRequest
from dipdup.models.evm_subsquid import Query
from dipdup.models.evm_subsquid import SubsquidEventData
from dipdup.models.evm_subsquid import SubsquidTransactionData
from dipdup.models.evm_subsquid import TransactionRequest


POLL_INTERVAL = 1
LOG_FIELDS: FieldSelection = {
'log': {
Expand Down
2 changes: 1 addition & 1 deletion src/dipdup/indexes/evm_subsquid_events/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async def _synchronize(self, sync_level: int) -> None:

batch_last_level = min(batch_first_level + NODE_BATCH_SIZE, sync_level)
level_logs_task = asyncio.create_task(
self.random_node.get_logs(
self.get_random_node().get_logs(
{
'fromBlock': hex(batch_first_level),
'toBlock': hex(batch_last_level),
Expand Down

0 comments on commit 077ecf9

Please sign in to comment.