What's Changed
- Disable block profiler by @zhangchiqing in https://github.com/onflow/flow-go/pull/7215
- [Storage] Close BadgerDB before db init functions return error by @fxamacker in https://github.com/onflow/flow-go/pull/7229
- [Storage] Remove old code in
initBadgerDB()
by @fxamacker in https://github.com/onflow/flow-go/pull/7230
- [Storage] Optimize storing execution receipts in BadgerDB by @fxamacker in https://github.com/onflow/flow-go/pull/7238
- Add Execution, Cadence, and Metering parameters to the Protocol State by @jordanschalm in https://github.com/onflow/flow-go/pull/7020
- [Storage] Optimize speed & memory for generating db keys (BadgerDB and Pebble) by @fxamacker in https://github.com/onflow/flow-go/pull/7243
- update onflow/crypto by @tarakby in https://github.com/onflow/flow-go/pull/7209
- [Access] update websockets cli flag by @peterargue in https://github.com/onflow/flow-go/pull/7253
- [Storage] Discard BadgerDB transaction when iterator is closed by @fxamacker in https://github.com/onflow/flow-go/pull/7254
- Add string function to StateCommitment type, use in place of marshalJSON by @Kay-Zee in https://github.com/onflow/flow-go/pull/7194
- Update build tools to support injection of cadence deploy key by @sjonpaulbrown in https://github.com/onflow/flow-go/pull/6932
- Logging level adjustments by @jordanschalm in https://github.com/onflow/flow-go/pull/7174
- [Access] Only log version control overrides once by @peterargue in https://github.com/onflow/flow-go/pull/7266
- Update to Cadence v1.3.4 and atree v0.10.0 by @turbolent in https://github.com/onflow/flow-go/pull/7261
- Create in-memory transaction storage by @illia-malachyn in https://github.com/onflow/flow-go/pull/7197
- In-memory storage for light tx results and tx results error messages by @illia-malachyn in https://github.com/onflow/flow-go/pull/7205
- Add in-memory storage for events by @illia-malachyn in https://github.com/onflow/flow-go/pull/7207
- Simple leader selection utility by @jordanschalm in https://github.com/onflow/flow-go/pull/7160
- Add in-memory collection storage by @illia-malachyn in https://github.com/onflow/flow-go/pull/7220
- [Access] change list_subscription to list_subscriptions by @illia-malachyn in https://github.com/onflow/flow-go/pull/7317
- Adds bridge to fvm bootstrapping by @joshuahannan in https://github.com/onflow/flow-go/pull/7053
- [Access] Refactor storage collections for access node by @zhangchiqing in https://github.com/onflow/flow-go/pull/7093
- [Storage] Add
Closer
to Batch interface and use it to prevent memory leak (BadgerDB & Pebble) by @fxamacker in https://github.com/onflow/flow-go/pull/7257
- [Storage] Add db Seeker for up to ~50x speedup & ~18x less memory seeking key in range (BadgerDB, Pebble) by @fxamacker in https://github.com/onflow/flow-go/pull/7255
- PoC: Linter for constrained mutation of types by @jordanschalm in https://github.com/onflow/flow-go/pull/7310
- Modify CI to support custom linter plugin by @jordanschalm in https://github.com/onflow/flow-go/pull/7322
- Enable custom
structwrite
linter in CI by @jordanschalm in https://github.com/onflow/flow-go/pull/7326
- Fix bug in bootstrapping duplicate node ID test by @jordanschalm in https://github.com/onflow/flow-go/pull/7333
- Add in-memory registers storage by @illia-malachyn in https://github.com/onflow/flow-go/pull/7233
- Improve remote debugger by @turbolent in https://github.com/onflow/flow-go/pull/7001
- Create pipeline to handle image promotion from private registry to public by @sjonpaulbrown in https://github.com/onflow/flow-go/pull/6826
- [Storage] Fix batch remove in ServiceEvents to use the correct batch (BadgerDB, Pebble) by @fxamacker in https://github.com/onflow/flow-go/pull/7323
- [Storage] Add database multiReader, multiIterator, multiSeeker (BadgerDB, Pebble) by @fxamacker in https://github.com/onflow/flow-go/pull/7320
- [Access] Add support for multi-store reading of collections & transactions in Access Nodes by @fxamacker in https://github.com/onflow/flow-go/pull/7321
- [Access] Add support for multi-store reading of events, lightTransactionResults, etc. (BadgerDB & Pebble) by @fxamacker in https://github.com/onflow/flow-go/pull/7335
- Remove database dependency from consensus builder by @zhangchiqing in https://github.com/onflow/flow-go/pull/7347
- Remove account storage format v2 migration by @turbolent in https://github.com/onflow/flow-go/pull/7344
- Update BN2 Makefile to shift repo cloning & fix pvc deletion by @sjonpaulbrown in https://github.com/onflow/flow-go/pull/7349
- [Storage] Remove unneeded lock in storage Callbacks and document it isn't safe for concurrent use by @fxamacker in https://github.com/onflow/flow-go/pull/7352
- [Storage] Update DB.Reader() API to not return error by @fxamacker in https://github.com/onflow/flow-go/pull/7354
- [Storage] Fix deadlock in batch writes by @zhangchiqing in https://github.com/onflow/flow-go/pull/7341
- Update build workflow to support GitHub App by @sjonpaulbrown in https://github.com/onflow/flow-go/pull/7350
- [Storage] Support NodeDisallowList for db migration by @fxamacker in https://github.com/onflow/flow-go/pull/7361
- [Storage] Refactor to rename blocklist to disallowlist for consistency by @fxamacker in https://github.com/onflow/flow-go/pull/7363
- Improve size check in HexStringToIdentifier by @j1010001 in https://github.com/onflow/flow-go/pull/7346
- Update to Cadence v1.4.0 by @turbolent in https://github.com/onflow/flow-go/pull/7353
- Remove workflows in favor of centralized build workflow by @sjonpaulbrown in https://github.com/onflow/flow-go/pull/7362
- set Pectra upgrade timestamp to Jun 3rd 2025 by @j1010001 in https://github.com/onflow/flow-go/pull/7371
- Localnet hooks for TPS loader by @janezpodhostnik in https://github.com/onflow/flow-go/pull/7165
- Add additional test to check for state commitment changes by @janezpodhostnik in https://github.com/onflow/flow-go/pull/7377
- Reduce state extraction w/o migration by ~29 minutes (~2.5x speedup) by @fxamacker in https://github.com/onflow/flow-go/pull/7373
- Update to and enable EVM Pectra hard-fork by @m-Peter in https://github.com/onflow/flow-go/pull/7328
- updating Pectra upgrade timestamps by @j1010001 in https://github.com/onflow/flow-go/pull/7384
- adding compatibility for v0.41 by @j1010001 in https://github.com/onflow/flow-go/pull/7385
Full Changelog: https://github.com/onflow/flow-go/compare/v0.40.0...v0.41.0-rc.2