Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Dec 20:36

0.6.0 (2021-12-06)

Bug Fixes

  • ci: add missing go-version matrix to fix development branch CI (#2037) (dfc6ce6)
  • cmd/cfg: Use Babe Lead value from toml config (#2032) (406d083)
  • confirm block import notifier is closed properly (#1736) (ce4b9d7)
  • docs: improve build-spec usage docs (#1706) (65b4753)
  • dot/core: Add only extrinsic during chain reorg. (#1609) (16340ef)
  • dot/core: Batch process transaction message. (#1780) (3d209a3)
  • dot/core: check transaction Validity.Propagate field to determine whether to propagate tx (#1643) (81c8f0a)
  • dot/core: Fix handle transaction message test. (#1607) (dca9ad7)
  • dot/network, lib/grandpa: fix handshake decoding and grandpa message handler sigabort (#1631) (b02525b)
  • dot/network, lib/grandpa: fix node sync, improve devnet finality (de91262)
  • dot/network: add nil checks in connManager (#2069) (09e07cf)
  • dot/network: Check for size when decoding leb128. (#1634) (c20a83c)
  • dot/network: check if peer supports protocol (#1617) (fb26dd2)
  • dot/network: decrease DHT find peers interval for gssmr nodes (#1703) (7823c57)
  • dot/network: fix bugs in notifications protocol handlers; add metrics for inbound/outbound streams (#2010) (88174ca)
  • dot/network: fix dht connection on discovery on devnet (#2059) (d9008aa)
  • dot/network: fix discovery between gossamer nodes (#1594) (ec59e3b)
  • dot/network: fix memory allocations with sizedBufferPool (#1963) (ddd96f7)
  • dot/network: Fix missing digest in header (#2092) (6f34b1b)
  • dot/network: fix stream manager tests (#1683) (2b4353c)
  • dot/network: implement a handshake timeout (#1615) (4ab856e)
  • dot/network: Implement time based handle transaction (#1942) (72455d1)
  • dot/network: move low reputation peer removal from network ConnManager to peer scoring logic (dot/peerstate) (#2068) (8ea3d9f), closes #2039
  • dot/network: Return on EOF error while reading stream. (#1733) (a9d32fb)
  • dot/node: Start websocket server only with --ws flag (#1671) (fd43774)
  • dot/state, lib/babe, lib/trie: improve syncing between gossamer authority nodes (#1613) (2e62a3d)
  • dot/state, lib/grandpa: update justification and SignedVote handling in database (#1682) (9dda6b5)
  • dot/state: add StorageState Lock/Unlock API for usage by babe and sync (#1700) (eaf8ba9)
  • dot/state: fix deadlock, fixes bootstrap syncing (#1959) (13c92ea)
  • dot/state: track runtime per-block, fix runtime upgrades differing between forks (#1638) (b31bba5)
  • dot/state: update *state.BlockState.AddBlockToBlockTree to store block in unfinalisedBlocksMap (#2006) (8fac690)
  • dot/sync: add nil header checks (#2099) (abbefce)
  • dot/sync: fix block request and response logic (#1907) (fcfbabe)
  • dot/sync: fix creating block response, fixes node sync between gossamer nodes (#1572) (d2197b0)
  • dot/telemetry: refactor telemetry to reduce CPU usage (#1597) (3445d84)
  • dot/types: *types.Body to be of type []types.Extrinsic (#1807) (953d6f4)
  • dot/types: fix max value for digest (#1687) (13380af)
  • dot: fix TestNewNode (#2070) (87f41ba)
  • fix Kusama sync; add storageState lock in core.HandleTransactionMessage (#1783) (d03f6d1)
  • lib/babe, lib/runtime/wasmer: fixes for v0.9.8+ runtime (#2075) (eb963d3)
  • lib/babe: add --babe-lead flag, update epoch handling logic (#1895) (8a65c7f)
  • lib/babe: add pre-runtime digest before calling initialize_block (#1581) (f0060ae)
  • lib/babe: always use 2/3 of slot to produce block, re-add potentially valid txs to queue (#1679) (b224f10)
  • lib/babe: call AddBlock in BABE synchronously (#1585) (549dc25)
  • lib/babe: fix err log (#1801) (0ab395b)
  • lib/babe: fix setting first slot of network, fix loading BABE epoch params (#1640) (63f73ca)
  • lib/babe: fix timing for transition between epochs (#1636) (e67b1e2)
  • lib/blocktree: fix blocktree bug (#2060) (de8f573)
  • lib/blocktree: fix potential nil pointer dereference in HighestCommonAncestor, core handleBlocksAsync (#1993) (7006320)
  • lib/blocktree: fix setting leaves after blocktree pruning (#1605) (a00f881)
  • lib/blocktree: removes the inconsistency to choose a deepest leaf (#2094) (5210dc0)
  • lib/genesis: Update missing and incorrect fields in genesis file. (#1681) (f00a5a2)
  • lib/grandpa: fix grandpa stall and various bugs (#1708) (fe67586)
  • lib/grandpa: fix grandpa vote message switch (#2095) (8312490)
  • lib/grandpa: fix threshold checking to be strictly greater than 2/3 (#1891) (ed51f97)
  • lib/grandpa: use defaultGrandpaInterval if not set, fixes error on startup (#1982) (84e2005)
  • lib/runtime/life: remove import C from life (#1923) (b93152a)
  • lib/runtime: update HOST_API_TEST_RUNTIME_URL to reference specific commit (#1885) (e6689e8)
  • log-levels: do not ignore configuration file log levels (#2016) (44c9b7a)
  • pending bubble hidden after block included (#1592) (16e7eef)
  • pprof: only run pprof service if enabled (#2073) (f45eff4)
  • rpc/subscription: subscribe runtime version notify when version changes (#1686) (d6e9ab0)
  • Staging CI workflow (#2034) (aaa633c)
  • trie: memory leak fix in lib/trie (#2009) (71a8a4f)
  • update deprecated package (#1603) (ee5a5b6)
  • update gssmr genesis to use pallet_babe::SameAuthoritiesForever (#1696) (281eef2)
  • update HOST_API_TEST_RUNTIME_URL (#1898) (afe350c)
  • utils: create a specific folder for database (#1598) (4720d27)

Features

  • add --chain dev option (#1561) (dc8ee9d)
  • cmd/gossamer: implement --telemetry-url parameter (#1890) (154d6e2), closes #1502
  • cmd: implement offline pruning of state trie (#1564) (d4d61c7)
  • devnet: Local Gossamer Devnet (#2008) (23ce39f)
  • dot/network: implement streamManager to cleanup not recently used streams (#1611) (005932b)
  • dot/peerset: Implement peer scoring (#1791) (05f7e32)
  • dot/rpc/modules: add system_addReservedPeer and system_removeReservedPeer RPC call (#1712) (79c250e)
  • dot/rpc: Add system_localListenAddresses RPC call (#1689) (0d199b5)
  • dot/rpc: Implement childstate_getKeys rpc call (#1800) (c5181ae)
  • dot/rpc: implement sync_state_genSyncSpec RPC call (#1827) (9991a9c)
  • dot/state: implement online pruning of historical state tries (#1596) (31700c6)
  • dot/sync: implement codeSubstitutes (#1635) (1a238b1)
  • dot/telemetry: Added connection retry (#1904) (1c0c5c7)
  • dot/telemetry: Added more telemetry messages in grandpa client (#2043) (7c870a4), closes #1841 #1842
  • dot/telemetry: implement notify.finalized telemetry interface (#1877) (b4e5ded)
  • dot/telemetry: implement substrate_number_leaves metrics (#1926) (847de6a)
  • dot/telemetry: implement telemetry message network_state (#1618) (73e99c9)
  • flags: read log levels from flags (#1953) (abf9f3a)
  • implement ext_default_child_storage_storage_kill_version_2 (#1799) (541f580)
  • implement ext_offchain_index_set_version_1 for wasmer runtime (#1739) (619306d)
  • lib/babe: add check of types.ConfigData.SecondarySlots for disabling secondary verification (#1910) (7bc2e32)
  • lib/grandpa: Include equivocatory nodes while creating justification (#1911) (af7725f)
  • lib/runtime/wasmer: implement ext_default_child_storage_storage_kill_version_3 (#1878) (454689b)
  • lib/runtime/wasmer: implement ext_offchain_local_storage_version_1 (#1821) (01dbffc)
  • lib/runtime: Implement ext_offchain_http_request_add_header_version_1 host function (#1994) (2e722c7)
  • lib/runtime: Implement ext_offchain_http_request_start_version_1 host function (#1947) (4a8598b)
  • lib/runtime: Implement trie_blake2_256_verify_proof host function (#1920) (1bd33a6)
  • lib/trie: Implement verify_proof function (#1883) (68650b7)
  • lib/trie: Implement limit for trie.ClearPrefix (#1905) (9756b2c)
  • lib/trie: Parallel hash trie. (#1657) (22f0b2b)
  • pprof: Pprof HTTP server service (#1991) (5996229)
  • rpc/subscription: implement state_unsubscribeStorage (#1574) (56f594a)
  • rpc: Implement childstate_getChildStorage RPC call (#1832) (4977d06)
  • rpc: Implement childstate_getStorageHash RPC call (#1805) (0e31754)
  • rpc: Implement childstate_getStorageSize RPC call (#1810) (77f3458)
  • rpc: Implement payment_queryInfo RPC call (#1826) (d6e3583)
  • rpc: Implement state_getReadProof rpc call (#1768) (00c4951)
  • runtime: implement custom logging handler that print function name (#1825) (5301ce4)
  • telemetry: send telemetry messages when GRANDPA receieves commit or vote messages (#2015) (90d5577), closes #1840 #1839 #1838
  • telemetry: send txpool.import telemetry msg (#1966) (9f9c213)

Reverts