mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 22:06:21 +00:00
f19a497eec
* ncli_db: add putState, putBlock These tools allow modifying an existing nimbus database for the purpose of recovery or reorg, moving the head, tail and genesis to arbitrary points. * remove potentially expensive `putState` in `BeaconStateDB` * introduce `latest_block_root` which computes the root of the latest applied block from the `latest_block_header` field (instead of passing it in separately) * avoid some unnecessary BeaconState copies during init * discover https://github.com/nim-lang/Nim/issues/19094 * prefer `HashedBeaconState` in a few places to avoid recomputing state root * fetch latest block root from state when creating blocks * harden `get_beacon_proposer_index` against invalid slots and document * move random spec function tests to `test_spec.nim` * avoid unnecessary state root computation before block proposal
52 lines
691 B
Plaintext
52 lines
691 B
Plaintext
nimcache/
|
|
|
|
# Executables shall be put in an ignored build/ directory
|
|
build/
|
|
|
|
# Nimble packages
|
|
/vendor/.nimble
|
|
|
|
# ntags/ctags output
|
|
/tags
|
|
|
|
# vscode
|
|
.vscode
|
|
|
|
# Each developer can create a personal .env file with
|
|
# local settings overrides (e.g. WEB3_URL)
|
|
.env
|
|
|
|
# Ignore dynamic, static libs and libtool archive files
|
|
*.so
|
|
*.dylib
|
|
*.a
|
|
*.la
|
|
*.exe
|
|
*.dll
|
|
*.su
|
|
|
|
/scripts/testnet*.sh
|
|
|
|
# State sim # TODO - move in another folder
|
|
0000-*.json
|
|
*.ssz
|
|
*.log
|
|
*.sqlite3
|
|
*.sqlite3-shm
|
|
*.sqlite3-wal
|
|
|
|
/local_testnet_data*/
|
|
/local_testnet*_data*/
|
|
|
|
# Prometheus db
|
|
/data
|
|
# Grafana dashboards
|
|
/docker/*.json
|
|
|
|
# generated during Nim compilation
|
|
*.nim.generated.nim
|
|
|
|
/dist
|
|
/benchmark_results
|
|
/.update.timestamp
|