Skip to content

Commit daebbfa

Browse files
authored
rm more Snap sync code (#3047)
* rm more Snap sync code * clean up snap1
1 parent 796c2f7 commit daebbfa

File tree

6 files changed

+34
-469
lines changed

6 files changed

+34
-469
lines changed

hive_integration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a short manual to help you quickly setup and run
44
Hive. For more detailed information please read the
55
[hive documentation](https://github.com/ethereum/hive/blob/master/docs/overview.md).
66

7-
## Prerequisities
7+
## Prerequisites
88

99
- A Linux machine. Trust me, it does not work on Windows or MacOS.
1010
- Or Linux inside a VM (e.g. VirtualBox) on Windows or MacOS.

nimbus/config.nim

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,13 +495,12 @@ type
495495
name: "engine-api-ws" .}: bool
496496

497497
allowedOrigins* {.
498-
desc: "Comma separated list of domains from which to accept cross origin requests"
498+
desc: "Comma-separated list of domains from which to accept cross origin requests"
499499
defaultValue: @[]
500500
defaultValueDesc: "*"
501501
name: "allowed-origins" .}: seq[string]
502502

503-
# github.com/ethereum/execution-apis/
504-
# /blob/v1.0.0-alpha.8/src/engine/authentication.md#key-distribution
503+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-beta.4/src/engine/authentication.md#key-distribution
505504
jwtSecret* {.
506505
desc: "Path to a file containing a 32 byte hex-encoded shared secret" &
507506
" needed for websocket authentication. By default, the secret key" &

nimbus/db/aristo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ database, the above architecture mutates to
433433

434434
When looked at descriptor API there are no changes when accessing data via
435435
*db1*, *db2*, or *db3*. In a different, more algebraic notation, the above
436-
tansformation is written as
436+
transformation is written as
437437

438438
| tx1, ø | (8)
439439
| tx2, ø | PBE

nimbus/sync/protocol.nim

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nimbus
2-
# Copyright (c) 2021-2024 Status Research & Development GmbH
2+
# Copyright (c) 2021-2025 Status Research & Development GmbH
33
# Licensed and distributed under either of
44
# * MIT license (license terms in the root directory or at
55
# https://opensource.org/licenses/MIT).
@@ -11,43 +11,20 @@
1111
## Provision of `eth` and `snap` protocol version parameters
1212
##
1313
## `Eth` related parameters:
14-
## `ethVersions`: seq[int] -- constant list of all available versions
1514
## `eth` -- type symbol of default version
1615
## `proto_eth` -- export of default version directives
1716
##
18-
## `Snap` related parameters:
19-
## `snap` -- type symbol of default version
20-
## `proto_snap` -- export of default version directives
21-
## ..aliases.. -- type names, syntactic sugar (see below)
22-
##
17+
18+
{.push raises: [].}
2319

2420
import
2521
./protocol/eth68 as proto_eth
2622

2723
type eth* = eth68
2824

29-
# ---------------
30-
3125
import
3226
./protocol/snap1 as proto_snap
3327

3428
export
3529
proto_eth,
3630
proto_snap
37-
38-
type
39-
snap* = snap1
40-
41-
SnapAccountRange* = accountRangeObj
42-
## Syntactic sugar, type defined in `snap1`
43-
44-
SnapStorageRanges* = storageRangesObj
45-
## Ditto
46-
47-
SnapByteCodes* = byteCodesObj
48-
## Ditto
49-
50-
SnapTrieNodes* = trieNodesObj
51-
## Ditto
52-
53-
# End

nimbus/sync/protocol/snap/snap_types.nim

Lines changed: 0 additions & 225 deletions
This file was deleted.

0 commit comments

Comments
 (0)