Skip to content

Commit

Permalink
Merge branch 'nightly' into dub/offchain_documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dubbelosix committed Oct 3, 2023
2 parents c3321f8 + baebd03 commit 61e2c6a
Show file tree
Hide file tree
Showing 72 changed files with 2,208 additions and 245 deletions.
113 changes: 113 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ members = [

"utils/zk-cycle-macros",
"utils/zk-cycle-utils",
"utils/nft-utils",
"utils/bashtestmd",
"utils/nft-utils",

"module-system/sov-cli",
"module-system/sov-modules-stf-template",
Expand Down
11 changes: 10 additions & 1 deletion constants.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"comment": "Sovereign SDK constants"
"comment": "Sovereign SDK constants",
"gas": {
"Bank": {
"create_token": [4, 4],
"transfer": [5, 5],
"burn": [2, 2],
"mint": [2, 2],
"freeze": [1, 1]
}
}
}
15 changes: 15 additions & 0 deletions examples/demo-prover/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
use std::os::unix::process::ExitStatusExt;
use std::process::{Command, ExitStatus};
fn main() {
let is_risczero_installed = Command::new("cargo")
.args(["risczero", "help"])
.status()
.unwrap_or(ExitStatus::from_raw(1)); // If we can't execute the command, assume risczero isn't installed since duplicate install attempts are no-ops.

if !is_risczero_installed.success() {
// If installation fails, just exit silently. The user can try again.
let _ = Command::new("cargo")
.args(["install", "cargo-risczero"])
.status();
}
}
8 changes: 8 additions & 0 deletions examples/demo-prover/methods/guest-celestia/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions examples/demo-prover/methods/guest-mock/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/demo-rollup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ native = ["anyhow", "jsonrpsee", "serde", "serde_json", "tracing", "tokio", "tra
"sov-state/native", "sov-cli", "clap", "sov-celestia-adapter/native", "sov-db", "sov-sequencer", "sov-stf-runner/native",
"sov-modules-api/native", "sov-rollup-interface/native"]
bench = ["native", "async-trait", "borsh", "hex"]

offchain = ["demo-stf/offchain"]

[[bench]]
name = "rollup_bench"
Expand Down
Loading

0 comments on commit 61e2c6a

Please sign in to comment.