Skip to content

Commit d4f5b14

Browse files
Fix Subsquid workers (#811)
1 parent bbb7ebb commit d4f5b14

File tree

26 files changed

+96
-74
lines changed

26 files changed

+96
-74
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning].
66

7+
## [Unreleased]
8+
9+
### Fixed
10+
11+
- evm.subsquid: Create a separate aiohttp session for each worker.
12+
- evm.node: Set `timestamp` field to the block timestamp.
13+
714
## [7.0.0rc4] - 2023-08-23
815

916
### Added

pdm.lock

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ ignore = [
147147
target-version = "py311"
148148
extend-select = ["B", "C4", "FA", "G", "I", "PTH", "Q", "RET", "RUF", "TCH", "UP"]
149149
flake8-quotes = { inline-quotes = "single", multiline-quotes = "double" }
150-
isort = { force-single-line = true, known-first-party = ["dipdup"] }
150+
isort = { force-single-line = true }
151151

152152
[tool.mypy]
153153
python_version = "3.11"

requirements.dev.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dnspython==2.4.2
2828
docker==6.1.3
2929
docutils==0.20.1
3030
email-validator==2.0.0.post2
31-
eth-abi==4.1.0
31+
eth-abi==4.2.0
3232
eth-account==0.9.0
3333
eth-hash==0.5.2
3434
eth-keyfile==0.6.1
@@ -94,21 +94,21 @@ rfc3339-validator==0.1.4
9494
rlp==3.0.0
9595
ruamel-yaml==0.17.32
9696
ruamel-yaml-clib==0.2.7
97-
ruff==0.0.285
98-
sentry-sdk==1.29.2
97+
ruff==0.0.286
98+
sentry-sdk==1.30.0
9999
setuptools==68.1.2
100100
six==1.16.0
101101
sniffio==1.3.0
102102
snowballstemmer==2.2.0
103-
sphinx==7.2.2
103+
sphinx==7.2.4
104104
sphinx-click==5.0.1
105105
sphinx-markdown-builder==0.6.5
106106
sphinxcontrib-applehelp==1.0.7
107107
sphinxcontrib-devhelp==1.0.5
108108
sphinxcontrib-htmlhelp==2.0.4
109109
sphinxcontrib-jsmath==1.0.1
110110
sphinxcontrib-qthelp==1.0.6
111-
sphinxcontrib-serializinghtml==1.1.8
111+
sphinxcontrib-serializinghtml==1.1.9
112112
sqlparse==0.4.4
113113
survey==4.5.4
114114
tabulate==0.9.0
@@ -121,7 +121,7 @@ typing-extensions==4.7.1
121121
tzlocal==5.0.1
122122
urllib3==2.0.4
123123
watchdog==3.0.0
124-
web3==6.8.0
124+
web3==6.9.0
125125
websocket-client==1.6.1
126126
websockets==10.4
127127
yarl==1.9.2

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cytoolz==0.12.2
2323
datamodel-code-generator==0.21.4
2424
dnspython==2.4.2
2525
email-validator==2.0.0.post2
26-
eth-abi==4.1.0
26+
eth-abi==4.2.0
2727
eth-account==0.9.0
2828
eth-hash==0.5.2
2929
eth-keyfile==0.6.1
@@ -77,7 +77,7 @@ rfc3339-validator==0.1.4
7777
rlp==3.0.0
7878
ruamel-yaml==0.17.32
7979
ruamel-yaml-clib==0.2.7
80-
sentry-sdk==1.29.2
80+
sentry-sdk==1.30.0
8181
setuptools==68.1.2
8282
six==1.16.0
8383
sniffio==1.3.0
@@ -90,6 +90,6 @@ tortoise-orm==0.19.3
9090
typing-extensions==4.7.1
9191
tzlocal==5.0.1
9292
urllib3==2.0.4
93-
web3==6.8.0
93+
web3==6.9.0
9494
websockets==10.4
9595
yarl==1.9.2

src/demo_auction/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from enum import IntEnum
22

3-
43
from dipdup import fields
54
from dipdup.models import Model
65

src/demo_big_maps/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

22
from dipdup import fields
3-
43
from dipdup.models import Model
54

65

src/demo_dao/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

22
from dipdup import fields
3-
43
from dipdup.models import Model
54

65

src/demo_dex/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from enum import IntEnum
22

33
from dipdup import fields
4-
54
from dipdup.models import Model
65

76

src/demo_domains/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

22
from dipdup import fields
3-
43
from dipdup.models import Model
54

65

0 commit comments

Comments
 (0)