-
Notifications
You must be signed in to change notification settings - Fork 33
Changelog Runtime
user_name edited this page Feb 14, 2023
·
28 revisions
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.
- Update runtime consensus config with bool server mode variable
- Update manager test
- Added GITHUB_WIKI tags where it was missing
- Address legacy linter errors from
golangci-lint
- 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
- Changed log lines to utilize new logger module.
- Updated to display the warning message about the telemetry module not registered only once
- 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 withP2PConfig#ConnectionType
enum - replace
DefaultP2PIsEmptyConnectionType
bool withDefaultP2PConnectionType
enum
- Updated README.md with information about node profiling
- Rewrite
interface{}
toany
- Added MaxConnsCount, MinConnsCount, MaxConnLifetime, MaxConnIdleTime, and HealthCheckPeriod to persistence config.
- Updated tests to reflect the updated genesis file
- Updated modules constructor to accept a
bus
and not aruntimeMgr
anymore - Registering modules with the
bus
viaRegisterModule
method - Providing Dependency Injection functionality via
bus
- Updated tests and mocks accordingly
- Added 'is_client_only' to
P2PConfig
- 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
- 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
andConsensusGenesisState
and consolidated under a singleGenesisState
struct - Updated tests to use the new config and genesis handling
- Introduced a singleton
keyGenerator
capable of generating keys randomly or deterministically (#414)
- Added
DefaultP2PMaxMempoolCount
#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)
Contents
- Home
- Persistence
- Changelog
-
Persistence
- Indexer
- Rpc
- Runtime
- State_Machine
-
Guides
- Roadmap
-
Guides
- Learning
- Guides
-
Guides
- Contributing
- Devlog
-
Guides
- Dependencies
-
Guides
- Releases
- Guides
- P2P
-
Shared
- Crypto
- Shared
-
Shared
- Modules
-
Build
- Config
- Consensus
-
Guides
- Telemetry
- Utility
- Logger