Skip to content

Commit

Permalink
Merge pull request #54 from oasisprotocol/kostko/feature/prepare-3.1.2
Browse files Browse the repository at this point in the history
runtime: Prepare 3.1.2
  • Loading branch information
kostko authored Sep 12, 2024
2 parents e32066f + eb0fee4 commit a2a1b6a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cipher-paratime"
version = "3.1.2-testnet"
version = "3.1.2"
authors = ["Oasis Protocol Foundation <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -18,7 +18,7 @@ threads = 26
debug = false

[dependencies]
keymanager = { git = "https://github.com/oasisprotocol/keymanager-paratime", tag = "v0.5.0-testnet" }
keymanager = { git = "https://github.com/oasisprotocol/keymanager-paratime", tag = "v0.5.0" }

# SDK.
oasis-runtime-sdk = { git = "https://github.com/oasisprotocol/oasis-sdk", tag = "runtime-sdk/v0.9.6" }
Expand Down
6 changes: 5 additions & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const fn state_version() -> u32 {
10
} else {
// Mainnet.
4
5
}
}

Expand Down Expand Up @@ -62,6 +62,10 @@ impl modules::rofl::Config for Config {
const GAS_COST_CALL_REGISTER: u64 = 6_000_000;
/// Gas cost of rofl.IsAuthorizedOrigin call.
const GAS_COST_CALL_IS_AUTHORIZED_ORIGIN: u64 = 60_000;
/// Gas cost of rofl.AuthorizedOriginNode call.
const GAS_COST_CALL_AUTHORIZED_ORIGIN_NODE: u64 = 120_000;
/// Gas cost of rofl.AuthorizedOriginEntity call.
const GAS_COST_CALL_AUTHORIZED_ORIGIN_ENTITY: u64 = 120_000;

/// Amount of stake required for maintaining an application (10_000 ROSE/TEST).
const STAKE_APP_CREATE: BaseUnits = BaseUnits::new(10_000_000_000_000, Denomination::NATIVE);
Expand Down

0 comments on commit a2a1b6a

Please sign in to comment.