-
Notifications
You must be signed in to change notification settings - Fork 33
Changelog Runtime
user_name edited this page Jun 29, 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.
- Add a new ServiceConfig field to servicer config
- Rename package import types to coreTypes for consitency and clarity
- Append "Hostname" to validator endpoint hostname constants
- Promoted string literal to
RandomValidatorEndpointK8SHostname
constant
- Adds fisherman and servicer proto configurations.
- Renames actor hostnames
- Add an Address field to Servicer configuration
- Add a default servicer configuration
- Added a new ServicerConfig type
- Renamed
P2PConfig#MaxMempoolCount
toP2PConfig#MaxNonces
- Renamed
DefaultP2PMaxMempoolCount
toDefaultP2PMaxNonces
- Add
network_id
field to the configs and give the default value of"localnet"
- Consolidated files for defaults together
- Updated
BlocksPerSession
default to 1 - Added an ability to add options to the
NewGenesisState
helper for more thorough testing
- Removed unneeded
use_rain_tree
P2P config field
- Changed
Validator1EndpointK8S
which now reflects the new value.
- Removed
runtime/configs.Config#UseLibp2p
field
- Add persistent txIndexerPaths to node configs and update tests
- Add comment regarding KeybaseConfig proto design.
- Update
genesis.proto
to addowner
tags to all governance parameters
- Updated to reflect pools address changes
- Update the configurations for postgres pooling
- Adds keybase_config.proto
- Updated defaults to be
const
instead ofvar
where applicable
- replace
consensus_port
withport
in P2P config - update default P2P config
port
to from8080
to42069
- add
use_libp2p
field to base config - add
hostname
field to P2P config
- Rename
app_staking_adjustment
toapp_session_tokens_multiplier
- Remove
app_baseline_stake_rate
- Rename
keygenerator
tokeygen
- Rename ServiceNode Actor Type Name to Servicer
- Added
bootstrap_nodes_csv
inP2PConfig
to allow for a comma separated list of bootstrap nodes
- Added validator accounts from the genesis file to the
manager_test.go
- Nits: variables visibility, comments
- Introduced
modules.ModulesRegistry
for better separation of concerns - Added
StateMachineModule
accessors -
Manager
embedsbase_modules.IntegratableModule
for DRYness
- Added
IsProcessRunningInsideKubernetes
and centralizedGetEnv
so that it can be used across the board
- Move shared utils (e.g.
BitIngToString
) to theconverters
package - Remove
CleanupTest
- 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