Commit b30864b
feat(chain): Upgradability functionality (#2701)
* Adding nightly test for upgradability: checks that after proper number of epochs active protocol versoins match
* Pipe protocol version via epoch manager/runtime
* Working on weaving upgradable block headers
* Make updatable BlockHeader compile.
* Adding support for legacy communication protocl
* Fix up networking to use oldest backward compatible version
* Update sample genesis to use latest protocol, while adding marker for first backward compatible one
* Remove backward compatibility. Bring protocol version from epoch manager to client
* Adding database version for future migrations
* Update rocksdb to 0.14
* Adding migration and update sample json
* Fix merge conflict
* Make Block data structure upgradable
* Version tracking in the epoch manager
* Bump protocol version after merge
* Current protocol version in status request
* Bump 0.6.2 & use Box
* Move migration to the right place
* Fix up merge conflicts
* Fix comments
* Reset Cargo.lock to master
Co-authored-by: Alexander Skidanov <skidanov.alexander@gmail.com>1 parent 29a5bf8 commit b30864b
92 files changed
Lines changed: 2419 additions & 2088 deletions
File tree
- chain
- chain
- src
- store_validator
- tests
- chunks
- src
- client
- src
- tests
- epoch_manager
- src
- jsonrpc
- tests
- network
- src
- tests/runner
- pool
- core
- chain-configs/src
- crypto
- primitives
- benches
- src
- store
- src
- genesis-tools
- genesis-csv-to-json/src
- genesis-populate
- src
- neard
- res
- src
- tests
- nightly
- pytest
- empty-contract-rs
- lib
- tests/sanity
- runtime
- near-vm-errors
- runtime-params-estimator
- runtime
- scripts/migrations
- test-utils
- loadtester
- src
- state-viewer/src
- testlib
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments