-
Notifications
You must be signed in to change notification settings - Fork 1
feat(rust/cardano-blockchain-types): add cardano-blockchain-types crate #107
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
Merged
Merged
Changes from 56 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
dba341c
feat(rust): add cardano-blockchain-types crate
stevenj f3871a8
fix(rust): Remove unused dependencies
stevenj 23a5138
fix(cardano-blockchain-types): time_to_slot calculation
bkioshn 0662020
fix(cardano-blockchain-types): remove justfile
bkioshn c9185b5
Merge branch 'main' into feat/cardano-blockchain-types
bkioshn aa6bd36
fix(cardano-blockchain-types): point new should take type Slot and Bl…
bkioshn e027d8b
fix(cardano-blockchain-types): Fork type
bkioshn 7efac20
fix(cardano-blockchain-types): point and fuzzy point test
bkioshn 8ddebf5
Merge branch 'main' into feat/cardano-blockchain-types
stevenj 1d600bd
fix(cardano-blockchain-types): add Fork increment function
bkioshn bfc2e15
fix(cardano-blockchain-types): add comment on tag 259
bkioshn d48e32b
fix(cardano-blockchain-types): add Fork decrement function
bkioshn 349642c
test(rust): try earthly no-cache
bkioshn 8583611
test(rust): try earthly no-cache and fix doc artifact
bkioshn 42f71d7
test(rust): remove no-cache
bkioshn c267593
fix(cardano-blockchain-types): expose Fork and Network
bkioshn 5eb13da
Merge branch 'main' into feat/cardano-blockchain-types
bkioshn c80fa33
fix(cardano-blockchain-types): add partailOrd to Fork
bkioshn 0b0152d
Update rust/cardano-blockchain-types/src/point.rs
stevenj 347045a
fix(cardano-blockchain-types): cleanup
bkioshn 8d04f53
fix(cardano-blockchain-types): testdoc
bkioshn e48399a
Update rust/cardano-blockchain-types/src/point.rs
stevenj d17adf7
Merge branch 'main' into feat/cardano-blockchain-types
bkioshn 48ca937
fix(cardano-blockchain-types): cleanup
bkioshn 60802ce
fix(cardano-blockchain-types): format
bkioshn ea19d3e
fix(cardano-blockchain-types): add validate PR title
bkioshn 4e2bdc6
fix(cardano-blockchain-types): comments
bkioshn 519c415
fix(cardano-blockchain-types): fix hash_or_default
bkioshn e9b8ee3
fix(cardano-blockchain-types): redundant code
bkioshn 0d964fd
test: no cache
bkioshn b553132
test: revert change
bkioshn 881f07c
test ci
bkioshn be14a11
test ci
bkioshn c68a4a5
test ci
bkioshn b082ccc
test ci
bkioshn e5a1c53
test ci
bkioshn 02cea97
test ci
bkioshn 87b7aa7
test ci
bkioshn 5150b0c
test ci
bkioshn 7b51b80
test ci
bkioshn 1ccf814
test ci
bkioshn 6178014
revert change
bkioshn 4291806
test ci
bkioshn fe48d5a
revert change
bkioshn aed622e
Merge branch 'main' into feat/cardano-blockchain-types
bkioshn a4e8ecd
fix(rust): Bump rust version, and test everything using that version.
stevenj 58b5f7a
feat(rust): Bump more dependencies
stevenj 0f13a52
fix(rust): Use latest cat-ci release for latest rust compiler
stevenj 434bd83
fix(rust): skip building the c509 crate as rust
stevenj a259fc1
fix(rust): Fix bad character in the file
stevenj e6e3759
fix(rust): Remove redundant Earthfile
stevenj f8408dc
fix(rust): Reduce runtime of excessively slow property tests
stevenj 381f970
fix(rust): test serialized doctests in ci
stevenj e3e2e98
fix(rust): Try and fix broken test reports after cat-ci upgraded to f…
stevenj 0ac183d
fix(rust): Disable code coverage in CI because its broken after cat-c…
stevenj 4adadb3
fix(rust): Try and fix CI being totally broken now that allure report…
stevenj a61c87c
fix(rust): Use released cat-ci version
stevenj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ Arissara | |
| asyncio | ||
| Attributes | ||
| auditability | ||
| auxdata | ||
| babystep | ||
| backpressure | ||
| bech | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,7 @@ jobs: | |
| rust/cbork | ||
| rust/hermes-ipfs | ||
| rust/rbac-registration | ||
| rust/cardano-blockchain-types | ||
| dart | ||
| docs | ||
| general | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/src/architecture/08_concepts/catalyst_voting/cddl/Earthfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/src/architecture/08_concepts/immutable_ledger/cddl/Earthfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| [package] | ||
| name = "cardano-blockchain-types" | ||
| description = "Common Cardano Blockchain data types for use in both applications and crates" | ||
| keywords = ["cardano", "catalyst",] | ||
| version = "0.0.1" | ||
| authors = [ | ||
| "Steven Johnson <[email protected]>" | ||
| ] | ||
| edition.workspace = true | ||
| license.workspace = true | ||
| homepage.workspace = true | ||
| repository.workspace = true | ||
|
|
||
| [lib] | ||
| crate-type = ["cdylib", "rlib"] | ||
|
|
||
| [lints] | ||
| workspace = true | ||
|
|
||
| [dependencies] | ||
| pallas = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" } | ||
| pallas-crypto = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" } | ||
| # pallas-hardano = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" } | ||
|
|
||
| ouroboros = "0.18.4" | ||
| tracing = "0.1.41" | ||
| anyhow = "1.0.94" | ||
| chrono = "0.4.39" | ||
| strum = { version = "0.26.3", features = ["derive"] } | ||
| dirs = "5.0.1" | ||
| hex = "0.4.3" | ||
| dashmap = "6.1.0" | ||
| blake2b_simd = "1.0.2" | ||
| minicbor = { version = "0.25.1", features = ["alloc"] } | ||
| num-traits = "0.2.19" | ||
| ed25519-dalek = "2.1.1" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Improved version of Pallas Multi Era Block | ||
|
|
||
| Adds features to the Pallas Multi Era Block to allow us to re-use it between the different cardano crates, | ||
| and the services that use them. | ||
|
|
||
| The original source was `cardano-chain-follower`. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.