Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

Commit 723af49

Browse files
committed
Compile release notes
1 parent d69d7a3 commit 723af49

30 files changed

+89
-61
lines changed

docs/release_notes.rst

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,95 @@ Trinity is moving fast. Read up on all the latest improvements.
55

66
.. towncrier release notes start
77
8+
Trinity 0.1.0-alpha.36 (2020-06-18)
9+
-----------------------------------
10+
11+
Features
12+
~~~~~~~~
13+
14+
- Implement ``admin_peers`` JSON-RPC API (`#1491 <https://github.com/ethereum/trinity/issues/1491>`__)
15+
- Implement basic metrics tracking. With this change Trinity supports collecting
16+
and writing metrics to InfluxDB to be further processed and visualized
17+
by Grafana.
18+
19+
Run Trinity with ``--enable-metrics --metrics-host "mymachine"`` and provide
20+
the Influx server and password via the following two environment variables:
21+
22+
- ``TRINITY_METRICS_INFLUX_DB_SERVER``
23+
- ``TRINITY_METRICS_INFLUX_DB_PW`` (`#1569 <https://github.com/ethereum/trinity/issues/1569>`__)
24+
- Monitor the total number of incoming and outgoing packets in Influx/Grafana (`#1595 <https://github.com/ethereum/trinity/issues/1595>`__)
25+
- Monitor the number of peers in Grafana (`#1599 <https://github.com/ethereum/trinity/issues/1599>`__)
26+
- The `--ethstats` flag is now named `--enable-ethstats` to improve consistency. (`#1604 <https://github.com/ethereum/trinity/issues/1604>`__)
27+
- Don't let `CompressedLengthError` escape and be written to the console. (`#1606 <https://github.com/ethereum/trinity/issues/1606>`__)
28+
- Add partial support for `eth/65`. Recognize the protocol with its new commands
29+
and support it across all internal infrastructure. The built-in "transaction pool"
30+
does not yet use the ``NewPooledTransactionHashes`` command yet and answers
31+
``GetPooledTransactions`` with empty responses. (`#1627 <https://github.com/ethereum/trinity/issues/1627>`__)
32+
- Allow for Influxdb port & protocol to be configured via cli arguments. (`#1680 <https://github.com/ethereum/trinity/issues/1680>`__)
33+
- Upgrade to py-evm v0.3.0-alpha.15 -- gives access to block state witnesses (`#1681 <https://github.com/ethereum/trinity/issues/1681>`__)
34+
- Support reporting of the current head for connected peers to influx / grafana. (`#1699 <https://github.com/ethereum/trinity/issues/1699>`__)
35+
- Rename ``--beam-from-checkpoint`` to ``--sync-from-checkpoint``
36+
37+
Ensure sync related flags show up under ``--sync-mode`` section in ``--help``
38+
39+
Add new ``--sync-mode header`` to only sync the header chain on the ETH network.
40+
This does also support launching from a checkpoint via ``--sync-from-checkpoint`` flag. (`#1707 <https://github.com/ethereum/trinity/issues/1707>`__)
41+
- Report trinity process and thread count to grafana. (`#1713 <https://github.com/ethereum/trinity/issues/1713>`__)
42+
- Implement backfilling of gaps in the header chain (introduced through checkpointing) for
43+
sync modes ``header`` and ``beam``. This background job can be disable via
44+
the ``--disable-backfill`` flag. (`#1714 <https://github.com/ethereum/trinity/issues/1714>`__)
45+
- Upgraded py-evm to v0.3.0-alpha.16 -- See `py-evm's release notes
46+
<https://py-evm.readthedocs.io/en/latest/release_notes.html#py-evm-0-3-0-alpha-16-2020-05-27>`_ (`#1761 <https://github.com/ethereum/trinity/issues/1761>`__)
47+
- Upgraded py-evm to v0.3.0-alpha.17 -- See `py-evm v0.3.0-alpha.17 release notes
48+
<https://py-evm.readthedocs.io/en/latest/release_notes.html#py-evm-0-3-0-alpha-17-2020-06-02>`_ (`#1768 <https://github.com/ethereum/trinity/issues/1768>`__)
49+
- Increase the tip distance for etherscan checkpoint resolving from 50 to 5000 blocks. (`#1781 <https://github.com/ethereum/trinity/issues/1781>`__)
50+
51+
52+
Bugfixes
53+
~~~~~~~~
54+
55+
- Fix the propagation of transactions which was broken when the transaction pool
56+
was moved into an isolated component.
57+
58+
Also the transaction pool tests now do assertions based on what the remote
59+
pool actually receives instead of based on what we appear to be sending out. (`#1649 <https://github.com/ethereum/trinity/issues/1649>`__)
60+
- Squash some deprecation warnings, by upgrading to eth-keys v0.3.3, eth-tester v0.4.0-beta.2,
61+
and web3.py v5.9.0 (`#1724 <https://github.com/ethereum/trinity/issues/1724>`__)
62+
- Return checksum address for ``to`` field in ``eth_getTransactionReceipt`` RPC API (`#1749 <https://github.com/ethereum/trinity/issues/1749>`__)
63+
- Fix etherscan checkpoint resolving for Ropsten and Görli. (`#1782 <https://github.com/ethereum/trinity/issues/1782>`__)
64+
- Fix beam sync crashing when running under Clique consensus (e.g. Görli) (`#1786 <https://github.com/ethereum/trinity/issues/1786>`__)
65+
66+
67+
Improved Documentation
68+
~~~~~~~~~~~~~~~~~~~~~~
69+
70+
- Add API docs for various proxy events under ``trinity.protocol.*`` (`#1633 <https://github.com/ethereum/trinity/issues/1633>`__)
71+
- Add a guide on how to setup local monitoring with InfluxDB and Grafana (`#1659 <https://github.com/ethereum/trinity/issues/1659>`__)
72+
- Add cookbook recipe on how to sync from a trusted checkpoint. (`#1779 <https://github.com/ethereum/trinity/issues/1779>`__)
73+
74+
75+
Deprecations and Removals
76+
~~~~~~~~~~~~~~~~~~~~~~~~~
77+
78+
- Drop support for Python 3.6 making Python 3.7 the minimal supported Python version. (`#1675 <https://github.com/ethereum/trinity/issues/1675>`__)
79+
80+
81+
Internal Changes - for Trinity Contributors
82+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
83+
84+
- Remove test that scans for unhandled errors when the transaction pool is disabled.
85+
Disabling the transaction pool is unlikely to increase the chance of error. (`#1611 <https://github.com/ethereum/trinity/issues/1611>`__)
86+
- Upgrade latest lahja 0.16.0
87+
88+
With the new release the event bus raises exceptions if events or requests
89+
are send into the void, meaning when no active subscribers exist. This can
90+
be explicitly allowed if desired by setting ``require_subscriber`` to ``False``
91+
when broadcasting events or making requests. (`#1653 <https://github.com/ethereum/trinity/issues/1653>`__)
92+
- Improve test coverage of Ethereum Wire Protocol making sure that certain tests ran across
93+
all supported protocols from ETH/63 to ETH/65. (`#1672 <https://github.com/ethereum/trinity/issues/1672>`__)
94+
- Run RPC API tests against Istanbul fixtures (`#1749 <https://github.com/ethereum/trinity/issues/1749>`__)
95+
96+
897
Trinity 0.1.0-alpha.35 (2020-03-03)
998
-----------------------------------
1099

newsfragments/1491.feature.rst

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

newsfragments/1569.feature.rst

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

newsfragments/1595.feature.rst

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

newsfragments/1599.feature.rst

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

newsfragments/1604.feature.rst

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

newsfragments/1606.feature.rst

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

newsfragments/1611.internal.rst

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

newsfragments/1627.feature.rst

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

newsfragments/1633.doc.rst

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

0 commit comments

Comments
 (0)