This release focuses on Standalone DB and database configs.
This version is backwards compatible to v0.6.0. It is optional, but encouraged.
The plugin version is unchanged at 37 and is compatible with AvalancheGo versions v1.11.12.
Updates
- Added Standalone DB creation in chain data directory (
~/.avalanchego/chainData/{chain-ID}/db/
). Subnet-EVM will create seperate databases for chains by default if there is no accepted blocks previously (#1354) - Refactored Warp Backend to support new payload types (#1292)
- Refactored TrieDB reference root configuration (#1366)
- Bumped AvalancheGo dependency to v1.11.12
- Bumped minimum Golang version to v1.22.8
Configs
- Added following new database options:
"use-standalone-database"
(bool
): If true it enables creation of standalone database. If false it uses the GRPC Database provided by AvalancheGo. Default is nil and creates the standalone database only if there is no accepted block in the AvalancheGo database (node has not accepted any blocks for this chain)"database-type"
(string
): Specifies the type of database to use. Must be one ofpebbledb
,leveldb
ormemdb
. memdb is an in-memory, non-persisted database. Default ispebbledb
"database-config-file"
(string
): Path to the database config file. Config file is changed for every database type. See docs for available configs per database type. Ignored if --config-file-content is specified"database-config-file-content"
(string
): As an alternative todatabase-config-file
, it allows specifying base64 encoded database config content"database-path"
(string
): Specifies the directory to which the standalone database is persisted. Defaults to "$HOME/.avalanchego/chainData/{chainID}
""database-read-only"
(bool
) : Specifies if the standalone database should be a read-only type. Defaults to false
Fixes
- Fixed Eth upgrade mapping with Avalanche upgrades in genesis (#1356)
- Fixed transaction size tracking in worker environment (#1358)
- Fixed a rare case of VM's shutting down ends up panicking in RPC server (#1361)
What's Changed
- [testing] Fix image build validation for unmerged avalanchego commit by @marun in #1349
- windows ci: remove cr before comparing to known_flakes.txt by @darioush in #1319
- fix ci: linux ci doesn't have dos2unix by @darioush in #1352
- set timestamps in chain config by @darioush in #1353
- fix setting eth upgrades in genesis storedcfg by @darioush in #1356
- uptime: update avalanchego dep branch by @ceyonur in #1348
- track env size by @ceyonur in #1358
- stop RPC servers in shutdown by @darioush in #1361
- Types and refactoring for ACP-77 ValidatorUptime messages by @darioush in #1292
- remove memsize by @darioush in #1365
- fix chainID in TestWaitDeployedCornerCases by @darioush in #1364
- use triedb config for reference root by @darioush in #1366
- Fix stale link by @yacovm in #1368
- add standalone dbs and configs by @ceyonur in #1354
- bump versions by @ceyonur in #1370
New Contributors
Full Changelog: v0.6.10...v0.6.11