Skip to content

Commit

Permalink
runtime: Prepare 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Sep 11, 2024
1 parent 87bba83 commit 85d5c10
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions runtime/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 = "sapphire-paratime"
version = "0.8.2-testnet"
version = "0.8.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.
module-evm = { git = "https://github.com/oasisprotocol/oasis-sdk", tag = "runtime-sdk/v0.9.6", package = "oasis-runtime-sdk-evm" }
Expand Down
6 changes: 5 additions & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const fn state_version() -> u32 {
7
} else {
// Mainnet.
3
4
}
}

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

/// Amount of stake required for maintaining an application (10_000 ROSE/TEST).
const STAKE_APP_CREATE: BaseUnits =
Expand Down

0 comments on commit 85d5c10

Please sign in to comment.