Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed 'nimbus' directory and its references to 'execution_chain' #3052

Merged
merged 5 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions .github/workflows/fluffy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ on:
- 'fluffy/**'
- '!fluffy/**.md'
- '!fluffy/docs/**'
- 'nimbus/rpc/hexstrings.nim'
- 'nimbus/rpc/rpc_*.nim'
- 'nimbus/db/**'
- 'execution_chain/rpc/hexstrings.nim'
- 'execution_chain/rpc/rpc_*.nim'
- 'execution_chain/db/**'
- 'vendor/**'
- 'Makefile'
- 'nimbus.nimble'
Expand All @@ -26,9 +26,9 @@ on:
- 'fluffy/**'
- '!fluffy/**.md'
- '!fluffy/docs/**'
- 'nimbus/rpc/hexstrings.nim'
- 'nimbus/rpc/rpc_*.nim'
- 'nimbus/db/**'
- 'execution_chain/rpc/hexstrings.nim'
- 'execution_chain/rpc/rpc_*.nim'
- 'execution_chain/db/**'
- 'vendor/**'
- 'Makefile'
- 'nimbus.nimble'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nimbus_verified_proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- 'nimbus_verified_proxy/**'
- '!nimbus_verified_proxy/**.md'
- '!nimbus_verified_proxy/docs/**'
- 'nimbus/db/**'
- 'execution_chain/db/**'
- 'vendor/**'
- 'Makefile'
- 'nimbus.nimble'
Expand All @@ -27,7 +27,7 @@ on:
- 'nimbus_verified_proxy/**'
- '!nimbus_verified_proxy/**.md'
- '!nimbus_verified_proxy/docs/**'
- 'nimbus/db/**'
- 'execution_chain/db/**'
- 'vendor/**'
- 'Makefile'
- 'nimbus.nimble'
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# Ignore generated C and doc files
nimcache
/nimbus/docs
/execution_chain/docs

/debug*.json
/block*.json
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ ifneq ($(ENABLE_EVMC), 0)
T8N_PARAMS := -d:chronicles_enabled=off
endif

# eth protocol settings, rules from "nimbus/sync/protocol/eth/variables.mk"
# eth protocol settings, rules from "execution_chain/sync/protocol/eth/variables.mk"
NIM_PARAMS := $(NIM_PARAMS) $(NIM_ETH_PARAMS)

#- deletes and recreates "nimbus.nims" which on Windows is a copy instead of a proper symlink
Expand All @@ -211,7 +211,7 @@ $(TOOLS): | build deps rocksdb

nimbus_execution_client: | build deps rocksdb
echo -e $(BUILD_MSG) "build/nimbus_execution_client" && \
$(ENV_SCRIPT) nim c $(NIM_PARAMS) -d:chronicles_log_level=TRACE -o:build/nimbus_execution_client "nimbus/nimbus_execution_client.nim"
$(ENV_SCRIPT) nim c $(NIM_PARAMS) -d:chronicles_log_level=TRACE -o:build/nimbus_execution_client "execution_chain/nimbus_execution_client.nim"

nimbus: nimbus_execution_client
echo "The nimbus target is deprecated and will soon change meaning, use 'nimbus_execution_client' instead"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ cp -a examples/prometheus.yml ../my_metrics/
cd ../my_metrics
prometheus --config.file=prometheus.yml # loads ./prometheus.yml, writes metric data to ./data
# start a fresh Nimbus sync and export metrics
rm -rf ~/.cache/nimbus/db; ./build/nimbus_execution_client --prune:archive --metricsServer
rm -rf ~/.cache/execution_chain/db; ./build/nimbus_execution_client --prune:archive --metricsServer
```

Start the Grafana server. On Gentoo it's `/etc/init.d/grafana start`. Go to
Expand Down
4 changes: 2 additions & 2 deletions examples/decompile_smart_contract.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nimbus
# Copyright (c) 2018-2024 Status Research & Development GmbH
# Copyright (c) 2018-2025 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
# http://www.apache.org/licenses/LICENSE-2.0)
Expand All @@ -8,7 +8,7 @@
# at your option. This file may not be copied, modified, or distributed except
# according to those terms.

import ../nimbus/evm/code_stream, strformat
import ../execution_chain/evm/code_stream, strformat

var c =
CodeStream.init(CodeBytesRef.fromHex("0x6003600202600055").expect("valid code"))
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion nimbus/config.nim → execution_chain/config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const
" Status Research & Development GmbH"

# e.g.:
# nimbus/v0.1.0-abcdef/os-cpu/nim-a.b.c/emvc
# nimbus_execution_client/v0.1.0-abcdef/os-cpu/nim-a.b.c/emvc
# Copyright (c) 2018-2021 Status Research & Development GmbH
NimbusBuild* = "$#\p$#" % [
ClientId,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 14 additions & 14 deletions nimbus/db/README.md → execution_chain/db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,39 +84,39 @@ locations where to start looking at.

* *Aristo DB (driver)*<a name="add"></a>
+ Sources:<br>
./nimbus/db/core_db/backend/aristo_*<br>
./execution_chain/db/core_db/backend/aristo_*<br>

+ Synopsis:<br>
Combines both, the *Kvt* and the *Aristo* driver sub-modules providing an
interface similar to the [legacy DB (concentrator)](#ldc) module.

* *Aristo MPT (driver)*<a name="amd"></a>
+ Sources:<br>
./nimbus/db/aristo*
./execution_chain/db/aristo*

+ Synopsis:<br>
Revamped implementation of a hexary *Merkle Patricia Tree*.

* *Common (concentrator)*<a name="cc"></a>
* Sources:<br>
./nimbus/common*<br>
./execution_chain/common*<br>

* Synopsis:<br>
Collected information for running block chain execution layer
applications.

* *Core DB (API)*<a name="cda"></a>
* Sources:<br>
./nimbus/db/core_db*
./execution_chain/db/core_db*

* Synopsis:<br>
Database abstraction layer. Unless for legacy applications, there should
be no need to reach out to the layers below.

* *EVM (application)*<a name="ea"></a>
+ Sources:<br>
./nimbus/core/executor/*
./nimbus/evm/*
./execution_chain/core/executor/*
./execution_chain/evm/*

+ Synopsis:<br>
An implementation of the *Ethereum Virtual Machine*.
Expand All @@ -140,7 +140,7 @@ locations where to start looking at.

* *Kvt (driver)*<a name="kd"></a>
+ Sources:<br>
./nimbus/db/kvt*
./execution_chain/db/kvt*

+ Synopsis:<br>
Key value table interface for the [Aristo DB (driver)](#add) module.
Expand All @@ -149,7 +149,7 @@ locations where to start looking at.

* *Ledger (API)*<a name="la"></a>
+ Sources:<br>
./nimbus/db/ledger*
./execution_chain/db/ledger*

+ Synopsis:<br>
Abstraction layer for either the [legacy cache (driver)](#lgcd) accounts
Expand All @@ -159,9 +159,9 @@ locations where to start looking at.

* *ledger cache (driver)*<a name="ldcd"></a>
+ Sources:<br>
./nimbus/db/ledger/accounts_ledger.nim<br>
./nimbus/db/ledger/backend/accounts_ledger*<br>
./nimbus/db/ledger/distinct_ledgers.nim
./execution_chain/db/ledger/accounts_ledger.nim<br>
./execution_chain/db/ledger/backend/accounts_ledger*<br>
./execution_chain/db/ledger/distinct_ledgers.nim

+ Synopsis:<br>
Management of accounts and storage data. This is a re-write of the
Expand All @@ -170,7 +170,7 @@ locations where to start looking at.

* *legacy DB (concentrator)*<a name="ldc"></a>
+ Sources:<br>
./nimbus/db/core_db/backend/legacy_*
./execution_chain/db/core_db/backend/legacy_*

+ Synopsis:<br>
Legacy database abstraction. It mostly forwards requests directly to the
Expand All @@ -186,8 +186,8 @@ locations where to start looking at.

* *State DB (concentrator)*<a name="sdc"></a>
+ Sources:<br>
./nimbus/evm/state.nim<br>
./nimbus/evm/types.nim
./execution_chain/evm/state.nim<br>
./execution_chain/evm/types.nim

+ Synopsis:<br>
Integrated collection of modules and methods relevant for the EVM.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nimbus
# Copyright (c) 2018-2024 Status Research & Development GmbH
# Copyright (c) 2018-2025 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# those terms.

import
../nimbus/compile_info
../execution_chain/compile_info

import
std/[os, osproc, strutils, net],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions fluffy/eth_data/era1.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fluffy
# Copyright (c) 2024 Status Research & Development GmbH
# Copyright (c) 2024-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand All @@ -21,7 +21,7 @@ import

from eth/common/eth_types_rlp import rlpHash
from nimcrypto/hash import fromHex
from ../../nimbus/utils/utils import calcTxRoot, calcReceiptsRoot
from ../../execution_chain/utils/utils import calcTxRoot, calcReceiptsRoot

export e2store.readRecord

Expand Down
4 changes: 2 additions & 2 deletions fluffy/eth_data/history_data_json_store.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nimbus - Portal Network
# Copyright (c) 2022-2024 Status Research & Development GmbH
# Copyright (c) 2022-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand All @@ -14,7 +14,7 @@ import
stew/[byteutils, io2],
chronicles,
eth/common/[hashes, blocks, receipts, headers_rlp],
../../nimbus/common/[chain_config, genesis],
../../execution_chain/common/[chain_config, genesis],
../network/history/[history_content, validation/historical_hashes_accumulator]

from eth/common/eth_types_rlp import rlpHash
Expand Down
4 changes: 2 additions & 2 deletions fluffy/rpc/rpc_eth_api.nim
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import
../network/beacon/beacon_light_client,
../version

from ../../nimbus/errors import ValidationError
from ../../nimbus/rpc/filters import headerBloomFilter, deriveLogs
from ../../execution_chain/errors import ValidationError
from ../../execution_chain/rpc/filters import headerBloomFilter, deriveLogs

from eth/common/eth_types_rlp import rlpHash

Expand Down
4 changes: 2 additions & 2 deletions fluffy/rpc/rpc_portal_nimbus_beacon_api.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# nimbus
# Copyright (c) 2024 Status Research & Development GmbH
# Copyright (c) 2024-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand All @@ -11,7 +11,7 @@ import json_rpc/rpcserver, ../network/beacon/beacon_network

export rpcserver

# Nimbus/fluffy specific RPC methods for the Portal beacon network.
# execution_chain/fluffy specific RPC methods for the Portal beacon network.
proc installPortalNimbusBeaconApiHandlers*(rpcServer: RpcServer, n: BeaconNetwork) =
rpcServer.rpc("portal_nimbus_beaconSetTrustedBlockRoot") do(blockRoot: string) -> bool:
let root = Digest.fromHex(blockRoot)
Expand Down
4 changes: 2 additions & 2 deletions fluffy/tests/state_network_tests/state_test_helpers.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Fluffy
# Copyright (c) 2021-2024 Status Research & Development GmbH
# Copyright (c) 2021-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand All @@ -15,7 +15,7 @@ import
eth/p2p/discoveryv5/protocol as discv5_protocol,
eth/p2p/discoveryv5/routing_table,
../../network/wire/[portal_protocol, portal_stream, portal_protocol_config],
../../../nimbus/common/chain_config,
../../../execution_chain/common/chain_config,
../../network/history/[history_content, history_network, history_validation],
../../network/state/[state_content, state_utils, state_network],
../../eth_data/yaml_utils,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nimbus
# Copyright (c) 2023-2024 Status Research & Development GmbH
# Copyright (c) 2023-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand All @@ -12,7 +12,7 @@ import
results,
eth/trie,
eth/common/[addresses, hashes],
../../../nimbus/common/chain_config,
../../../execution_chain/common/chain_config,
../../network/wire/[portal_protocol, portal_stream],
../../network/state/
[state_content, state_network, state_gossip, state_endpoints, state_utils],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nimbus
# Copyright (c) 2023-2024 Status Research & Development GmbH
# Copyright (c) 2023-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand All @@ -13,7 +13,7 @@ import
results,
eth/[trie, trie/db],
eth/common/hashes,
../../../nimbus/common/chain_config,
../../../execution_chain/common/chain_config,
../../network/state/[state_content, state_validation, state_gossip, state_utils],
./state_test_helpers

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nimbus
# Copyright (c) 2023-2024 Status Research & Development GmbH
# Copyright (c) 2023-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand All @@ -13,7 +13,7 @@ import
results,
eth/[trie, trie/trie_defs],
eth/common/[accounts, addresses, hashes],
../../../nimbus/common/chain_config,
../../../execution_chain/common/chain_config,
../../network/state/[state_content, state_validation, state_utils],
./state_test_helpers

Expand Down
Loading
Loading