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

feat(chain follower): Updated chain follower to add mithril auto download and chain integrity checks #266

Closed
wants to merge 94 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
f0c3290
feat(ci): Bump to latest cat-ci version
stevenj Jun 5, 2024
3af4efe
refactor(hermes-lib): Refactor chain follower config, prep for adding…
stevenj Jun 5, 2024
a1a8bfb
refactor(hermes-lib): Remove mithril snapshot as a reference because …
stevenj Jun 5, 2024
5ee70f6
feat(hermes-lib): Check if a snapshot path is writable if we plan on …
stevenj Jun 6, 2024
6b7141c
feat(hermes-lib): Mithril snapshot update setup and timing coding com…
stevenj Jun 6, 2024
3dbadb8
feat(hermes-lib): Add the code to fetch and validate the certificate …
stevenj Jun 7, 2024
5150dab
feat(hermes-lib): New TurboDownloader crate, forked from pipe_downloader
stevenj Jun 7, 2024
8e1d952
fix(hermes-lib): fix code format
stevenj Jun 7, 2024
f403934
feat(hermes-lib): Mithril turbo downloader code added.
stevenj Jun 7, 2024
5f8732d
feat(hermes-lib): Add a couple of unit tests
stevenj Jun 7, 2024
5f7e0b2
fix(hermes-lib): Fix licenses and prevent openssl being pulled in.
stevenj Jun 10, 2024
40c594a
fix(hermes-lib): Cardano Chainfollower auto-update from mithril WIP
stevenj Jun 11, 2024
256c2c6
feat(hermes-lib): wip mithril data integrity validation work
stevenj Jun 13, 2024
b016d99
fix(hermes-lib): wip
stevenj Jun 18, 2024
31447f1
fix(hermes-lib): wip, everything builds but a bunch of code is disabled
stevenj Jun 19, 2024
24428ea
fix(hermes-lib): Remove broken turbo-download crate as we just use ar…
stevenj Jun 19, 2024
9d0eef7
fix(hermes-lib): Can properly and safely auto-update mithril snapshots.
stevenj Jun 20, 2024
2ae3408
fix(hermes-lib): Cleanup the example.
stevenj Jun 20, 2024
30f790c
fix(hermes-lib): Sync to tip seems to work.
stevenj Jun 20, 2024
c3c11b3
fix(hermes-lib): follower wip
stevenj Jun 21, 2024
042d127
fix(hermes-lib): Chain following of Mithril and Live data works.
stevenj Jun 25, 2024
fd0d5bc
fix(hermes-lib): Chain sync seems to work, needs more testing
stevenj Jun 26, 2024
0009635
fix(hermes-lib): Chain following works except for switching to live f…
stevenj Jun 27, 2024
2d661c6
fix(hermes-lib): Make decoding blocks unable to error.
stevenj Jun 27, 2024
c8da7b9
fix(hermes-lib): Fix a bug i introduced when refactoring
stevenj Jun 27, 2024
4e0bedc
fix(hermes): Remove checking for decode errors on blocks, which is no…
stevenj Jun 27, 2024
3b3659e
Merge branch 'main' into feat/auto-sync-mithril
stevenj Jun 27, 2024
efcc6b5
fix(hermes): Fix issues caused by merge with main and library update
stevenj Jun 27, 2024
a562111
fix(spelling): Fix spelling
stevenj Jun 27, 2024
dfa86ca
fix(ci): Prevent wasm code building during `check` phase.
stevenj Jun 27, 2024
8932538
make SelfReferencedMultiEraBlock struct, add test data
Mr-Leshiy Jun 27, 2024
2eb1e4d
fix(hermes): Code Formatting
stevenj Jun 27, 2024
43851bb
add test
Mr-Leshiy Jun 27, 2024
e445f3c
Merge branch 'feat/auto-sync-mithril' into feat/auto-saync-mithril-de…
Mr-Leshiy Jun 27, 2024
8dbb732
fix comments
Mr-Leshiy Jun 27, 2024
506b3f3
fix(hermes-lib): cleanup unused dependencies
stevenj Jun 27, 2024
bdbd669
fix(ci): WIP updates for cargo deny configuration
stevenj Jun 27, 2024
b5ac11b
Merge branch 'feat/auto-sync-mithril-decoded' into feat/auto-sync-mit…
stevenj Jun 27, 2024
b1104e5
fix(hermes-lib): Integrate alex's changes for deserializing multi era…
stevenj Jun 28, 2024
e338feb
fix(hermes-lib): Cleanup the need to use Result inside the MultiEraBl…
stevenj Jul 1, 2024
cbf5b6d
fix(hermes-lib): Eliminate PointOrTip and make sure mithril IO is asy…
stevenj Jul 1, 2024
234997d
Merge branch 'main' into feat/auto-sync-mithril
stevenj Jul 3, 2024
0eb9aa6
fix(hermes-lib): Decouple the follower from the chain sync properly.
stevenj Jul 5, 2024
451fdd9
Merge branch 'feat/auto-sync-mithril' of github.com:input-output-hk/h…
stevenj Jul 5, 2024
f9e0552
fix(hermes-lib): Bug fixes for newer follower logic
stevenj Jul 5, 2024
91b5d4c
fix(hermes-lib): Chain follower sync seems to work without issues on …
stevenj Jul 8, 2024
d16c580
docs(mithril): Documentation and Tests for `point.rs` (#284)
apskhem Jul 9, 2024
1e9dae3
fix(hermes-lib): Use the mimalloc allocator. Increase decompression …
stevenj Jul 9, 2024
c5f7246
Merge branch 'feat/auto-sync-mithril' of github.com:input-output-hk/h…
stevenj Jul 9, 2024
9b74d2b
fix(hermes-lib): Fix lint issues
stevenj Jul 9, 2024
26fc10c
fix(hermes-lib): Add immutable chain rollforward events
stevenj Jul 10, 2024
acd6268
fix(hermes-lib): Add follower rollback stats
stevenj Jul 10, 2024
d6a0f5b
fix(hermes-lib): fix code format
stevenj Jul 10, 2024
9c54500
fix(hermes-lib): remove obsolete examples from chain follower crate
stevenj Jul 10, 2024
2ea943d
fix(hermes-lib): Fix mithril tip reporting
stevenj Jul 10, 2024
22d11c0
fix(hermes-lib): Don't bother deduping files which always change
stevenj Jul 10, 2024
db9f2e2
fix(hermes-lib): Clean up example
stevenj Jul 11, 2024
f038a98
fix(cardano-chain-follower): Correct multi era block tests (#291)
apskhem Jul 12, 2024
5a1d26f
Merge branch 'main' into feat/auto-sync-mithril
stevenj Jul 15, 2024
b3f0644
test(cardano-chain-follower): add comparison cases using comparison s…
apskhem Jul 17, 2024
ffb82e8
fix(hermes-lib): Prepare mithril snapshot processing so we can index …
stevenj Jul 18, 2024
c51520e
fix(hermes-lib): Indexing basic logic written
stevenj Jul 18, 2024
1fddd73
fix(hermes-lib): WIP
stevenj Jul 21, 2024
434bfd8
Merge branch 'main' into feat/auto-sync-mithril
stevenj Jul 23, 2024
8e7ddd3
test(chain-follower): Add tests to the `snapshot_id` module (#304)
apskhem Jul 23, 2024
4f6841b
fix(chain-follower): fix code format, disable local indexer behind fe…
stevenj Jul 25, 2024
73fc88f
fix(chain-follower): Implement variant names on Network enum
stevenj Jul 25, 2024
7510e7a
ci(hermes-lib): Bump rust compiler version to match ci
stevenj Jul 29, 2024
4c2251e
test(chain-follower): Add unit tests to the overall Chain Follower mo…
apskhem Jul 30, 2024
5e5a449
fix(ci): lint error
stevenj Jul 30, 2024
99215e3
fix(hermes-lib): Formatting
stevenj Jul 30, 2024
ec17177
feat(hermes-lib): Add function to get the current tips from the chain.
stevenj Jul 30, 2024
67fe6c6
fix(hermes-lib): Eliminate Lazy and OnceCell crates and use std libra…
stevenj Jul 30, 2024
a28230a
Merge branch 'main' into feat/auto-sync-mithril
stevenj Jul 31, 2024
9194a1f
feat(hermes-lib): Use symlink for pre-downloaded archive file.
stevenj Aug 1, 2024
f7dd74d
feat: x509 metadata decode (#314)
bkioshn Aug 2, 2024
a2d0614
change (#330)
Mr-Leshiy Aug 8, 2024
6562eb6
docs(hermes-lib): Add documentation about where to find the best docu…
stevenj Aug 8, 2024
83a4900
feat(hermes-lib): WIP
stevenj Aug 10, 2024
ace3c14
Merge branch 'feat/auto-sync-mithril' of github.com:input-output-hk/h…
stevenj Aug 10, 2024
0945d23
feat(hermes-lib): CIP36 Metadata Decode WIP
stevenj Aug 11, 2024
c3be146
fix(hermes-lib): Metadata Indexing appears to work. CIP36 signature c…
stevenj Aug 12, 2024
7b10997
feat(hermes-lib): Cip36 Decoding seems to work properly
stevenj Aug 12, 2024
6d8d714
feat: extracting transaction witness (#327)
bkioshn Aug 13, 2024
d517d5f
test(chain-follower): Add integration test to download Mithil Snapsho…
apskhem Aug 13, 2024
ec8800e
fix(hermes-lib): Add debug logic because of cip36 decode failures on …
stevenj Aug 13, 2024
6ef772b
fix(hermes-lib): Format code and add debug logic to work out why main…
stevenj Aug 13, 2024
f0b2125
fix(hermes-lib): Don't have any option that lets the chain follower t…
stevenj Aug 13, 2024
8d65f00
fix(hermes-lib): Fix code format
stevenj Aug 13, 2024
780cf26
Auto sync mithril fix mainnet (#339)
stevenj Aug 16, 2024
587962a
fix: get block logic to work with live data (#345)
bkioshn Aug 21, 2024
0036867
test(chain-follower): Add unit tests to metadata decoding on CIP36 (#…
apskhem Aug 27, 2024
672c0f8
Fix dl implementation (#346)
stevenj Aug 29, 2024
45f9fad
Merge branch 'feat/auto-sync-mithril' of github.com:input-output-hk/h…
stevenj Aug 29, 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
60 changes: 50 additions & 10 deletions .config/dictionaries/project.dic
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
aarch
abcz
abnf
ABNF
addrr
adminer
alpn
apskhem
asyncio
auditability
Autoupdate
backpressure
bindgen
bkioshn
Expand All @@ -15,15 +18,17 @@ blosc
bmac
bootstrapper
BROTLI
bufread
bytesize
cantopen
cardano
cbor
CBOR
cbork
cdylib
CEST
CHAINCODE
chaincode
CHAINCODE
chainsync
chrono
ciphertext
Expand All @@ -36,12 +41,12 @@ crontagged
cstring
dalek
dashmap
dashmap
Datelike
Datelike
DBSTATUS
dbsync
dcbor
ddup
Decompressor
delegators
dockerhub
dotenv
Expand All @@ -52,6 +57,7 @@ dreps
Earthfile
encryptor
Errno
etype
excalidraw
fadvise
fcntl
Expand All @@ -62,6 +68,7 @@ filestat
filestorage
filesystems
fkey
fmmap
fmtchk
fmtfix
fontawesome
Expand All @@ -76,44 +83,58 @@ gmtime
gossipsub
happ
hardano
hardlink
hasher
hexdigit
highwater
hmod
humansize
humantime
ideascale
idents
ipfs
ipld
IFMT
Intellij
ioerr
iohk
ipfs
ipld
jetbrains
jsonschema
jorm
jormungandr
Jörmungandr
jsonschema
lcov
Leshiy
libsqlite
libtest
libipld
libp2p
libsqlite
libtest
linkat
lintfix
localizable
logcall
lookaside
maindbname
mapref
Mbits
mdlint
mdns
memeq
memx
metadatum
Metadatum
mimalloc
minicbor
miniprotocol
miniprotocols
mithril
mitigations
mkcron
mkdelay
mkdirat
mmap
moderations
MPMC
Multiaddr
multiera
nanos
Expand Down Expand Up @@ -146,10 +167,15 @@ pubspec
pwrite
qpsg
rapidoc
Rawhash
readlinkat
redb
redoc
REMOVEDIR
renameat
repr
Repr
reqwest
retriggering
rulelist
rulename
Expand All @@ -159,18 +185,23 @@ rustdoc
rustdocflags
rustflags
rustfmt
rustls
rustyline
saibatizoku
sandboxed
scanorder
scanstatus
Sched
seckey
SIGNDATA
skiplist
slotno
smac
stevenj
stringzilla
subdir
subsec
surrealkv
symlinkat
syscall
tacho
Expand All @@ -185,25 +216,34 @@ tinygo
toobig
toolsets
Traceback
txmonitor
txns
typenum
unfinalized
unixfs
unlinkat
untar
upnp
ureq
utimensat
vitss
vkey
VKEYS
vkeywitness
voteplan
voteplans
wallclock
wasi
wasip
WASI
wasip
wasmtime
webasm
webassembly
webpki
WORKDIR
wtxn
xprivate
XPRV
xprv
XPRV
xpub
yoroi
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Secrets
**/.secret

### Linux ###
*~

Expand Down
1 change: 1 addition & 0 deletions .secret.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GITHUB_TOKEN=Make One at https://github.com/settings/tokens only need public repo, read packages permissions
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"tamasfe.even-better-toml",
"rust-lang.rust-analyzer",
"JScearcy.rust-doc-viewer",
"serayuzgur.crates",
"bierner.markdown-checkbox",
"bierner.markdown-emoji",
"bierner.markdown-footnotes",
Expand All @@ -24,5 +23,6 @@
"foxundermoon.shell-format",
"dtsvet.vscode-wasm",
"terrastruct.d2",
"fill-labs.dependi",
]
}
Loading
Loading