-
Notifications
You must be signed in to change notification settings - Fork 49
Implement Cardano transactions verification in mithril-client-wasm
#1512
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
dlachaume
merged 32 commits into
main
from
ensemble/1470/implement-cardano-transactions-verification-wasm
Feb 21, 2024
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
7a2822f
Add build script in `mithril-aggregator-fake`
5ee86bd
Extract directly artifact id from filename when reading files
f244890
Implement generation of artifact getter
bc0c810
Add `epoch-settings` in import script & generated code
872d832
Supersede `default_values` content buildscript generated code
5b1742f
Add `ctx_commitment` and adapt `epoch-settings` in shared_state
e1d8b54
Generate ids array for testing
9ada2bb
Adapt `mithril-aggregator-fake` tests with generated data
08dd5ad
Wire Cardano transactions commitments and add tests
7f504e1
Add `transfer_funds` to run-only scenario in E2E
53122d0
Add `download_ctx_proof` to fake-aggregator import script
c5f70c9
Add ctx-proof to buildscript generated default values
36e6ec6
Add route `/proof/cardano-transaction` to fake aggregator
6fc30f1
Fix collision with list when reading individual files and cleanup cre…
e3abce5
Extract generations methods in fake aggregator build script to a dedi…
5a1e622
Add capability to only generate code for 'ids' for mithril-build-scri…
06b62b7
`client_wasm` tests now use autogenerated test data from fake aggrega…
24187ce
Fetch missing certificate when downloading artifact & ctx proof using…
453ba89
Add `get_cardano_transaction_proofs` & `compute_cardano_transaction_p…
1bd233b
Add Cardano transactions functionnalities in `www/`
054b019
Add Cardano transactions functionnalities in `www-test/`
21ae072
Update `mithril-client-wasm` README
846b183
Update `mithril-client-wasm` developer documentation
673b88a
Rename 'transaction_set' into 'transaction_commitment'
0759f89
Remove `default_data/` from fake aggregator .gitignore
bc1ad9c
Enhance `import.sh` script of `mithril-aggregator-fake` with `jq`
06d3dd9
Update `default_data/` content after enhancement of the script
b1299a3
Fix comments to update them
ee35032
fix: rename function and typos after review
4ffb3c9
docs: enhance wasm library developer guide
293cb94
docs: add description & README.md to `mithril-build-script` crate
f93058a
chore: update crates version
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 @@ | ||
target/ | ||
.DS_Store | ||
|
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,11 @@ | ||
[package] | ||
name = "mithril-build-script" | ||
version = "0.1.0" | ||
description = "A toolbox for Mithril crates build scripts" | ||
authors = { workspace = true } | ||
edition = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
repository = { workspace = true } | ||
|
||
[dependencies] |
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,5 @@ | ||
# Mithril-build-script | ||
|
||
A toolbox for Mithril crates that need a [build scripts phase](https://doc.rust-lang.org/cargo/reference/build-scripts.html). | ||
|
||
Moreover, this crate allows to test the build scripts, which is not supported directly in `build.rs` (see: [rust-lang/cargo#1581](https://github.com/rust-lang/cargo/issues/1581)). |
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.