Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d7af0db
chore: cardano-node-follower crate API design
Dec 7, 2023
19365dd
chore: allow Blue Oak license (need for minicbor crate)
Dec 7, 2023
f6cadf3
chore: drop node-to-client support and make rollback chain update ret…
Dec 12, 2023
92e7582
feat: Add chain follower config and builder
Dec 12, 2023
c4624c3
chore: Remove chain follower crate example (hard to keep up to date)
Dec 12, 2023
6d5d3bc
chore: Remove chain follower struct fields (implementation specific)
Dec 12, 2023
909d353
feat: Add chain follower block fetch methods
Dec 12, 2023
fa04a87
chore: Add fetch block and fetch block range examples
Dec 13, 2023
3a1626e
chore: Fix lint and fmt
Dec 13, 2023
ae1466c
chore: Add chain reader struct and refactor some methods
Dec 14, 2023
4bcb2f9
chore: Add words to cspell project dictionary
Dec 15, 2023
ca4d8e6
chore: fix fmt
Dec 15, 2023
b657644
chore: Change read_block point type
Dec 15, 2023
69f7c27
chore: Fix lint
Dec 20, 2023
f85cb88
chore: Update rust CI version
Dec 20, 2023
f3371dd
feat: Chain reader implemetation
Dec 15, 2023
02c2ac5
feat: Chain follower implemetation
Dec 15, 2023
969ba31
chore: Add tracing-subscriber to examples (logging enabled by default…
Dec 15, 2023
6a1a451
chore: Fix lint
Dec 20, 2023
a68e4a7
Merge main
Jan 4, 2024
a6cefaa
chore: Fix lint
Jan 4, 2024
5051d56
Merge branch 'main' into cardano-chain-follower-impl
stevenj Jan 9, 2024
5b54226
chore: Remove Cargo.lock
Jan 9, 2024
8cc159b
feat: Cardano chain follower Mithril snapshots integration (#60)
Jan 22, 2024
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
5 changes: 5 additions & 0 deletions .config/dictionaries/project.dic
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ addrr
adminer
asyncio
auditability
backpressure
blockfetch
BROTLI
cardano
cbor
CEST
chainsync
chrono
ciphertext
codepoints
Expand All @@ -25,6 +28,7 @@ fontawesome
fsgr
genhtml
gmtime
hardano
ideascale
Intellij
iohk
Expand All @@ -38,6 +42,7 @@ Leshiy
localizable
mdlint
miniprotocols
mithril
mitigations
moderations
multiera
Expand Down
7 changes: 4 additions & 3 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
//.config/dictionaries/cspell/sv/cspell-ext.json
//.config/dictionaries/cspell/tr_TR/cspell-ext.json
//.config/dictionaries/cspell/uk_UA/cspell-ext.json
//.config/dictionaries/cspell/vi_VN/cspell-ext.json
//.config/dictionaries/cspell/vi_VN/cspell-ext.json
],
"ignorePaths": [
".config/dictionaries/**",
Expand All @@ -225,6 +225,7 @@
"**/.gitignore",
".vscode/**",
"**/.idea/**",
"hermes/wasm/*/**"
"hermes/wasm/*/**",
"hermes/crates/cardano-chain-follower/examples/snapshot_data"
]
}
}
2 changes: 1 addition & 1 deletion docs/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ src:
# Now copy into that any artifacts we pull from the builds.
COPY --dir ../+repo-docs/repo /docs/includes
# copy Rust docs
COPY ./../hermes+hosted-build/doc /docs/src/api/rust-docs
COPY ./../hermes+build/doc /docs/src/api/rust-docs

# Build the docs here.
docs:
Expand Down
26 changes: 13 additions & 13 deletions hermes/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Use MOLD linker where possible, but ONLY in CI applicable targets.
# cspell: words rustflags armv gnueabihf msvc nextest idents rustdocflags
# cspell: words rustdoc lintfix lintrestrict testfast testdocs codegen testci testunit
# cspell: words fmtchk fmtfix
# cspell: words fmtchk fmtfix testcov

# Configure how Docker container targets build.

Expand All @@ -28,6 +28,8 @@ rustflags = [
"-C", "target-feature=-crt-static"
]

[target.wasm32-unknown-unknown]
rustflags = ["--cap-lints", "warn"]

[build]

Expand Down Expand Up @@ -110,23 +112,21 @@ codegen-units = 16
[alias]
lint = "clippy --all-targets -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items"
lintfix = "clippy --all-targets --fix --allow-dirty -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items"
lintrestrict = "clippy -- -D warnings -D clippy::pedantic -D clippy::restriction -D clippy::missing_docs_in_private_items"
lint-vscode = "clippy --workspace --message-format=json-diagnostic-rendered-ansi --all-targets -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items"
lint-vscode = "clippy --message-format=json-diagnostic-rendered-ansi --all-targets -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items"

docs = "doc --workspace -r --all-features --no-deps --bins --document-private-items --examples --locked"
docs = "doc --release --no-deps --document-private-items --bins --lib --examples"
# nightly docs build broken... when they are'nt we can enable these docs... --unit-graph --timings=html,json -Z unstable-options"
testfast = "nextest run --release --workspace --locked"
testunit = "nextest run --release --bins --lib --workspace --locked -P ci"
testci = "nextest run --release --workspace --locked -P ci"
testdocs = "test --doc --release --workspace --locked"
testunit = "nextest run --release --bins --lib -P ci"
testcov = "llvm-cov nextest --release --bins --lib -P ci"
testdocs = "test --doc --release"

# Rust formatting, MUST be run with +nightly
fmtchk = "fmt -- --check -v --color=always"
fmtfix = "fmt -- -v"

[term]
quiet = false # whether cargo output is quiet
verbose = true # whether cargo provides verbose output
color = 'always' # whether cargo colorizes output use `CARGO_TERM_COLOR="off"` to disable.
progress.when = 'auto' # whether cargo shows progress bar
progress.width = 80 # width of progress bar
quiet = false # whether cargo output is quiet
verbose = false # whether cargo provides verbose output
color = 'auto' # whether cargo colorizes output use `CARGO_TERM_COLOR="off"` to disable.
progress.when = 'never' # whether cargo shows progress bar
progress.width = 80 # width of progress bar
2 changes: 1 addition & 1 deletion hermes/.config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ path = "junit.xml"
# The name of the top-level "report" element in JUnit report. If aggregating
# reports across different test runs, it may be useful to provide separate names
# for each report.
report-name = "cat-gateway"
report-name = "nextest"

# Whether standard output and standard error for passing tests should be stored in the JUnit report.
# Output is stored in the <system-out> and <system-err> elements of the <testcase> element.
Expand Down
Loading