From 26abc273fd8ef39b1b33081c61c7379691d9a924 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 6 Dec 2021 19:48:54 +0000 Subject: [PATCH] chore(release): 0.5.0 [skip ci] # [0.5.0](https://github.com/timwu20/gossamer/compare/v0.4.1...v0.5.0) (2021-12-06) ### Bug Fixes * **babe:** Fix extrinsic format in block. ([#1530](https://github.com/timwu20/gossamer/issues/1530)) ([1a03b2a](https://github.com/timwu20/gossamer/commit/1a03b2a08a191b37ac620ae8ff5c47dccf92b421)) * **ci:** add missing go-version matrix to fix development branch CI ([#2037](https://github.com/timwu20/gossamer/issues/2037)) ([6babe76](https://github.com/timwu20/gossamer/commit/6babe76ab314fa38dfced216bde88b58b7b3478b)) * **cmd/cfg:** Use Babe Lead value from toml config ([#2032](https://github.com/timwu20/gossamer/issues/2032)) ([06aa3e3](https://github.com/timwu20/gossamer/commit/06aa3e36b3016a2b365b9cdac1d3f12c783f5391)) * confirm block import notifier is closed properly ([#1736](https://github.com/timwu20/gossamer/issues/1736)) ([ad2d85e](https://github.com/timwu20/gossamer/commit/ad2d85e29190f3db501b7cb4e1816f51a0c8c31c)) * **docs:** improve build-spec usage docs ([#1706](https://github.com/timwu20/gossamer/issues/1706)) ([2e164b4](https://github.com/timwu20/gossamer/commit/2e164b49506184c2645b0a42a64e141ca1449d46)) * **dot/core:** Add only extrinsic during chain reorg. ([#1609](https://github.com/timwu20/gossamer/issues/1609)) ([29413d4](https://github.com/timwu20/gossamer/commit/29413d48731aa700ecab92d33a388a459b4e5c9e)) * **dot/core:** Batch process transaction message. ([#1780](https://github.com/timwu20/gossamer/issues/1780)) ([0064836](https://github.com/timwu20/gossamer/commit/0064836f047996e87ef22949fad6a293e8b24da8)) * **dot/core:** check transaction Validity.Propagate field to determine whether to propagate tx ([#1643](https://github.com/timwu20/gossamer/issues/1643)) ([81f23cc](https://github.com/timwu20/gossamer/commit/81f23ccdfc176c8054099d369143422011c5472b)) * **dot/core:** Fix handle transaction message test. ([#1607](https://github.com/timwu20/gossamer/issues/1607)) ([58b8725](https://github.com/timwu20/gossamer/commit/58b8725f23d895ec4a88708aa577d43539908d77)) * **dot/network, lib/grandpa:** fix handshake decoding and grandpa message handler sigabort ([#1631](https://github.com/timwu20/gossamer/issues/1631)) ([887f72c](https://github.com/timwu20/gossamer/commit/887f72c9df46872c7bca6845187cd249e223a794)) * **dot/network, lib/grandpa:** fix node sync, improve devnet finality ([bcc7935](https://github.com/timwu20/gossamer/commit/bcc79351cfe50d6b738d797e67154b70298c131b)) * **dot/network:** add nil checks in connManager ([#2069](https://github.com/timwu20/gossamer/issues/2069)) ([7f9c042](https://github.com/timwu20/gossamer/commit/7f9c0427172120633426fe71106a259f1205a0ac)) * **dot/network:** Check for size when decoding leb128. ([#1634](https://github.com/timwu20/gossamer/issues/1634)) ([d082b9e](https://github.com/timwu20/gossamer/commit/d082b9e0b2a8a2a5a50fe4df72112eaec87da5bf)) * **dot/network:** check if peer supports protocol ([#1617](https://github.com/timwu20/gossamer/issues/1617)) ([6bf66a4](https://github.com/timwu20/gossamer/commit/6bf66a49e017a93de8256568c9103de15ef01f35)) * **dot/network:** decrease DHT find peers interval for gssmr nodes ([#1703](https://github.com/timwu20/gossamer/issues/1703)) ([08516a0](https://github.com/timwu20/gossamer/commit/08516a048d99d80f8cc7ba58d435905110a94e68)) * **dot/network:** fix bugs in notifications protocol handlers; add metrics for inbound/outbound streams ([#2010](https://github.com/timwu20/gossamer/issues/2010)) ([8c2993d](https://github.com/timwu20/gossamer/commit/8c2993d6ab556a913a9e7d4961db2e5673bf8012)) * **dot/network:** fix dht connection on discovery on devnet ([#2059](https://github.com/timwu20/gossamer/issues/2059)) ([da065b8](https://github.com/timwu20/gossamer/commit/da065b8f0b37f881ff224bdbe255955f1218548d)) * **dot/network:** fix discovery between gossamer nodes ([#1594](https://github.com/timwu20/gossamer/issues/1594)) ([f4c79d3](https://github.com/timwu20/gossamer/commit/f4c79d3e3e7f280a2b225180bbbe6a36317ef734)) * **dot/network:** fix memory allocations with `sizedBufferPool` ([#1963](https://github.com/timwu20/gossamer/issues/1963)) ([e0b126b](https://github.com/timwu20/gossamer/commit/e0b126bdfb530244c578e83a3cc3e8480d9dc108)) * **dot/network:** Fix missing digest in header ([#2092](https://github.com/timwu20/gossamer/issues/2092)) ([21ea85e](https://github.com/timwu20/gossamer/commit/21ea85eec2964b2b7d284f04fb087bedfb3ac8a1)) * **dot/network:** Fix notification handshake and reuse stream. ([#1545](https://github.com/timwu20/gossamer/issues/1545)) ([a632dc4](https://github.com/timwu20/gossamer/commit/a632dc444ed62896371806b3b20ffe0e50ecc7d0)) * **dot/network:** fix stream manager tests ([#1683](https://github.com/timwu20/gossamer/issues/1683)) ([e02eca4](https://github.com/timwu20/gossamer/commit/e02eca4fc77a193ff0b47a3a92fe6aa683216719)) * **dot/network:** implement a handshake timeout ([#1615](https://github.com/timwu20/gossamer/issues/1615)) ([87c2f63](https://github.com/timwu20/gossamer/commit/87c2f63aae833e5d7df28f3cb2ea23c5f63fe04d)) * **dot/network:** Implement time based handle transaction ([#1942](https://github.com/timwu20/gossamer/issues/1942)) ([dd08424](https://github.com/timwu20/gossamer/commit/dd08424fdeb4ee4056bd4e2f9e0e731a9d18a1df)) * **dot/network:** move low reputation peer removal from network ConnManager to peer scoring logic (dot/peerstate) ([#2068](https://github.com/timwu20/gossamer/issues/2068)) ([ac16285](https://github.com/timwu20/gossamer/commit/ac162853ab37292693efb28f424271f0fd32ea96)), closes [#2039](https://github.com/timwu20/gossamer/issues/2039) * **dot/network:** Return on EOF error while reading stream. ([#1733](https://github.com/timwu20/gossamer/issues/1733)) ([f447eac](https://github.com/timwu20/gossamer/commit/f447eaca10d2d9be91d6415c6ed93a454bc0aaa9)) * **dot/network:** split stored streams and handshakeData into inbound and outbound ([#1553](https://github.com/timwu20/gossamer/issues/1553)) ([637050b](https://github.com/timwu20/gossamer/commit/637050bb94e12eb518ef93122c5ef323c27a53fb)) * **dot/node:** Start websocket server only with `--ws` flag ([#1671](https://github.com/timwu20/gossamer/issues/1671)) ([6ecef3b](https://github.com/timwu20/gossamer/commit/6ecef3bd9c12823cf9d6dd361edb8efdee09c785)) * **dot/state, lib/babe, lib/trie:** improve syncing between gossamer authority nodes ([#1613](https://github.com/timwu20/gossamer/issues/1613)) ([ca99fbf](https://github.com/timwu20/gossamer/commit/ca99fbf1938c9de3f52f06c6bc2ca7a68efa3e89)) * **dot/state, lib/grandpa:** update justification and SignedVote handling in database ([#1682](https://github.com/timwu20/gossamer/issues/1682)) ([bbdcd6f](https://github.com/timwu20/gossamer/commit/bbdcd6f1c92c1944dfaa744b8656f229129f35e3)) * **dot/state:** add StorageState Lock/Unlock API for usage by babe and sync ([#1700](https://github.com/timwu20/gossamer/issues/1700)) ([3c22ace](https://github.com/timwu20/gossamer/commit/3c22acee55e5a224e9859d6cabd007086ed506c5)) * **dot/state:** fix deadlock, fixes bootstrap syncing ([#1959](https://github.com/timwu20/gossamer/issues/1959)) ([dd80c09](https://github.com/timwu20/gossamer/commit/dd80c09670b076cfbaa1bda2ec0c8b2d83253ad7)) * **dot/state:** track runtime per-block, fix runtime upgrades differing between forks ([#1638](https://github.com/timwu20/gossamer/issues/1638)) ([e133884](https://github.com/timwu20/gossamer/commit/e133884645048e74ce709d574f8e9dcfd7333f88)) * **dot/state:** update `*state.BlockState.AddBlockToBlockTree` to store block in `unfinalisedBlocksMap` ([#2006](https://github.com/timwu20/gossamer/issues/2006)) ([55d997f](https://github.com/timwu20/gossamer/commit/55d997fcbaefbca3c4f7337ff229d212e93eea92)) * **dot/sync:** add nil header checks ([#2099](https://github.com/timwu20/gossamer/issues/2099)) ([a7d4be0](https://github.com/timwu20/gossamer/commit/a7d4be004801e413dfa1b902972f60c20eb33e09)) * **dot/sync:** fix block request and response logic ([#1907](https://github.com/timwu20/gossamer/issues/1907)) ([9c6283e](https://github.com/timwu20/gossamer/commit/9c6283ea8f61127bfe5996043168fb74fcd85f2b)) * **dot/sync:** fix creating block response, fixes node sync between gossamer nodes ([#1572](https://github.com/timwu20/gossamer/issues/1572)) ([1328c80](https://github.com/timwu20/gossamer/commit/1328c80d95d4d956291d637484e0bdcbac62fe3e)) * **dot/telemetry:** refactor telemetry to reduce CPU usage ([#1597](https://github.com/timwu20/gossamer/issues/1597)) ([bc31ac7](https://github.com/timwu20/gossamer/commit/bc31ac7981d12c1e4e5ff8f19ec282ffa3d8d4cd)) * **dot/types:** *types.Body to be of type []types.Extrinsic ([#1807](https://github.com/timwu20/gossamer/issues/1807)) ([4c09715](https://github.com/timwu20/gossamer/commit/4c09715ce29ccd757ab66a8c6745ed58c8960744)) * **dot/types:** fix max value for digest ([#1687](https://github.com/timwu20/gossamer/issues/1687)) ([48405e7](https://github.com/timwu20/gossamer/commit/48405e711c89e418caf6f182d5ca9b55580bb411)) * **dot:** fix `TestNewNode` ([#2070](https://github.com/timwu20/gossamer/issues/2070)) ([42908d0](https://github.com/timwu20/gossamer/commit/42908d0b753a5ace379232246eef5bad43a17662)) * fix Kusama sync; add storageState lock in core.HandleTransactionMessage ([#1783](https://github.com/timwu20/gossamer/issues/1783)) ([1d688e4](https://github.com/timwu20/gossamer/commit/1d688e472d11efc7723b6f38cc98259c81511493)) * **lib/babe, lib/runtime/wasmer:** fixes for v0.9.8+ runtime ([#2075](https://github.com/timwu20/gossamer/issues/2075)) ([2f9f80c](https://github.com/timwu20/gossamer/commit/2f9f80c52d6b0465b1211e8ade28e5b43b9fb9c4)) * **lib/babe:** add `--babe-lead` flag, update epoch handling logic ([#1895](https://github.com/timwu20/gossamer/issues/1895)) ([7abcce6](https://github.com/timwu20/gossamer/commit/7abcce62b77d472b14aefb0870989dab69834cf9)) * **lib/babe:** add pre-runtime digest before calling initialize_block ([#1581](https://github.com/timwu20/gossamer/issues/1581)) ([c1b26d3](https://github.com/timwu20/gossamer/commit/c1b26d377ec989386793a5acd301b3a771ce0882)) * **lib/babe:** always use 2/3 of slot to produce block, re-add potentially valid txs to queue ([#1679](https://github.com/timwu20/gossamer/issues/1679)) ([cf93ad3](https://github.com/timwu20/gossamer/commit/cf93ad3e2a1ec83cb0b91471768b91e4209ec47c)) * **lib/babe:** call AddBlock in BABE synchronously ([#1585](https://github.com/timwu20/gossamer/issues/1585)) ([86acc43](https://github.com/timwu20/gossamer/commit/86acc4342226248eba7ebce00a5cbceeda62cce9)) * **lib/babe:** fix BABE state storing after building block ([#1536](https://github.com/timwu20/gossamer/issues/1536)) ([1a3dea2](https://github.com/timwu20/gossamer/commit/1a3dea29c419c67b5a1d8c66c96e56c4da0cdd31)) * **lib/babe:** fix err log ([#1801](https://github.com/timwu20/gossamer/issues/1801)) ([a96f06a](https://github.com/timwu20/gossamer/commit/a96f06a70f7b4cd00ca54484a776bf8ba28c6b5d)) * **lib/babe:** fix setting first slot of network, fix loading BABE epoch params ([#1640](https://github.com/timwu20/gossamer/issues/1640)) ([5c3dbfe](https://github.com/timwu20/gossamer/commit/5c3dbfe9de22b917c25f113aab258a812df6d644)) * **lib/babe:** fix timing for transition between epochs ([#1636](https://github.com/timwu20/gossamer/issues/1636)) ([57027db](https://github.com/timwu20/gossamer/commit/57027dbdbe9bee96d71d480c7e8ba0ee5ae64a29)) * **lib/blocktree:** fix blocktree bug ([#2060](https://github.com/timwu20/gossamer/issues/2060)) ([c17b53a](https://github.com/timwu20/gossamer/commit/c17b53acedd6134ad5d8599796628aa2b499657b)) * **lib/blocktree:** fix potential nil pointer dereference in `HighestCommonAncestor`, core `handleBlocksAsync` ([#1993](https://github.com/timwu20/gossamer/issues/1993)) ([f7f4463](https://github.com/timwu20/gossamer/commit/f7f4463627275b6cf42c9dd90b8aaaef55e91a5d)) * **lib/blocktree:** fix setting leaves after blocktree pruning ([#1605](https://github.com/timwu20/gossamer/issues/1605)) ([58c0854](https://github.com/timwu20/gossamer/commit/58c08541f113d524ef8868cc85f89f7e669ba570)) * **lib/blocktree:** removes the inconsistency to choose a deepest leaf ([#2094](https://github.com/timwu20/gossamer/issues/2094)) ([43d68e3](https://github.com/timwu20/gossamer/commit/43d68e36e98f1f9d5cd83962ba5a4cbfee7270ab)) * **lib/genesis:** Update missing and incorrect fields in genesis file. ([#1681](https://github.com/timwu20/gossamer/issues/1681)) ([8207704](https://github.com/timwu20/gossamer/commit/82077043d44603e249bb178b59f8f04195b103d2)) * **lib/grandpa:** fix grandpa stall and various bugs ([#1708](https://github.com/timwu20/gossamer/issues/1708)) ([67c93f4](https://github.com/timwu20/gossamer/commit/67c93f49534a8cafa4a3c9ed47118bf905c844cb)) * **lib/grandpa:** fix grandpa vote message switch ([#2095](https://github.com/timwu20/gossamer/issues/2095)) ([461890c](https://github.com/timwu20/gossamer/commit/461890c95a18f6dad9eadf8cef3339e0b8e64ad1)) * **lib/grandpa:** fix threshold checking to be strictly greater than 2/3 ([#1891](https://github.com/timwu20/gossamer/issues/1891)) ([66ffe51](https://github.com/timwu20/gossamer/commit/66ffe51e3bf55fb83c52fdbd776e055bde414cc3)) * **lib/grandpa:** use `defaultGrandpaInterval` if not set, fixes error on startup ([#1982](https://github.com/timwu20/gossamer/issues/1982)) ([75627b5](https://github.com/timwu20/gossamer/commit/75627b5e26bcb2de6f5f8ef7ea1537091c5424ea)) * **lib/runtime/life:** remove import C from life ([#1923](https://github.com/timwu20/gossamer/issues/1923)) ([ed507d2](https://github.com/timwu20/gossamer/commit/ed507d25e37fd9c0a162fff1a392b63695c5eed3)) * **lib/runtime:** update HOST_API_TEST_RUNTIME_URL to reference specific commit ([#1885](https://github.com/timwu20/gossamer/issues/1885)) ([666ed06](https://github.com/timwu20/gossamer/commit/666ed06a44b85c30b2544970fcff2c5fa6080921)) * **log-levels:** do not ignore configuration file log levels ([#2016](https://github.com/timwu20/gossamer/issues/2016)) ([80879b2](https://github.com/timwu20/gossamer/commit/80879b287d1c5b7c9779743c19cb53754d410c72)) * pending bubble hidden after block included ([#1592](https://github.com/timwu20/gossamer/issues/1592)) ([5826322](https://github.com/timwu20/gossamer/commit/5826322c094323337bf5e0ffcf79a83e60aa493c)) * persist node name ([#1543](https://github.com/timwu20/gossamer/issues/1543)) ([88b88f2](https://github.com/timwu20/gossamer/commit/88b88f2c889aa27506dc482eadda5a295b2626a4)) * **pprof:** only run pprof service if enabled ([#2073](https://github.com/timwu20/gossamer/issues/2073)) ([55669c5](https://github.com/timwu20/gossamer/commit/55669c54d158a31e06d20cb927281bc44bb9497b)) * **release:** Trigger release when pushed to main branch. ([#1566](https://github.com/timwu20/gossamer/issues/1566)) ([d445c97](https://github.com/timwu20/gossamer/commit/d445c9738bf0a65927fbf67cdb8d0bafa292e1ca)) * **rpc/subscription:** subscribe runtime version notify when version changes ([#1686](https://github.com/timwu20/gossamer/issues/1686)) ([9a76d39](https://github.com/timwu20/gossamer/commit/9a76d396d7fbc3c9a3a7b2ca9d14fde8beae2e15)) * Staging CI workflow ([#2034](https://github.com/timwu20/gossamer/issues/2034)) ([84ec792](https://github.com/timwu20/gossamer/commit/84ec7924514b215a7642ab6d70143ba51eed5bd6)) * **trie:** memory leak fix in `lib/trie` ([#2009](https://github.com/timwu20/gossamer/issues/2009)) ([0ad5eb7](https://github.com/timwu20/gossamer/commit/0ad5eb782812bb73caa5e6319b8111cd638c479c)) * update deprecated package ([#1603](https://github.com/timwu20/gossamer/issues/1603)) ([f195204](https://github.com/timwu20/gossamer/commit/f195204ca0e427c9dad09794955a002006fd8a8d)) * update go-schnorrkel version ([#1557](https://github.com/timwu20/gossamer/issues/1557)) ([b86c7ff](https://github.com/timwu20/gossamer/commit/b86c7ff8507c097879996f0d5eb9ec84628127f9)) * update gssmr genesis to use pallet_babe::SameAuthoritiesForever ([#1696](https://github.com/timwu20/gossamer/issues/1696)) ([fb0a751](https://github.com/timwu20/gossamer/commit/fb0a751a400cd6c183c1bb95bba6e0aefcca9959)) * update HOST_API_TEST_RUNTIME_URL ([#1898](https://github.com/timwu20/gossamer/issues/1898)) ([2ef59a8](https://github.com/timwu20/gossamer/commit/2ef59a81b04c969929b59402b1f290e9a09e56c3)) * **utils:** create a specific folder for database ([#1598](https://github.com/timwu20/gossamer/issues/1598)) ([8c67795](https://github.com/timwu20/gossamer/commit/8c67795640855b0f1bfea1f5c3aa579f728d07d7)) ### Features * add --chain dev option ([#1561](https://github.com/timwu20/gossamer/issues/1561)) ([04a2969](https://github.com/timwu20/gossamer/commit/04a2969bfdcf8c05b8ddf144764d2d7f2ef43d50)) * Add properties and chainId on build-spec command ([#1520](https://github.com/timwu20/gossamer/issues/1520)) ([b18290c](https://github.com/timwu20/gossamer/commit/b18290cb269d4f1a8e2915dac6add5c9363a2a25)) * **cmd/gossamer:** implement --telemetry-url parameter ([#1890](https://github.com/timwu20/gossamer/issues/1890)) ([b202e89](https://github.com/timwu20/gossamer/commit/b202e89535c27f6e849d2645bbd44fd8e9e3377c)), closes [#1502](https://github.com/timwu20/gossamer/issues/1502) * **cmd:** implement offline pruning of state trie ([#1564](https://github.com/timwu20/gossamer/issues/1564)) ([af9c925](https://github.com/timwu20/gossamer/commit/af9c92509543ae1e7319dbc81ccdbd88c5d0ecc5)) * **devnet:** Local Gossamer Devnet ([#2008](https://github.com/timwu20/gossamer/issues/2008)) ([a520001](https://github.com/timwu20/gossamer/commit/a520001cdb17061cdf0d2a65cfc88492c8d04ad7)) * **dot/network, lib/grandpa:** request justification on receiving NeighbourMessage, verify justification on receipt ([#1529](https://github.com/timwu20/gossamer/issues/1529)) ([e1f9f42](https://github.com/timwu20/gossamer/commit/e1f9f427c47255ca5cdcdd443ed8ebcf2451c759)) * **dot/network:** add propagate return bool to messageHandler func type to determine whether to propagate message or not ([#1555](https://github.com/timwu20/gossamer/issues/1555)) ([0d6f488](https://github.com/timwu20/gossamer/commit/0d6f48834327fa453977c7ccde2ad4ac99588e75)) * **dot/network:** implement streamManager to cleanup not recently used streams ([#1611](https://github.com/timwu20/gossamer/issues/1611)) ([ba861bf](https://github.com/timwu20/gossamer/commit/ba861bf4c22f9efc1ca9e7dfddb606c82361f70a)) * **dot/peerset:** Implement peer scoring ([#1791](https://github.com/timwu20/gossamer/issues/1791)) ([1c989ad](https://github.com/timwu20/gossamer/commit/1c989ad97d0db5f7aa8574c1f13c0432509615c0)) * **dot/rpc/modules:** add `system_addReservedPeer` and `system_removeReservedPeer` RPC call ([#1712](https://github.com/timwu20/gossamer/issues/1712)) ([dba5922](https://github.com/timwu20/gossamer/commit/dba59225143e54500ae8f1a1290a79d8305ac838)) * **dot/rpc:** Add `system_localListenAddresses` RPC call ([#1689](https://github.com/timwu20/gossamer/issues/1689)) ([c981d2e](https://github.com/timwu20/gossamer/commit/c981d2e663969f783bad7b9a3a7ae4b20028c9ce)) * **dot/rpc:** Implement `childstate_getKeys` rpc call ([#1800](https://github.com/timwu20/gossamer/issues/1800)) ([9b2f41e](https://github.com/timwu20/gossamer/commit/9b2f41e0e5b600a758ede6e9e41c553461b666af)) * **dot/rpc:** implement sync_state_genSyncSpec RPC call ([#1827](https://github.com/timwu20/gossamer/issues/1827)) ([2186caf](https://github.com/timwu20/gossamer/commit/2186caf2370efe64afc5211cafc87e35f01d22ca)) * **dot/state:** implement online pruning of historical state tries ([#1596](https://github.com/timwu20/gossamer/issues/1596)) ([3eb9399](https://github.com/timwu20/gossamer/commit/3eb9399e7fd37ef165671fcd4c3a25a35903f9fb)) * **dot/sync:** implement codeSubstitutes ([#1635](https://github.com/timwu20/gossamer/issues/1635)) ([d87aaeb](https://github.com/timwu20/gossamer/commit/d87aaebc8cc6ca0a894d747410ed3970ac7a81d6)) * **dot/telemetry:** Added connection retry ([#1904](https://github.com/timwu20/gossamer/issues/1904)) ([579a791](https://github.com/timwu20/gossamer/commit/579a791349429bc38ec1a7df36f194176b830917)) * **dot/telemetry:** Added more telemetry messages in grandpa client ([#2043](https://github.com/timwu20/gossamer/issues/2043)) ([2e57d15](https://github.com/timwu20/gossamer/commit/2e57d1588c64b26c51c37113c55401a485ba47b6)), closes [#1841](https://github.com/timwu20/gossamer/issues/1841) [#1842](https://github.com/timwu20/gossamer/issues/1842) * **dot/telemetry:** implement notify.finalized telemetry interface ([#1877](https://github.com/timwu20/gossamer/issues/1877)) ([de1a60d](https://github.com/timwu20/gossamer/commit/de1a60df3f2d13e8100b59d908a8f368ac661f86)) * **dot/telemetry:** implement substrate_number_leaves metrics ([#1926](https://github.com/timwu20/gossamer/issues/1926)) ([69823c0](https://github.com/timwu20/gossamer/commit/69823c0264bd681cf0df2f1188ae63b08b5312f8)) * **dot/telemetry:** implement telemetry message network_state ([#1618](https://github.com/timwu20/gossamer/issues/1618)) ([a81844e](https://github.com/timwu20/gossamer/commit/a81844ea679198324879e7842d7c873ad7b0fb98)) * **flags:** read log levels from flags ([#1953](https://github.com/timwu20/gossamer/issues/1953)) ([9694e46](https://github.com/timwu20/gossamer/commit/9694e461b9fa45967a6aca63e0ecc5192d248fb5)) * implement ext_default_child_storage_storage_kill_version_2 ([#1799](https://github.com/timwu20/gossamer/issues/1799)) ([c2908ae](https://github.com/timwu20/gossamer/commit/c2908ae6d2f5cbeb1e3146c4f2aea0ad0de46070)) * implement ext_offchain_index_set_version_1 for wasmer runtime ([#1739](https://github.com/timwu20/gossamer/issues/1739)) ([96c30a6](https://github.com/timwu20/gossamer/commit/96c30a63d5f33f6242e892ab90666bfc3318426c)) * **lib/babe:** add check of types.ConfigData.SecondarySlots for disabling secondary verification ([#1910](https://github.com/timwu20/gossamer/issues/1910)) ([cd27ae4](https://github.com/timwu20/gossamer/commit/cd27ae4b13327ef3c9f7af26424587a94dd4896d)) * **lib/grandpa:** fully verify justifications using GrandpaState ([#1544](https://github.com/timwu20/gossamer/issues/1544)) ([028d25e](https://github.com/timwu20/gossamer/commit/028d25e72e5a3c32380f929d0db11ac4e874af37)) * **lib/grandpa:** Include equivocatory nodes while creating justification ([#1911](https://github.com/timwu20/gossamer/issues/1911)) ([aca86b6](https://github.com/timwu20/gossamer/commit/aca86b6967a416b321a4b191e69f7c7e14c40b26)) * **lib/grandpa:** send NeighbourMessage to peers ([#1558](https://github.com/timwu20/gossamer/issues/1558)) ([322ccf9](https://github.com/timwu20/gossamer/commit/322ccf9cf5fe18cc83ec05a5490ec250bd028f14)) * **lib/runtime/wasmer:** implement ext_default_child_storage_storage_kill_version_3 ([#1878](https://github.com/timwu20/gossamer/issues/1878)) ([a719a60](https://github.com/timwu20/gossamer/commit/a719a601105f39899098e9e6f556470507573491)) * **lib/runtime/wasmer:** implement ext_offchain_local_storage_version_1 ([#1821](https://github.com/timwu20/gossamer/issues/1821)) ([0f63b17](https://github.com/timwu20/gossamer/commit/0f63b17a5a591fd9fd7b3213861e773a9b443878)) * **lib/runtime:** Implement `ext_offchain_http_request_add_header_version_1` host function ([#1994](https://github.com/timwu20/gossamer/issues/1994)) ([0a30b3d](https://github.com/timwu20/gossamer/commit/0a30b3dd9c040b59a4f5539b410367cbafa5a79b)) * **lib/runtime:** Implement `ext_offchain_http_request_start_version_1` host function ([#1947](https://github.com/timwu20/gossamer/issues/1947)) ([974b1fc](https://github.com/timwu20/gossamer/commit/974b1fc795ca5639ee88936ce1293a9bcfc55805)) * **lib/runtime:** Implement `trie_blake2_256_verify_proof` host function ([#1920](https://github.com/timwu20/gossamer/issues/1920)) ([506565d](https://github.com/timwu20/gossamer/commit/506565d245f0943a8e884c41e43bc7ca80fece0c)) * **lib/trie:** Implement `verify_proof` function ([#1883](https://github.com/timwu20/gossamer/issues/1883)) ([67bb5ef](https://github.com/timwu20/gossamer/commit/67bb5efa6e600ff2e0c25ad035e85e1a34224d51)) * **lib/trie:** Implement limit for trie.ClearPrefix ([#1905](https://github.com/timwu20/gossamer/issues/1905)) ([becec9e](https://github.com/timwu20/gossamer/commit/becec9eea0f4602e92f4bd4adfec943d3bc8d2b9)) * **lib/trie:** Parallel hash trie. ([#1657](https://github.com/timwu20/gossamer/issues/1657)) ([22827e7](https://github.com/timwu20/gossamer/commit/22827e7e39594725cc1bb141918f7dcb836e1748)) * **pprof:** Pprof HTTP server service ([#1991](https://github.com/timwu20/gossamer/issues/1991)) ([ce24ea9](https://github.com/timwu20/gossamer/commit/ce24ea94b2f3022b6c9382670132e2943b465efa)) * **rpc/subscription:** implement state_unsubscribeStorage ([#1574](https://github.com/timwu20/gossamer/issues/1574)) ([7574f10](https://github.com/timwu20/gossamer/commit/7574f10e29eb4a130a0cc6356febcd88509570a8)) * **rpc:** Implement `childstate_getChildStorage` RPC call ([#1832](https://github.com/timwu20/gossamer/issues/1832)) ([3d949f2](https://github.com/timwu20/gossamer/commit/3d949f2eba8a4e9c65362d65dfebd5c37a99fe2a)) * **rpc:** Implement `childstate_getStorageHash` RPC call ([#1805](https://github.com/timwu20/gossamer/issues/1805)) ([e539bd3](https://github.com/timwu20/gossamer/commit/e539bd3db8e0fc0a6a96b881e0edf7d9cabe418d)) * **rpc:** Implement `childstate_getStorageSize` RPC call ([#1810](https://github.com/timwu20/gossamer/issues/1810)) ([a04deb6](https://github.com/timwu20/gossamer/commit/a04deb6b058504e7855990eb20bb30ce25ae1a86)) * **rpc:** Implement `payment_queryInfo` RPC call ([#1826](https://github.com/timwu20/gossamer/issues/1826)) ([7a5deec](https://github.com/timwu20/gossamer/commit/7a5deec2159dcd9910aebecacaea3257abfde3cc)) * **rpc:** Implement `state_getReadProof` rpc call ([#1768](https://github.com/timwu20/gossamer/issues/1768)) ([865f80f](https://github.com/timwu20/gossamer/commit/865f80f6145699d49068f600e96ec8bc814cd150)) * **runtime:** implement custom logging handler that print function name ([#1825](https://github.com/timwu20/gossamer/issues/1825)) ([2b1276d](https://github.com/timwu20/gossamer/commit/2b1276d6af1f8e6cd5a6fefe55de86f43e962591)) * **telemetry:** send telemetry messages when GRANDPA receieves commit or vote messages ([#2015](https://github.com/timwu20/gossamer/issues/2015)) ([7bf40e1](https://github.com/timwu20/gossamer/commit/7bf40e159cf11ae4e3486a136da21848a533d0da)), closes [#1840](https://github.com/timwu20/gossamer/issues/1840) [#1839](https://github.com/timwu20/gossamer/issues/1839) [#1838](https://github.com/timwu20/gossamer/issues/1838) * **telemetry:** send txpool.import telemetry msg ([#1966](https://github.com/timwu20/gossamer/issues/1966)) ([ffc81bf](https://github.com/timwu20/gossamer/commit/ffc81bf25e2c411ab23e9a6116007e106cc3a4a7)) ### Reverts * Revert "feat(dot/rpc) implement `author_hasSessionKeys` RPC call (#1704)" (#1714) ([65380fd](https://github.com/timwu20/gossamer/commit/65380fdc78c5439a012adefd73cbe4c38f3cd1cf)), closes [#1704](https://github.com/timwu20/gossamer/issues/1704) [#1714](https://github.com/timwu20/gossamer/issues/1714) --- CHANGELOG.md | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000000..966fefcd455 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,136 @@ +# Semantic Versioning Changelog + +# [0.5.0](https://github.com/timwu20/gossamer/compare/v0.4.1...v0.5.0) (2021-12-06) + + +### Bug Fixes + +* **babe:** Fix extrinsic format in block. ([#1530](https://github.com/timwu20/gossamer/issues/1530)) ([1a03b2a](https://github.com/timwu20/gossamer/commit/1a03b2a08a191b37ac620ae8ff5c47dccf92b421)) +* **ci:** add missing go-version matrix to fix development branch CI ([#2037](https://github.com/timwu20/gossamer/issues/2037)) ([6babe76](https://github.com/timwu20/gossamer/commit/6babe76ab314fa38dfced216bde88b58b7b3478b)) +* **cmd/cfg:** Use Babe Lead value from toml config ([#2032](https://github.com/timwu20/gossamer/issues/2032)) ([06aa3e3](https://github.com/timwu20/gossamer/commit/06aa3e36b3016a2b365b9cdac1d3f12c783f5391)) +* confirm block import notifier is closed properly ([#1736](https://github.com/timwu20/gossamer/issues/1736)) ([ad2d85e](https://github.com/timwu20/gossamer/commit/ad2d85e29190f3db501b7cb4e1816f51a0c8c31c)) +* **docs:** improve build-spec usage docs ([#1706](https://github.com/timwu20/gossamer/issues/1706)) ([2e164b4](https://github.com/timwu20/gossamer/commit/2e164b49506184c2645b0a42a64e141ca1449d46)) +* **dot/core:** Add only extrinsic during chain reorg. ([#1609](https://github.com/timwu20/gossamer/issues/1609)) ([29413d4](https://github.com/timwu20/gossamer/commit/29413d48731aa700ecab92d33a388a459b4e5c9e)) +* **dot/core:** Batch process transaction message. ([#1780](https://github.com/timwu20/gossamer/issues/1780)) ([0064836](https://github.com/timwu20/gossamer/commit/0064836f047996e87ef22949fad6a293e8b24da8)) +* **dot/core:** check transaction Validity.Propagate field to determine whether to propagate tx ([#1643](https://github.com/timwu20/gossamer/issues/1643)) ([81f23cc](https://github.com/timwu20/gossamer/commit/81f23ccdfc176c8054099d369143422011c5472b)) +* **dot/core:** Fix handle transaction message test. ([#1607](https://github.com/timwu20/gossamer/issues/1607)) ([58b8725](https://github.com/timwu20/gossamer/commit/58b8725f23d895ec4a88708aa577d43539908d77)) +* **dot/network, lib/grandpa:** fix handshake decoding and grandpa message handler sigabort ([#1631](https://github.com/timwu20/gossamer/issues/1631)) ([887f72c](https://github.com/timwu20/gossamer/commit/887f72c9df46872c7bca6845187cd249e223a794)) +* **dot/network, lib/grandpa:** fix node sync, improve devnet finality ([bcc7935](https://github.com/timwu20/gossamer/commit/bcc79351cfe50d6b738d797e67154b70298c131b)) +* **dot/network:** add nil checks in connManager ([#2069](https://github.com/timwu20/gossamer/issues/2069)) ([7f9c042](https://github.com/timwu20/gossamer/commit/7f9c0427172120633426fe71106a259f1205a0ac)) +* **dot/network:** Check for size when decoding leb128. ([#1634](https://github.com/timwu20/gossamer/issues/1634)) ([d082b9e](https://github.com/timwu20/gossamer/commit/d082b9e0b2a8a2a5a50fe4df72112eaec87da5bf)) +* **dot/network:** check if peer supports protocol ([#1617](https://github.com/timwu20/gossamer/issues/1617)) ([6bf66a4](https://github.com/timwu20/gossamer/commit/6bf66a49e017a93de8256568c9103de15ef01f35)) +* **dot/network:** decrease DHT find peers interval for gssmr nodes ([#1703](https://github.com/timwu20/gossamer/issues/1703)) ([08516a0](https://github.com/timwu20/gossamer/commit/08516a048d99d80f8cc7ba58d435905110a94e68)) +* **dot/network:** fix bugs in notifications protocol handlers; add metrics for inbound/outbound streams ([#2010](https://github.com/timwu20/gossamer/issues/2010)) ([8c2993d](https://github.com/timwu20/gossamer/commit/8c2993d6ab556a913a9e7d4961db2e5673bf8012)) +* **dot/network:** fix dht connection on discovery on devnet ([#2059](https://github.com/timwu20/gossamer/issues/2059)) ([da065b8](https://github.com/timwu20/gossamer/commit/da065b8f0b37f881ff224bdbe255955f1218548d)) +* **dot/network:** fix discovery between gossamer nodes ([#1594](https://github.com/timwu20/gossamer/issues/1594)) ([f4c79d3](https://github.com/timwu20/gossamer/commit/f4c79d3e3e7f280a2b225180bbbe6a36317ef734)) +* **dot/network:** fix memory allocations with `sizedBufferPool` ([#1963](https://github.com/timwu20/gossamer/issues/1963)) ([e0b126b](https://github.com/timwu20/gossamer/commit/e0b126bdfb530244c578e83a3cc3e8480d9dc108)) +* **dot/network:** Fix missing digest in header ([#2092](https://github.com/timwu20/gossamer/issues/2092)) ([21ea85e](https://github.com/timwu20/gossamer/commit/21ea85eec2964b2b7d284f04fb087bedfb3ac8a1)) +* **dot/network:** Fix notification handshake and reuse stream. ([#1545](https://github.com/timwu20/gossamer/issues/1545)) ([a632dc4](https://github.com/timwu20/gossamer/commit/a632dc444ed62896371806b3b20ffe0e50ecc7d0)) +* **dot/network:** fix stream manager tests ([#1683](https://github.com/timwu20/gossamer/issues/1683)) ([e02eca4](https://github.com/timwu20/gossamer/commit/e02eca4fc77a193ff0b47a3a92fe6aa683216719)) +* **dot/network:** implement a handshake timeout ([#1615](https://github.com/timwu20/gossamer/issues/1615)) ([87c2f63](https://github.com/timwu20/gossamer/commit/87c2f63aae833e5d7df28f3cb2ea23c5f63fe04d)) +* **dot/network:** Implement time based handle transaction ([#1942](https://github.com/timwu20/gossamer/issues/1942)) ([dd08424](https://github.com/timwu20/gossamer/commit/dd08424fdeb4ee4056bd4e2f9e0e731a9d18a1df)) +* **dot/network:** move low reputation peer removal from network ConnManager to peer scoring logic (dot/peerstate) ([#2068](https://github.com/timwu20/gossamer/issues/2068)) ([ac16285](https://github.com/timwu20/gossamer/commit/ac162853ab37292693efb28f424271f0fd32ea96)), closes [#2039](https://github.com/timwu20/gossamer/issues/2039) +* **dot/network:** Return on EOF error while reading stream. ([#1733](https://github.com/timwu20/gossamer/issues/1733)) ([f447eac](https://github.com/timwu20/gossamer/commit/f447eaca10d2d9be91d6415c6ed93a454bc0aaa9)) +* **dot/network:** split stored streams and handshakeData into inbound and outbound ([#1553](https://github.com/timwu20/gossamer/issues/1553)) ([637050b](https://github.com/timwu20/gossamer/commit/637050bb94e12eb518ef93122c5ef323c27a53fb)) +* **dot/node:** Start websocket server only with `--ws` flag ([#1671](https://github.com/timwu20/gossamer/issues/1671)) ([6ecef3b](https://github.com/timwu20/gossamer/commit/6ecef3bd9c12823cf9d6dd361edb8efdee09c785)) +* **dot/state, lib/babe, lib/trie:** improve syncing between gossamer authority nodes ([#1613](https://github.com/timwu20/gossamer/issues/1613)) ([ca99fbf](https://github.com/timwu20/gossamer/commit/ca99fbf1938c9de3f52f06c6bc2ca7a68efa3e89)) +* **dot/state, lib/grandpa:** update justification and SignedVote handling in database ([#1682](https://github.com/timwu20/gossamer/issues/1682)) ([bbdcd6f](https://github.com/timwu20/gossamer/commit/bbdcd6f1c92c1944dfaa744b8656f229129f35e3)) +* **dot/state:** add StorageState Lock/Unlock API for usage by babe and sync ([#1700](https://github.com/timwu20/gossamer/issues/1700)) ([3c22ace](https://github.com/timwu20/gossamer/commit/3c22acee55e5a224e9859d6cabd007086ed506c5)) +* **dot/state:** fix deadlock, fixes bootstrap syncing ([#1959](https://github.com/timwu20/gossamer/issues/1959)) ([dd80c09](https://github.com/timwu20/gossamer/commit/dd80c09670b076cfbaa1bda2ec0c8b2d83253ad7)) +* **dot/state:** track runtime per-block, fix runtime upgrades differing between forks ([#1638](https://github.com/timwu20/gossamer/issues/1638)) ([e133884](https://github.com/timwu20/gossamer/commit/e133884645048e74ce709d574f8e9dcfd7333f88)) +* **dot/state:** update `*state.BlockState.AddBlockToBlockTree` to store block in `unfinalisedBlocksMap` ([#2006](https://github.com/timwu20/gossamer/issues/2006)) ([55d997f](https://github.com/timwu20/gossamer/commit/55d997fcbaefbca3c4f7337ff229d212e93eea92)) +* **dot/sync:** add nil header checks ([#2099](https://github.com/timwu20/gossamer/issues/2099)) ([a7d4be0](https://github.com/timwu20/gossamer/commit/a7d4be004801e413dfa1b902972f60c20eb33e09)) +* **dot/sync:** fix block request and response logic ([#1907](https://github.com/timwu20/gossamer/issues/1907)) ([9c6283e](https://github.com/timwu20/gossamer/commit/9c6283ea8f61127bfe5996043168fb74fcd85f2b)) +* **dot/sync:** fix creating block response, fixes node sync between gossamer nodes ([#1572](https://github.com/timwu20/gossamer/issues/1572)) ([1328c80](https://github.com/timwu20/gossamer/commit/1328c80d95d4d956291d637484e0bdcbac62fe3e)) +* **dot/telemetry:** refactor telemetry to reduce CPU usage ([#1597](https://github.com/timwu20/gossamer/issues/1597)) ([bc31ac7](https://github.com/timwu20/gossamer/commit/bc31ac7981d12c1e4e5ff8f19ec282ffa3d8d4cd)) +* **dot/types:** *types.Body to be of type []types.Extrinsic ([#1807](https://github.com/timwu20/gossamer/issues/1807)) ([4c09715](https://github.com/timwu20/gossamer/commit/4c09715ce29ccd757ab66a8c6745ed58c8960744)) +* **dot/types:** fix max value for digest ([#1687](https://github.com/timwu20/gossamer/issues/1687)) ([48405e7](https://github.com/timwu20/gossamer/commit/48405e711c89e418caf6f182d5ca9b55580bb411)) +* **dot:** fix `TestNewNode` ([#2070](https://github.com/timwu20/gossamer/issues/2070)) ([42908d0](https://github.com/timwu20/gossamer/commit/42908d0b753a5ace379232246eef5bad43a17662)) +* fix Kusama sync; add storageState lock in core.HandleTransactionMessage ([#1783](https://github.com/timwu20/gossamer/issues/1783)) ([1d688e4](https://github.com/timwu20/gossamer/commit/1d688e472d11efc7723b6f38cc98259c81511493)) +* **lib/babe, lib/runtime/wasmer:** fixes for v0.9.8+ runtime ([#2075](https://github.com/timwu20/gossamer/issues/2075)) ([2f9f80c](https://github.com/timwu20/gossamer/commit/2f9f80c52d6b0465b1211e8ade28e5b43b9fb9c4)) +* **lib/babe:** add `--babe-lead` flag, update epoch handling logic ([#1895](https://github.com/timwu20/gossamer/issues/1895)) ([7abcce6](https://github.com/timwu20/gossamer/commit/7abcce62b77d472b14aefb0870989dab69834cf9)) +* **lib/babe:** add pre-runtime digest before calling initialize_block ([#1581](https://github.com/timwu20/gossamer/issues/1581)) ([c1b26d3](https://github.com/timwu20/gossamer/commit/c1b26d377ec989386793a5acd301b3a771ce0882)) +* **lib/babe:** always use 2/3 of slot to produce block, re-add potentially valid txs to queue ([#1679](https://github.com/timwu20/gossamer/issues/1679)) ([cf93ad3](https://github.com/timwu20/gossamer/commit/cf93ad3e2a1ec83cb0b91471768b91e4209ec47c)) +* **lib/babe:** call AddBlock in BABE synchronously ([#1585](https://github.com/timwu20/gossamer/issues/1585)) ([86acc43](https://github.com/timwu20/gossamer/commit/86acc4342226248eba7ebce00a5cbceeda62cce9)) +* **lib/babe:** fix BABE state storing after building block ([#1536](https://github.com/timwu20/gossamer/issues/1536)) ([1a3dea2](https://github.com/timwu20/gossamer/commit/1a3dea29c419c67b5a1d8c66c96e56c4da0cdd31)) +* **lib/babe:** fix err log ([#1801](https://github.com/timwu20/gossamer/issues/1801)) ([a96f06a](https://github.com/timwu20/gossamer/commit/a96f06a70f7b4cd00ca54484a776bf8ba28c6b5d)) +* **lib/babe:** fix setting first slot of network, fix loading BABE epoch params ([#1640](https://github.com/timwu20/gossamer/issues/1640)) ([5c3dbfe](https://github.com/timwu20/gossamer/commit/5c3dbfe9de22b917c25f113aab258a812df6d644)) +* **lib/babe:** fix timing for transition between epochs ([#1636](https://github.com/timwu20/gossamer/issues/1636)) ([57027db](https://github.com/timwu20/gossamer/commit/57027dbdbe9bee96d71d480c7e8ba0ee5ae64a29)) +* **lib/blocktree:** fix blocktree bug ([#2060](https://github.com/timwu20/gossamer/issues/2060)) ([c17b53a](https://github.com/timwu20/gossamer/commit/c17b53acedd6134ad5d8599796628aa2b499657b)) +* **lib/blocktree:** fix potential nil pointer dereference in `HighestCommonAncestor`, core `handleBlocksAsync` ([#1993](https://github.com/timwu20/gossamer/issues/1993)) ([f7f4463](https://github.com/timwu20/gossamer/commit/f7f4463627275b6cf42c9dd90b8aaaef55e91a5d)) +* **lib/blocktree:** fix setting leaves after blocktree pruning ([#1605](https://github.com/timwu20/gossamer/issues/1605)) ([58c0854](https://github.com/timwu20/gossamer/commit/58c08541f113d524ef8868cc85f89f7e669ba570)) +* **lib/blocktree:** removes the inconsistency to choose a deepest leaf ([#2094](https://github.com/timwu20/gossamer/issues/2094)) ([43d68e3](https://github.com/timwu20/gossamer/commit/43d68e36e98f1f9d5cd83962ba5a4cbfee7270ab)) +* **lib/genesis:** Update missing and incorrect fields in genesis file. ([#1681](https://github.com/timwu20/gossamer/issues/1681)) ([8207704](https://github.com/timwu20/gossamer/commit/82077043d44603e249bb178b59f8f04195b103d2)) +* **lib/grandpa:** fix grandpa stall and various bugs ([#1708](https://github.com/timwu20/gossamer/issues/1708)) ([67c93f4](https://github.com/timwu20/gossamer/commit/67c93f49534a8cafa4a3c9ed47118bf905c844cb)) +* **lib/grandpa:** fix grandpa vote message switch ([#2095](https://github.com/timwu20/gossamer/issues/2095)) ([461890c](https://github.com/timwu20/gossamer/commit/461890c95a18f6dad9eadf8cef3339e0b8e64ad1)) +* **lib/grandpa:** fix threshold checking to be strictly greater than 2/3 ([#1891](https://github.com/timwu20/gossamer/issues/1891)) ([66ffe51](https://github.com/timwu20/gossamer/commit/66ffe51e3bf55fb83c52fdbd776e055bde414cc3)) +* **lib/grandpa:** use `defaultGrandpaInterval` if not set, fixes error on startup ([#1982](https://github.com/timwu20/gossamer/issues/1982)) ([75627b5](https://github.com/timwu20/gossamer/commit/75627b5e26bcb2de6f5f8ef7ea1537091c5424ea)) +* **lib/runtime/life:** remove import C from life ([#1923](https://github.com/timwu20/gossamer/issues/1923)) ([ed507d2](https://github.com/timwu20/gossamer/commit/ed507d25e37fd9c0a162fff1a392b63695c5eed3)) +* **lib/runtime:** update HOST_API_TEST_RUNTIME_URL to reference specific commit ([#1885](https://github.com/timwu20/gossamer/issues/1885)) ([666ed06](https://github.com/timwu20/gossamer/commit/666ed06a44b85c30b2544970fcff2c5fa6080921)) +* **log-levels:** do not ignore configuration file log levels ([#2016](https://github.com/timwu20/gossamer/issues/2016)) ([80879b2](https://github.com/timwu20/gossamer/commit/80879b287d1c5b7c9779743c19cb53754d410c72)) +* pending bubble hidden after block included ([#1592](https://github.com/timwu20/gossamer/issues/1592)) ([5826322](https://github.com/timwu20/gossamer/commit/5826322c094323337bf5e0ffcf79a83e60aa493c)) +* persist node name ([#1543](https://github.com/timwu20/gossamer/issues/1543)) ([88b88f2](https://github.com/timwu20/gossamer/commit/88b88f2c889aa27506dc482eadda5a295b2626a4)) +* **pprof:** only run pprof service if enabled ([#2073](https://github.com/timwu20/gossamer/issues/2073)) ([55669c5](https://github.com/timwu20/gossamer/commit/55669c54d158a31e06d20cb927281bc44bb9497b)) +* **release:** Trigger release when pushed to main branch. ([#1566](https://github.com/timwu20/gossamer/issues/1566)) ([d445c97](https://github.com/timwu20/gossamer/commit/d445c9738bf0a65927fbf67cdb8d0bafa292e1ca)) +* **rpc/subscription:** subscribe runtime version notify when version changes ([#1686](https://github.com/timwu20/gossamer/issues/1686)) ([9a76d39](https://github.com/timwu20/gossamer/commit/9a76d396d7fbc3c9a3a7b2ca9d14fde8beae2e15)) +* Staging CI workflow ([#2034](https://github.com/timwu20/gossamer/issues/2034)) ([84ec792](https://github.com/timwu20/gossamer/commit/84ec7924514b215a7642ab6d70143ba51eed5bd6)) +* **trie:** memory leak fix in `lib/trie` ([#2009](https://github.com/timwu20/gossamer/issues/2009)) ([0ad5eb7](https://github.com/timwu20/gossamer/commit/0ad5eb782812bb73caa5e6319b8111cd638c479c)) +* update deprecated package ([#1603](https://github.com/timwu20/gossamer/issues/1603)) ([f195204](https://github.com/timwu20/gossamer/commit/f195204ca0e427c9dad09794955a002006fd8a8d)) +* update go-schnorrkel version ([#1557](https://github.com/timwu20/gossamer/issues/1557)) ([b86c7ff](https://github.com/timwu20/gossamer/commit/b86c7ff8507c097879996f0d5eb9ec84628127f9)) +* update gssmr genesis to use pallet_babe::SameAuthoritiesForever ([#1696](https://github.com/timwu20/gossamer/issues/1696)) ([fb0a751](https://github.com/timwu20/gossamer/commit/fb0a751a400cd6c183c1bb95bba6e0aefcca9959)) +* update HOST_API_TEST_RUNTIME_URL ([#1898](https://github.com/timwu20/gossamer/issues/1898)) ([2ef59a8](https://github.com/timwu20/gossamer/commit/2ef59a81b04c969929b59402b1f290e9a09e56c3)) +* **utils:** create a specific folder for database ([#1598](https://github.com/timwu20/gossamer/issues/1598)) ([8c67795](https://github.com/timwu20/gossamer/commit/8c67795640855b0f1bfea1f5c3aa579f728d07d7)) + + +### Features + +* add --chain dev option ([#1561](https://github.com/timwu20/gossamer/issues/1561)) ([04a2969](https://github.com/timwu20/gossamer/commit/04a2969bfdcf8c05b8ddf144764d2d7f2ef43d50)) +* Add properties and chainId on build-spec command ([#1520](https://github.com/timwu20/gossamer/issues/1520)) ([b18290c](https://github.com/timwu20/gossamer/commit/b18290cb269d4f1a8e2915dac6add5c9363a2a25)) +* **cmd/gossamer:** implement --telemetry-url parameter ([#1890](https://github.com/timwu20/gossamer/issues/1890)) ([b202e89](https://github.com/timwu20/gossamer/commit/b202e89535c27f6e849d2645bbd44fd8e9e3377c)), closes [#1502](https://github.com/timwu20/gossamer/issues/1502) +* **cmd:** implement offline pruning of state trie ([#1564](https://github.com/timwu20/gossamer/issues/1564)) ([af9c925](https://github.com/timwu20/gossamer/commit/af9c92509543ae1e7319dbc81ccdbd88c5d0ecc5)) +* **devnet:** Local Gossamer Devnet ([#2008](https://github.com/timwu20/gossamer/issues/2008)) ([a520001](https://github.com/timwu20/gossamer/commit/a520001cdb17061cdf0d2a65cfc88492c8d04ad7)) +* **dot/network, lib/grandpa:** request justification on receiving NeighbourMessage, verify justification on receipt ([#1529](https://github.com/timwu20/gossamer/issues/1529)) ([e1f9f42](https://github.com/timwu20/gossamer/commit/e1f9f427c47255ca5cdcdd443ed8ebcf2451c759)) +* **dot/network:** add propagate return bool to messageHandler func type to determine whether to propagate message or not ([#1555](https://github.com/timwu20/gossamer/issues/1555)) ([0d6f488](https://github.com/timwu20/gossamer/commit/0d6f48834327fa453977c7ccde2ad4ac99588e75)) +* **dot/network:** implement streamManager to cleanup not recently used streams ([#1611](https://github.com/timwu20/gossamer/issues/1611)) ([ba861bf](https://github.com/timwu20/gossamer/commit/ba861bf4c22f9efc1ca9e7dfddb606c82361f70a)) +* **dot/peerset:** Implement peer scoring ([#1791](https://github.com/timwu20/gossamer/issues/1791)) ([1c989ad](https://github.com/timwu20/gossamer/commit/1c989ad97d0db5f7aa8574c1f13c0432509615c0)) +* **dot/rpc/modules:** add `system_addReservedPeer` and `system_removeReservedPeer` RPC call ([#1712](https://github.com/timwu20/gossamer/issues/1712)) ([dba5922](https://github.com/timwu20/gossamer/commit/dba59225143e54500ae8f1a1290a79d8305ac838)) +* **dot/rpc:** Add `system_localListenAddresses` RPC call ([#1689](https://github.com/timwu20/gossamer/issues/1689)) ([c981d2e](https://github.com/timwu20/gossamer/commit/c981d2e663969f783bad7b9a3a7ae4b20028c9ce)) +* **dot/rpc:** Implement `childstate_getKeys` rpc call ([#1800](https://github.com/timwu20/gossamer/issues/1800)) ([9b2f41e](https://github.com/timwu20/gossamer/commit/9b2f41e0e5b600a758ede6e9e41c553461b666af)) +* **dot/rpc:** implement sync_state_genSyncSpec RPC call ([#1827](https://github.com/timwu20/gossamer/issues/1827)) ([2186caf](https://github.com/timwu20/gossamer/commit/2186caf2370efe64afc5211cafc87e35f01d22ca)) +* **dot/state:** implement online pruning of historical state tries ([#1596](https://github.com/timwu20/gossamer/issues/1596)) ([3eb9399](https://github.com/timwu20/gossamer/commit/3eb9399e7fd37ef165671fcd4c3a25a35903f9fb)) +* **dot/sync:** implement codeSubstitutes ([#1635](https://github.com/timwu20/gossamer/issues/1635)) ([d87aaeb](https://github.com/timwu20/gossamer/commit/d87aaebc8cc6ca0a894d747410ed3970ac7a81d6)) +* **dot/telemetry:** Added connection retry ([#1904](https://github.com/timwu20/gossamer/issues/1904)) ([579a791](https://github.com/timwu20/gossamer/commit/579a791349429bc38ec1a7df36f194176b830917)) +* **dot/telemetry:** Added more telemetry messages in grandpa client ([#2043](https://github.com/timwu20/gossamer/issues/2043)) ([2e57d15](https://github.com/timwu20/gossamer/commit/2e57d1588c64b26c51c37113c55401a485ba47b6)), closes [#1841](https://github.com/timwu20/gossamer/issues/1841) [#1842](https://github.com/timwu20/gossamer/issues/1842) +* **dot/telemetry:** implement notify.finalized telemetry interface ([#1877](https://github.com/timwu20/gossamer/issues/1877)) ([de1a60d](https://github.com/timwu20/gossamer/commit/de1a60df3f2d13e8100b59d908a8f368ac661f86)) +* **dot/telemetry:** implement substrate_number_leaves metrics ([#1926](https://github.com/timwu20/gossamer/issues/1926)) ([69823c0](https://github.com/timwu20/gossamer/commit/69823c0264bd681cf0df2f1188ae63b08b5312f8)) +* **dot/telemetry:** implement telemetry message network_state ([#1618](https://github.com/timwu20/gossamer/issues/1618)) ([a81844e](https://github.com/timwu20/gossamer/commit/a81844ea679198324879e7842d7c873ad7b0fb98)) +* **flags:** read log levels from flags ([#1953](https://github.com/timwu20/gossamer/issues/1953)) ([9694e46](https://github.com/timwu20/gossamer/commit/9694e461b9fa45967a6aca63e0ecc5192d248fb5)) +* implement ext_default_child_storage_storage_kill_version_2 ([#1799](https://github.com/timwu20/gossamer/issues/1799)) ([c2908ae](https://github.com/timwu20/gossamer/commit/c2908ae6d2f5cbeb1e3146c4f2aea0ad0de46070)) +* implement ext_offchain_index_set_version_1 for wasmer runtime ([#1739](https://github.com/timwu20/gossamer/issues/1739)) ([96c30a6](https://github.com/timwu20/gossamer/commit/96c30a63d5f33f6242e892ab90666bfc3318426c)) +* **lib/babe:** add check of types.ConfigData.SecondarySlots for disabling secondary verification ([#1910](https://github.com/timwu20/gossamer/issues/1910)) ([cd27ae4](https://github.com/timwu20/gossamer/commit/cd27ae4b13327ef3c9f7af26424587a94dd4896d)) +* **lib/grandpa:** fully verify justifications using GrandpaState ([#1544](https://github.com/timwu20/gossamer/issues/1544)) ([028d25e](https://github.com/timwu20/gossamer/commit/028d25e72e5a3c32380f929d0db11ac4e874af37)) +* **lib/grandpa:** Include equivocatory nodes while creating justification ([#1911](https://github.com/timwu20/gossamer/issues/1911)) ([aca86b6](https://github.com/timwu20/gossamer/commit/aca86b6967a416b321a4b191e69f7c7e14c40b26)) +* **lib/grandpa:** send NeighbourMessage to peers ([#1558](https://github.com/timwu20/gossamer/issues/1558)) ([322ccf9](https://github.com/timwu20/gossamer/commit/322ccf9cf5fe18cc83ec05a5490ec250bd028f14)) +* **lib/runtime/wasmer:** implement ext_default_child_storage_storage_kill_version_3 ([#1878](https://github.com/timwu20/gossamer/issues/1878)) ([a719a60](https://github.com/timwu20/gossamer/commit/a719a601105f39899098e9e6f556470507573491)) +* **lib/runtime/wasmer:** implement ext_offchain_local_storage_version_1 ([#1821](https://github.com/timwu20/gossamer/issues/1821)) ([0f63b17](https://github.com/timwu20/gossamer/commit/0f63b17a5a591fd9fd7b3213861e773a9b443878)) +* **lib/runtime:** Implement `ext_offchain_http_request_add_header_version_1` host function ([#1994](https://github.com/timwu20/gossamer/issues/1994)) ([0a30b3d](https://github.com/timwu20/gossamer/commit/0a30b3dd9c040b59a4f5539b410367cbafa5a79b)) +* **lib/runtime:** Implement `ext_offchain_http_request_start_version_1` host function ([#1947](https://github.com/timwu20/gossamer/issues/1947)) ([974b1fc](https://github.com/timwu20/gossamer/commit/974b1fc795ca5639ee88936ce1293a9bcfc55805)) +* **lib/runtime:** Implement `trie_blake2_256_verify_proof` host function ([#1920](https://github.com/timwu20/gossamer/issues/1920)) ([506565d](https://github.com/timwu20/gossamer/commit/506565d245f0943a8e884c41e43bc7ca80fece0c)) +* **lib/trie:** Implement `verify_proof` function ([#1883](https://github.com/timwu20/gossamer/issues/1883)) ([67bb5ef](https://github.com/timwu20/gossamer/commit/67bb5efa6e600ff2e0c25ad035e85e1a34224d51)) +* **lib/trie:** Implement limit for trie.ClearPrefix ([#1905](https://github.com/timwu20/gossamer/issues/1905)) ([becec9e](https://github.com/timwu20/gossamer/commit/becec9eea0f4602e92f4bd4adfec943d3bc8d2b9)) +* **lib/trie:** Parallel hash trie. ([#1657](https://github.com/timwu20/gossamer/issues/1657)) ([22827e7](https://github.com/timwu20/gossamer/commit/22827e7e39594725cc1bb141918f7dcb836e1748)) +* **pprof:** Pprof HTTP server service ([#1991](https://github.com/timwu20/gossamer/issues/1991)) ([ce24ea9](https://github.com/timwu20/gossamer/commit/ce24ea94b2f3022b6c9382670132e2943b465efa)) +* **rpc/subscription:** implement state_unsubscribeStorage ([#1574](https://github.com/timwu20/gossamer/issues/1574)) ([7574f10](https://github.com/timwu20/gossamer/commit/7574f10e29eb4a130a0cc6356febcd88509570a8)) +* **rpc:** Implement `childstate_getChildStorage` RPC call ([#1832](https://github.com/timwu20/gossamer/issues/1832)) ([3d949f2](https://github.com/timwu20/gossamer/commit/3d949f2eba8a4e9c65362d65dfebd5c37a99fe2a)) +* **rpc:** Implement `childstate_getStorageHash` RPC call ([#1805](https://github.com/timwu20/gossamer/issues/1805)) ([e539bd3](https://github.com/timwu20/gossamer/commit/e539bd3db8e0fc0a6a96b881e0edf7d9cabe418d)) +* **rpc:** Implement `childstate_getStorageSize` RPC call ([#1810](https://github.com/timwu20/gossamer/issues/1810)) ([a04deb6](https://github.com/timwu20/gossamer/commit/a04deb6b058504e7855990eb20bb30ce25ae1a86)) +* **rpc:** Implement `payment_queryInfo` RPC call ([#1826](https://github.com/timwu20/gossamer/issues/1826)) ([7a5deec](https://github.com/timwu20/gossamer/commit/7a5deec2159dcd9910aebecacaea3257abfde3cc)) +* **rpc:** Implement `state_getReadProof` rpc call ([#1768](https://github.com/timwu20/gossamer/issues/1768)) ([865f80f](https://github.com/timwu20/gossamer/commit/865f80f6145699d49068f600e96ec8bc814cd150)) +* **runtime:** implement custom logging handler that print function name ([#1825](https://github.com/timwu20/gossamer/issues/1825)) ([2b1276d](https://github.com/timwu20/gossamer/commit/2b1276d6af1f8e6cd5a6fefe55de86f43e962591)) +* **telemetry:** send telemetry messages when GRANDPA receieves commit or vote messages ([#2015](https://github.com/timwu20/gossamer/issues/2015)) ([7bf40e1](https://github.com/timwu20/gossamer/commit/7bf40e159cf11ae4e3486a136da21848a533d0da)), closes [#1840](https://github.com/timwu20/gossamer/issues/1840) [#1839](https://github.com/timwu20/gossamer/issues/1839) [#1838](https://github.com/timwu20/gossamer/issues/1838) +* **telemetry:** send txpool.import telemetry msg ([#1966](https://github.com/timwu20/gossamer/issues/1966)) ([ffc81bf](https://github.com/timwu20/gossamer/commit/ffc81bf25e2c411ab23e9a6116007e106cc3a4a7)) + + +### Reverts + +* Revert "feat(dot/rpc) implement `author_hasSessionKeys` RPC call (#1704)" (#1714) ([65380fd](https://github.com/timwu20/gossamer/commit/65380fdc78c5439a012adefd73cbe4c38f3cd1cf)), closes [#1704](https://github.com/timwu20/gossamer/issues/1704) [#1714](https://github.com/timwu20/gossamer/issues/1714)