-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nightly' into dub/offchain_documentation
- Loading branch information
Showing
72 changed files
with
2,208 additions
and
245 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -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] | ||
} | ||
} | ||
} |
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,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(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.