Skip to content

Commit cbee0b2

Browse files
Fixed crash when parsing typed transactions with empty parameter (#773)
1 parent c603f16 commit cbee0b2

File tree

19 files changed

+37
-31
lines changed

19 files changed

+37
-31
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
88

99
### Fixed
1010

11+
- index: Remove Python limitation on large int<->str conversions.
12+
- index: Fixed crash when parsing typed transactions with empty parameter.
13+
14+
## [6.5.10] - 2023-08-02
15+
16+
### Fixed
17+
1118
- index: Remove Python limitation on large int<->str conversions.
1219

1320
## [7.0.0rc2] - 2023-07-26
@@ -1104,6 +1111,7 @@ This release contains no changes except for the version number.
11041111

11051112
<!-- Versions -->
11061113
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc2...HEAD
1114+
[6.5.10]: https://github.com/dipdup-io/dipdup/compare/6.5.9...6.5.10
11071115
[7.0.0rc2]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc1...7.0.0rc2
11081116
[7.0.0rc1]: https://github.com/dipdup-io/dipdup/compare/6.5.9...7.0.0rc1
11091117
[6.5.9]: https://github.com/dipdup-io/dipdup/compare/6.5.8...6.5.9

scripts/docs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from pathlib import Path
99
from shutil import rmtree
1010
from subprocess import Popen
11-
from subprocess import run
1211
from typing import Any
1312
from typing import Callable
1413
from typing import Iterator

scripts/dump_references.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
import subprocess
44
from pathlib import Path
55

6-
7-
8-
9-
cli_path, cli_html='docs/7.references/1.cli.md', 'cli-reference.html'
10-
cli_header="""---
6+
cli_path, cli_html = 'docs/7.references/1.cli.md', 'cli-reference.html'
7+
cli_header = """---
118
title: "CLI"
129
description: "Command-line interface reference"
1310
---
@@ -16,8 +13,8 @@
1613
1714
"""
1815

19-
config_path, config_html='docs/7.references/2.config.md', 'config-reference.html'
20-
config_header="""---
16+
config_path, config_html = 'docs/7.references/2.config.md', 'config-reference.html'
17+
config_header = """---
2118
title: "Config"
2219
description: "Config file reference"
2320
---
@@ -26,8 +23,8 @@
2623
2724
"""
2825

29-
context_path, context_html='docs/7.references/3.context.md', 'context-reference.html'
30-
context_header="""---
26+
context_path, context_html = 'docs/7.references/3.context.md', 'context-reference.html'
27+
context_header = """---
3128
title: "Context (ctx)"
3229
description: "Context reference"
3330
---
@@ -42,14 +39,16 @@
4239
check=True,
4340
)
4441

45-
for path, html, header in ((cli_path, cli_html, cli_header), (config_path, config_html, config_header), (context_path, context_html, context_header)):
42+
for path, html, header in (
43+
(cli_path, cli_html, cli_header),
44+
(config_path, config_html, config_header),
45+
(context_path, context_html, context_header),
46+
):
4647
to = Path(path)
4748
from_ = Path(f'docs/_build/html/{html}')
4849

4950
out = '\n'.join(from_.read_text().split('\n')[32:-63])
5051
if 'config' in str(from_):
5152
out = out.replace('dipdup.config.', '').replace('dipdup.enums.', '')
5253

53-
54-
55-
to.write_text(header + MARKDOWNLINT_HINT + out)
54+
to.write_text(header + MARKDOWNLINT_HINT + out)

src/demo_auction/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
readme = "README.md"
1010
requires-python = ">=3.11,<3.12"
1111
dependencies = [
12-
"dipdup>=7.0.0rc2,<8"
12+
"dipdup>=7.0.0rc1,<8"
1313
]
1414

1515
[tool.pdm.dev-dependencies]

src/demo_big_maps/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
readme = "README.md"
1010
requires-python = ">=3.11,<3.12"
1111
dependencies = [
12-
"dipdup>=7.0.0rc2,<8"
12+
"dipdup>=7.0.0rc1,<8"
1313
]
1414

1515
[tool.pdm.dev-dependencies]

src/demo_blank/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
readme = "README.md"
1010
requires-python = ">=3.11,<3.12"
1111
dependencies = [
12-
"dipdup>=7.0.0rc2,<8"
12+
"dipdup>=7.0.0rc1,<8"
1313
]
1414

1515
[tool.pdm.dev-dependencies]

src/demo_dao/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
readme = "README.md"
1010
requires-python = ">=3.11,<3.12"
1111
dependencies = [
12-
"dipdup>=7.0.0rc2,<8"
12+
"dipdup>=7.0.0rc1,<8"
1313
]
1414

1515
[tool.pdm.dev-dependencies]

src/demo_dex/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
readme = "README.md"
1010
requires-python = ">=3.11,<3.12"
1111
dependencies = [
12-
"dipdup>=7.0.0rc2,<8"
12+
"dipdup>=7.0.0rc1,<8"
1313
]
1414

1515
[tool.pdm.dev-dependencies]

src/demo_domains/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
readme = "README.md"
1010
requires-python = ">=3.11,<3.12"
1111
dependencies = [
12-
"dipdup>=7.0.0rc2,<8"
12+
"dipdup>=7.0.0rc1,<8"
1313
]
1414

1515
[tool.pdm.dev-dependencies]

src/demo_events/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
readme = "README.md"
1010
requires-python = ">=3.11,<3.12"
1111
dependencies = [
12-
"dipdup>=7.0.0rc2,<8"
12+
"dipdup>=7.0.0rc1,<8"
1313
]
1414

1515
[tool.pdm.dev-dependencies]

0 commit comments

Comments
 (0)