Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
638eaa8
check when merging to stable (#54)
magick93 Nov 25, 2024
c505900
Add mermaid support for our mdbook (#55)
AgeManning Dec 1, 2024
6baa73d
fix lint `unnecessary_lazy_evaluations` in `build_profile_name` (#60)
dknopik Dec 5, 2024
d0f5aba
cargo update to fix CI (#61)
dknopik Dec 6, 2024
04176ae
Add Anchor Processor (#57)
dknopik Dec 9, 2024
b226486
Windows shutdown (#68)
magick93 Dec 10, 2024
4182bf6
New `ssv_types` (#69)
Zacholme7 Dec 12, 2024
6ec4b6a
Enforce alphabetically ordered cargo deps (#71)
dknopik Dec 16, 2024
3e023ac
Add gossipsub behaviour (#70)
diegomrsantos Dec 17, 2024
99a5004
Docker build and push - part 1 (#56)
magick93 Dec 19, 2024
e15bdb4
Add discv5 (#72)
diegomrsantos Jan 2, 2025
4c6e712
Move QBFT crate (#85)
dknopik Jan 8, 2025
f0c1d1d
`NetworkDatabase` impl with new `ssv_types` system (#67)
Zacholme7 Jan 9, 2025
2d7ddd3
switch to `anchor` branch for LH dependencies for now (#86)
dknopik Jan 10, 2025
26ecef6
create signature collector and make processor stateless (#76)
dknopik Jan 10, 2025
36a2b63
resort accidentally shuffled deps (#87)
dknopik Jan 10, 2025
927587a
Point to anchor branch again (#89)
dknopik Jan 10, 2025
ed769d8
installation.md (#93)
magick93 Jan 13, 2025
089f79a
Execution integration (#59)
Zacholme7 Jan 13, 2025
9389ccd
Add QBFT manager (#77)
dknopik Jan 14, 2025
2e838d8
Duty services (#73)
dknopik Jan 14, 2025
e967107
Ensure the "workspace.dependencies" table is sorted (#97)
dknopik Jan 16, 2025
71bdc41
Remove `ssv_types` dependency on `qbft` (#105)
Zacholme7 Jan 16, 2025
f7627b3
Subnet search (#79)
diegomrsantos Jan 16, 2025
3cd5894
Subscribe to topic and decode SignedSSVMessage (#80)
diegomrsantos Jan 20, 2025
0232bf5
Qbft tests (#94)
Zacholme7 Jan 20, 2025
49f69c0
add signature collector cleanup (#107)
dknopik Jan 20, 2025
a9c284a
Add lockbud to CI (#83)
eserilev Jan 22, 2025
d1a55fb
Update lh deps (#110)
dknopik Jan 22, 2025
5cc2376
wire up everything (#109)
dknopik Jan 24, 2025
913e657
`blst` lagrange interpolation (#95)
dknopik Jan 31, 2025
2a38c63
Qbft new messages (#111)
Zacholme7 Feb 3, 2025
3fecd62
use PublicKeyBytes instead of PublicKey (#118)
dknopik Feb 3, 2025
933de9a
cargo update, and update compatible breaking changes (#120)
dknopik Feb 4, 2025
2ce1450
disable CI cache due to build issues on repeated builds (#124)
dknopik Feb 4, 2025
5afc8f9
Lock database state globally and implement state watching (#117)
dknopik Feb 4, 2025
2c220a4
Subnet service (#115)
dknopik Feb 5, 2025
b2e5164
add `ssv_network_config` for configurable networks (#121)
dknopik Feb 5, 2025
dbb1446
Qbft justifications (#122)
Zacholme7 Feb 6, 2025
1ec22bd
Remove `faulty` field from database and add calculating function inst…
dknopik Feb 10, 2025
35a5f23
Ignore warn log when historical syncing (#132)
Zacholme7 Feb 11, 2025
0978e19
Qbft testing (#128)
Zacholme7 Feb 11, 2025
72b2c24
QBFT Message Signing (#134)
Zacholme7 Feb 12, 2025
981eb80
start on key splitter
Zacholme7 Feb 13, 2025
afa6c0d
Implement SSV Handshake Protocol (#125)
diegomrsantos Feb 14, 2025
0cdb9bb
Commit aggregation (#136)
Zacholme7 Feb 14, 2025
423df87
wip
Zacholme7 Feb 14, 2025
ed9a7da
merge
Zacholme7 Feb 14, 2025
59e4349
Domain type in discovery (#140)
diegomrsantos Feb 14, 2025
fdba58d
Qbft cleanup (#131)
Zacholme7 Feb 14, 2025
f50c223
read in keystore file
Zacholme7 Feb 14, 2025
d7e788e
wip
Zacholme7 Feb 14, 2025
f5c09c8
Signature mismatch fix (#142)
Zacholme7 Feb 17, 2025
bf2fed5
fix mdbook CI (#143)
dknopik Feb 17, 2025
7378fc0
Handshake followup (#138)
dknopik Feb 17, 2025
89c7dca
Merge branch 'unstable' into keysplitter
Zacholme7 Feb 17, 2025
d01d6d9
deduplicate types and redundant impls (#144)
dknopik Feb 17, 2025
a02ceb0
Merge branch 'unstable' into keysplitter
Zacholme7 Feb 17, 2025
e2d419a
crypto
Zacholme7 Feb 17, 2025
43fbf31
wip
Zacholme7 Feb 17, 2025
3d013a2
cleanup
Zacholme7 Feb 17, 2025
7ed622e
impl error
Zacholme7 Feb 18, 2025
fff476e
Make QBFT and signature collection managers nongeneric (#146)
dknopik Feb 18, 2025
cca7076
Fix handshake network mismatch (#145)
diegomrsantos Feb 18, 2025
dd88456
bubblegum impl
Zacholme7 Feb 18, 2025
4e4af57
wip
Zacholme7 Feb 18, 2025
d7a52c2
dirty working version
Zacholme7 Feb 18, 2025
e1c8ab0
cleanup
Zacholme7 Feb 18, 2025
045b7af
cleanup
Zacholme7 Feb 18, 2025
eca2089
Merge branch 'unstable' into keysplitter
Zacholme7 Feb 18, 2025
9fcf59a
fmt and sort
Zacholme7 Feb 18, 2025
47c8fc4
remove unused dep
Zacholme7 Feb 18, 2025
1648e15
Decided msg handling (#139)
Zacholme7 Feb 19, 2025
1d1991f
Sync error handling (#133)
Zacholme7 Feb 19, 2025
bac0144
merge
Zacholme7 Feb 19, 2025
33e90ce
revert sync for now
Zacholme7 Feb 19, 2025
3958faa
Improve network error handling (#148)
diegomrsantos Feb 19, 2025
62211a3
nits
Zacholme7 Feb 19, 2025
709cc2d
fmt
Zacholme7 Feb 19, 2025
3333e2d
spelling
Zacholme7 Feb 19, 2025
c5b60ee
Merge branch 'unstable' into keysplitter
Zacholme7 Feb 19, 2025
63cd485
rought draft for onchain sync
Zacholme7 Feb 19, 2025
5edb56e
rough draft onchain
Zacholme7 Feb 19, 2025
bf43d71
working onchain sync!
Zacholme7 Feb 19, 2025
982f860
nits
Zacholme7 Feb 19, 2025
8c06f40
ci
Zacholme7 Feb 19, 2025
7ba6930
keygen to keysplit
Zacholme7 Feb 19, 2025
aef494d
better errors
Zacholme7 Feb 19, 2025
f027e46
prepare types for network queueing system (#151)
dknopik Feb 20, 2025
8d2ae13
Basic peer manager based on libp2p `peer_store` and `connection_limit…
dknopik Feb 20, 2025
120d698
merge
Zacholme7 Feb 20, 2025
6d66b5a
verify and small nits
Zacholme7 Feb 20, 2025
27fe175
fix error
Zacholme7 Feb 20, 2025
ff071e8
fix db path
Zacholme7 Feb 20, 2025
e655fcd
testing
Zacholme7 Feb 20, 2025
58efbc0
initial
Zacholme7 Feb 21, 2025
9ca6e00
keygen
Zacholme7 Feb 21, 2025
aaec9b3
sort
Zacholme7 Feb 21, 2025
f11a7d5
writing to file
Zacholme7 Feb 21, 2025
a19f39f
json output
Zacholme7 Feb 21, 2025
ec900c6
support pbkdf2
Zacholme7 Feb 26, 2025
9f46e35
unused dep
Zacholme7 Feb 26, 2025
600faca
port fix (#155)
Zacholme7 Feb 27, 2025
ba00d9c
Merge branch 'unstable' into onchain-split
Zacholme7 Feb 27, 2025
2fd87d2
Merge branch 'unstable' into rsa-keygen
Zacholme7 Feb 27, 2025
8c7d503
fix pr commentsg
Zacholme7 Feb 27, 2025
25615e7
initial
Zacholme7 Feb 21, 2025
8515461
keygen
Zacholme7 Feb 21, 2025
b9ee7eb
sort
Zacholme7 Feb 21, 2025
56b34be
writing to file
Zacholme7 Feb 21, 2025
417679a
json output
Zacholme7 Feb 21, 2025
8093c29
Merge branch 'rsa-keygen' of github.com:Zacholme7/anchor into rsa-keygen
Zacholme7 Feb 27, 2025
2b78e41
make discv5 listen as specified in the config (#162)
dknopik Feb 28, 2025
efe4d77
create common component for message serialization and signing (#153)
dknopik Feb 28, 2025
056c70a
fix committee id computation (#157)
dknopik Feb 28, 2025
cb8c571
fix merge
Zacholme7 Feb 28, 2025
bd570bb
move from anchor to node
Zacholme7 Feb 28, 2025
ea83455
hex encoding keys before encryption
Zacholme7 Feb 28, 2025
a2cd71b
keygen with new headers
Zacholme7 Mar 3, 2025
b23c8e5
fmt
Zacholme7 Mar 3, 2025
5975bb2
merge
Zacholme7 Mar 3, 2025
f535b4d
fix comment
Zacholme7 Mar 3, 2025
b2debb6
Message sending for Signature Collector (#159)
dknopik Mar 4, 2025
35afec9
Add discovery related options to the CLI (#165)
dknopik Mar 4, 2025
7e66345
Add domain to ENR and correct checking (#164)
dknopik Mar 4, 2025
3e70e5b
Properly set subscribed subnets in ENR and NodeInfo (#163)
dknopik Mar 4, 2025
0c986db
fix merge
Zacholme7 Mar 4, 2025
8c7cf69
Create message_validator crate (#152)
diegomrsantos Mar 4, 2025
c9f3cc7
also write pem file
Zacholme7 Mar 4, 2025
0ed9777
Switch back to official `blst` release and revisit zeroing keys (#170)
dknopik Mar 5, 2025
783520b
Merge branch 'unstable' into onchain-split
Zacholme7 Mar 5, 2025
7e744a3
merge
Zacholme7 Mar 5, 2025
4d7dcae
fix compile
Zacholme7 Mar 5, 2025
d58c798
Merge branch 'onchain-split' into rsa-keygen
Zacholme7 Mar 5, 2025
febf950
fix unwrap
Zacholme7 Mar 5, 2025
ea73bd0
Peer manager heartbeat (#158)
dknopik Mar 6, 2025
f030b75
SignedSSVMessage and SSVMessage validation (#160)
diegomrsantos Mar 6, 2025
c9da4b3
Merge branch 'unstable' into onchain-split
Zacholme7 Mar 6, 2025
7e03ef7
Merge branch 'unstable' into rsa-keygen
Zacholme7 Mar 6, 2025
fe56858
convert header
Zacholme7 Mar 6, 2025
1f6d2f3
add mock db for basic simulations
Zacholme7 Mar 7, 2025
28abcca
basic structure
Zacholme7 Mar 7, 2025
6c04057
compile
Zacholme7 Mar 7, 2025
c2a664c
bump
Zacholme7 Mar 7, 2025
d23b7c5
Properly handle messages sent by ourselves (#166)
dknopik Mar 10, 2025
10fb35e
Implement some more metrics (#173)
dknopik Mar 10, 2025
3c931f5
Add ENR-related logging (#169)
dknopik Mar 10, 2025
29772cf
Merge branch 'unstable' into onchain-split
Zacholme7 Mar 10, 2025
74132df
Merge branch 'onchain-split' into rsa-keygen
Zacholme7 Mar 10, 2025
419495d
basic compile
Zacholme7 Mar 10, 2025
9eb004a
wip
Zacholme7 Mar 10, 2025
41867af
port over basic infra
Zacholme7 Mar 10, 2025
79a432f
nits
Zacholme7 Mar 10, 2025
d048f80
add in config options
Zacholme7 Mar 10, 2025
3b4b459
bump
Zacholme7 Mar 10, 2025
49a245c
rm validator integration
Zacholme7 Mar 10, 2025
e3ce01b
temporary disable cargo audit warnings for upstream vulns in promethe…
jking-aus Mar 11, 2025
02280f1
Embed message id into outgoing qbft messages (#167)
dknopik Mar 11, 2025
e792911
Add CLI flag to subscribe to all subnets (#176)
dknopik Mar 11, 2025
8dc8d83
Add pre-commit hook for formatting, linting, and sorting (#172)
diegomrsantos Mar 11, 2025
48cd530
Set "ssv" field in ENR (#177)
dknopik Mar 11, 2025
f3fe170
Add `Role::{ValidatorRegistration, VoluntaryExit}` (#181)
dknopik Mar 11, 2025
470ae99
anchor wip
Zacholme7 Mar 11, 2025
1a68ec2
Merge branch 'unstable' into onchain-split
Zacholme7 Mar 11, 2025
a7f8e08
Merge branch 'onchain-split' into rsa-keygen
Zacholme7 Mar 11, 2025
db9e72c
merge
Zacholme7 Mar 11, 2025
1952c6e
Keysplitter (#150)
Zacholme7 Mar 12, 2025
dca6eb5
Handle validated messages (#168)
dknopik Mar 12, 2025
d36e08c
Implement version endpoint (#178)
ThreeHrSleep Mar 12, 2025
b787234
merge
Zacholme7 Mar 12, 2025
30e09d3
format
Zacholme7 Mar 12, 2025
68a8f23
add mock data for every operator
Zacholme7 Mar 12, 2025
54dce7d
pin commit
Zacholme7 Mar 12, 2025
c49553e
merge
Zacholme7 Mar 12, 2025
e16441b
setup anchor config scaffold
Zacholme7 Mar 12, 2025
14c1ffb
setup ports and cleanup
Zacholme7 Mar 12, 2025
90335d8
Stateless QBFT consensus message semantic validation (#171)
diegomrsantos Mar 12, 2025
ca097f5
Merge branch 'unstable' into rsa-keygen
jking-aus Mar 13, 2025
0d0593b
make logs appear in integration
ThreeHrSleep Mar 13, 2025
9dbbc3e
suggestions
ThreeHrSleep Mar 13, 2025
62071f3
Merge pull request #1 from ThreeHrSleep/fix-integration-logging
Zacholme7 Mar 13, 2025
bb4f708
merge
Zacholme7 Mar 13, 2025
47bd3c5
bump
Zacholme7 Mar 13, 2025
6d58c66
tmp move to new anchor branch to fix dep conflicts w/ gossipsub
Zacholme7 Mar 14, 2025
0e45d90
skip database sync for simulator
Zacholme7 Mar 17, 2025
fd6edc0
make sure config does not sync
Zacholme7 Mar 17, 2025
62e9479
sim config
Zacholme7 Mar 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
echo "Running cargo fmt --all..."
cargo fmt --all || exit 1

echo "Running cargo clippy --all..."
cargo clippy --all || exit 1

echo "Running cargo sort workspace..."
cargo sort --workspace || exit 1
17 changes: 17 additions & 0 deletions .github/scripts/check_lockbud.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# Run lockbud to check for deadlocks and capture the output
output=$(cargo lockbud -k deadlock -b -l tokio_util 2>&1)

# Check if lockbud returned any issues
if echo "$output" | grep -q '"bug_kind"'; then
# Print the JSON payload
echo "Lockbud detected issues:"
echo "$output"

# Exit with a non-zero status to indicate an error
exit 1
else
echo "No issues detected by Lockbud."
exit 0
fi
55 changes: 55 additions & 0 deletions .github/scripts/toml_reader.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/bin/bash

# TOML Reader - A script to read values from simple TOML files
# Usage: ./toml_reader.sh <file_path> <section> <key>

get_section() {
# Function to get the section from a TOML file
# Parameters:
# $1 - TOML file path
# $2 - section name
local file="$1"
local section="$2"

sed -n "/^\[$section\]/,/^\[/p" "$file" | sed '$d'
}

get_toml_value() {
# Function to get a value from a TOML file
# Parameters:
# $1 - TOML file path
# $2 - section
# $3 - key
local file="$1"
local section="$2"
local key="$3"

get_section "$file" "$section" | grep "^$key " | cut -d "=" -f2- | tr -d ' "'
}

# Show usage if script is called directly
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [ "$#" -ne 3 ]; then
echo "Error: Incorrect number of arguments"
echo "Usage: $0 <file_path> <section> <key>"
echo "Example: $0 ./config.toml server_b domain"
exit 1
fi

# Check if file exists
if [ ! -f "$1" ]; then
echo "Error: File '$1' does not exist"
exit 1
fi

# Get the value
result=$(get_toml_value "$1" "$2" "$3")

# Check if value was found
if [ -z "$result" ]; then
echo "Error: No value found for section '[$2]' and key '$3'"
exit 1
fi

echo "$result"
fi
21 changes: 21 additions & 0 deletions .github/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
matrix:
- name: Markdown
aspell:
lang: en
dictionary:
wordlists:
- .github/wordlist.txt
encoding: utf-8
pipeline:
- pyspelling.filters.markdown:
markdown_extensions:
- pymdownx.superfences
- pyspelling.filters.html:
comments: false
ignores:
- code
- pre
- a
sources:
- "**/*.md"
default_encoding: utf-8
86 changes: 53 additions & 33 deletions wordlist.txt → .github/wordlist.txt
Original file line number Diff line number Diff line change
@@ -1,40 +1,60 @@
MacOS
linter
Testnets
testnet
Testnet
QBFT
SSV
validator
libp
middleware
performant
github
sigp
io
sigmaprime
mdBook
spec'd
PRs
Styleguide
blockchain
CLI
clippy
rustfmt
TODOs
config
struct
structs
Config
PathBuf
config
cryptographic
dir
Exercism
blockchain
ETH
Ethereum
Exercism
github
Grafana
http
HTTPS
repo
io
libp
linter
localhost
MacOS
mdBook
middleware
PathBuf
performant
pre
CLI
PRs
QBFT
repo
RSA
runtime
localhost
http
Grafana
UI
rustfmt
sigmaprime
sigp
spec'd
SSV
struct
structs
Styleguide
Testnet
testnet
Testnets
TODOs
UI
Validator
validator
validators
Holesky
Mainnet
lifecycle
Syncer
JSON
Protobuf
Responder
responder
Prepends
Secp
NodeMetadata
NodeInfo
subnets
holesky
responder's
14 changes: 10 additions & 4 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,20 @@ concurrency:

jobs:
build-and-upload-to-s3:
runs-on: ubuntu-20.04
if: github.repository_owner == 'sigp'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
uses: jontze/action-mdbook@v3
with:
mdbook-version: 'latest'
token: ${{secrets.GITHUB_TOKEN}}
mdbook-version: "=0.4.44"
use-mermaid: true
mermaid-version: "=0.14.1"
use-linkcheck: true
linkcheck-version: "=0.7.7"

- run: mdbook build
working-directory: book
Expand All @@ -31,4 +37,4 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'ap-southeast-2'
SOURCE_DIR: 'book/book'
SOURCE_DIR: 'book/book'
Loading
Loading