-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:add initial support for precompile (#185)
* add emulator support and test case for sys verify * add initial support for precompile * fix input problems * add missed elf * update zkmips * fix clippy * remove unused return * update example test * update SHA_ID and readme * fix input type * remove duplicated code * fix fmt
- Loading branch information
Showing
36 changed files
with
1,280 additions
and
205 deletions.
There are no files selected for viewing
This file contains 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 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 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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,10 @@ | ||
[workspace] | ||
[package] | ||
version = "0.1.0" | ||
name = "sha2-precompile" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
# zkm-runtime = { git = "https://github.com/zkMIPS/zkm", package = "zkm-runtime" } | ||
zkm-runtime = { path = "../../../runtime/entrypoint" } | ||
sha2 = { version = "0.10.8", default-features = false } |
This file contains 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,4 @@ | ||
[toolchain] | ||
channel = "nightly-2023-04-06" | ||
targets = ["mips-unknown-linux-musl"] | ||
profile = "minimal" |
Oops, something went wrong.