diff --git a/Cargo.lock b/Cargo.lock index eb1c925..f85d783 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -454,7 +454,7 @@ dependencies = [ [[package]] name = "cipher-paratime" -version = "3.1.2-testnet" +version = "3.1.2" dependencies = [ "keymanager", "oasis-runtime-sdk", @@ -1386,8 +1386,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)", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index b85ecbc..5ae2a3c 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cipher-paratime" -version = "3.1.2-testnet" +version = "3.1.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. oasis-runtime-sdk = { git = "https://github.com/oasisprotocol/oasis-sdk", tag = "runtime-sdk/v0.9.6" } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index fd6729d..b20f21f 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -34,7 +34,7 @@ const fn state_version() -> u32 { 10 } else { // Mainnet. - 4 + 5 } } @@ -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);