From 85d5c105497830b2752a61ca0134ca8b4cf37a27 Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Wed, 11 Sep 2024 12:46:16 +0200 Subject: [PATCH] runtime: Prepare 0.8.2 --- runtime/Cargo.lock | 6 +++--- runtime/Cargo.toml | 4 ++-- runtime/src/lib.rs | 6 +++++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/runtime/Cargo.lock b/runtime/Cargo.lock index 4b8d7f3e..6f9f197b 100644 --- a/runtime/Cargo.lock +++ b/runtime/Cargo.lock @@ -1544,8 +1544,8 @@ dependencies = [ [[package]] name = "keymanager" -version = "0.5.0-testnet" -source = "git+https://github.com/oasisprotocol/keymanager-paratime?tag=v0.5.0-testnet#7dc49813dc42e33fa8f1feac3d98077e6b76b3bc" +version = "0.5.0" +source = "git+https://github.com/oasisprotocol/keymanager-paratime?tag=v0.5.0#551e8edcb51154b8bda51ce7e512320114301d6c" dependencies = [ "oasis-core-keymanager 0.0.0 (git+https://github.com/oasisprotocol/oasis-core?tag=v24.0)", "oasis-core-runtime 0.0.0 (git+https://github.com/oasisprotocol/oasis-core?tag=v24.0)", @@ -2767,7 +2767,7 @@ dependencies = [ [[package]] name = "sapphire-paratime" -version = "0.8.2-testnet" +version = "0.8.2" dependencies = [ "keymanager", "oasis-runtime-sdk", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 42ef0507..06dd268a 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sapphire-paratime" -version = "0.8.2-testnet" +version = "0.8.2" authors = ["Oasis Protocol Foundation "] edition = "2021" license = "Apache-2.0" @@ -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" } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index d912e6dd..15d8b394 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -47,7 +47,7 @@ const fn state_version() -> u32 { 7 } else { // Mainnet. - 3 + 4 } } @@ -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 =