Skip to content

Changelog Runtime

user_name edited this page Feb 17, 2023 · 28 revisions

Changelog

All notable changes to this module will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.0.0.19] - 2023-02-17

  • Introduced modules.ModulesRegistry for better separation of concerns
  • Added StateMachineModule accessors
  • Manager embeds base_modules.IntegratableModule for DRYness

[0.0.0.18] - 2023-02-16

  • Added IsProcessRunningInsideKubernetes and centralized GetEnv so that it can be used across the board

[0.0.0.17] - 2023-02-14

  • Move shared utils (e.g. BitIngToString) to the converters package
  • Remove CleanupTest

[0.0.0.16] - 2023-02-09

  • Update runtime consensus config with bool server mode variable
  • Update manager test

[0.0.0.15] - 2023-02-07

  • Added GITHUB_WIKI tags where it was missing

[0.0.0.14] - 2023-02-06

  • Address legacy linter errors from golangci-lint

[0.0.0.13] - 2023-02-06

  • Added additional logging information to be able to tell which config file contains an error
  • Changed hardcoded addresses and public keys to reflect new addresses pattern from LocalNet on Kubernetes

[0.0.0.12] - 2023-02-04

  • Changed log lines to utilize new logger module.

[0.0.0.11] - 2023-02-03

  • Updated to display the warning message about the telemetry module not registered only once

[0.0.0.10] - 2023-01-25

  • move ConnectionType enum into its own package to avoid a cyclic import between configs and defaults packages (i.e. configs -> defaults -> configs) in the resulting, generated go package
  • update makefile protogen_local target to build additional proto file and include it in the import path for runtime/configs/proto/p2p_config.proto
  • replace P2PConfig#IsEmptyConnectionType bool with P2PConfig#ConnectionType enum
  • replace DefaultP2PIsEmptyConnectionType bool with DefaultP2PConnectionType enum

[0.0.0.9] - 2023-01-23

  • Updated README.md with information about node profiling

[0.0.0.8] - 2023-01-19

  • Rewrite interface{} to any

[0.0.0.7] - 2023-01-14

  • Added MaxConnsCount, MinConnsCount, MaxConnLifetime, MaxConnIdleTime, and HealthCheckPeriod to persistence config.

[0.0.0.6] - 2023-01-11

  • Updated tests to reflect the updated genesis file

[0.0.0.5] - 2023-01-10

  • Updated modules constructor to accept a bus and not a runtimeMgr anymore
  • Registering modules with the bus via RegisterModule method
  • Providing Dependency Injection functionality via bus
  • Updated tests and mocks accordingly

[0.0.0.4] - 2023-01-09

  • Added 'is_client_only' to P2PConfig

[0.0.0.3] - 2023-01-03

  • Split testing/development configs into separate files
  • Centralized NewDefaultConfig logic with options used by the config generator
  • Refactored Params handling, not hardcoded anymore but sourced from genesis

[0.0.0.2] - 2022-12-21

  • Centralized config handling into a config package
  • Config protos from the various modules are now in the config package
  • Removed the BaseConfig struct
  • Removed overlapping parts in PersistenceGenesisState and ConsensusGenesisState and consolidated under a single GenesisState struct
  • Updated tests to use the new config and genesis handling
  • Introduced a singleton keyGenerator capable of generating keys randomly or deterministically (#414)

[0.0.0.1] - 2022-12-14

  • Added DefaultP2PMaxMempoolCount

[0.0.0.0] - 2022-09-30

#235 Config and genesis handling

  • Abstracted config and genesis handling
  • Mockable runtime
  • Refactored all modules to use RuntimeMgr
  • Updated RuntimeMgr to manage clock as well
  • Modules now accept interfaces instead of paths.
  • Unmarshalling is done in a new runtime package (runtime because what we do in there affects the runtime of the application)
  • We are now able to accept configuration via environment variables (thanks to @okdas for inspiration and sp13 for Viper)
Clone this wiki locally