Skip to content

Commit 90f9238

Browse files
committed
Compile release notes
1 parent 85f5b09 commit 90f9238

File tree

6 files changed

+43
-25
lines changed

6 files changed

+43
-25
lines changed

docs/release_notes.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,49 @@ Release notes
33

44
.. towncrier release notes start
55
6+
py-evm 0.3.0-alpha.17 (2020-06-02)
7+
----------------------------------
8+
9+
Features
10+
~~~~~~~~
11+
12+
- Added support for Python 3.8. (`#1940 <https://github.com/ethereum/py-evm/issues/1940>`__)
13+
- Methods now raise :class:`~eth.exceptions.BlockNotFound` when retrieving a block, and some part
14+
of the block is missing. These methods used to raise a KeyError if transactions were missing, or a
15+
``HeaderNotFound`` if uncles were missing:
16+
17+
- :meth:`eth.db.chain.ChainDB.get_block_by_header`
18+
- :meth:`eth.db.chain.ChainDB.get_block_by_hash` (it still raises a HeaderNotFound if there is no
19+
header matching the given hash)
20+
- :meth:`Block.from_header() <eth.abc.BlockAPI.from_header>` (`#1943 <https://github.com/ethereum/py-evm/issues/1943>`__)
21+
22+
23+
Bugfixes
24+
~~~~~~~~
25+
26+
- A number of fixes related to checkpoints and persisting old headers, especially
27+
when we try to persist headers that don't match the checkpoints.
28+
29+
- A new exception :class:`~eth.exceptions.CheckpointsMustBeCanonical` raised when persisting a
30+
header that is not linked to a previously-saved checkpoint.
31+
(note: we now explicitly save checkpoints)
32+
- More broadly, any block persist that would cause the checkpoint to be decanonicalized will
33+
raise the :class:`~eth.exceptions.CheckpointsMustBeCanonical`.
34+
- Re-insert gaps in the chain when a checkpoint and (parent or child) header do not link
35+
- De-canonicalize all children of orphans. (Previously, only decanonicalized headers with block
36+
numbers that matched the new canonical headers)
37+
- Added some new hypothesis tests to get more confidence that we covered most cases
38+
- When filling a gap, if there's an existing child that is not a checkpoint and doesn't link to
39+
the parent, then the parent block wins, and the child block is de-canonicalized (and gap added). (`#1929 <https://github.com/ethereum/py-evm/issues/1929>`__)
40+
41+
42+
Internal Changes - for Contributors
43+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44+
45+
- Upgrade py-trie to the new v2.0.0-alpha.1, and pin it for stability. (`#1935 <https://github.com/ethereum/py-evm/issues/1935>`__)
46+
- Improve the error when transaction nonce is invalid: include expected and actual. (`#1936 <https://github.com/ethereum/py-evm/issues/1936>`__)
47+
48+
649
py-evm 0.3.0-alpha.16 (2020-05-27)
750
----------------------------------
851

newsfragments/1929.bugfix.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

newsfragments/1935.internal.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1936.internal.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1940.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1943.feature.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)