From 5de3ea09a9bfb66441dc03b0194d54558f773d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ber=C4=8Di=C4=8D?= Date: Wed, 22 May 2024 12:09:21 +0200 Subject: [PATCH] Update devnet to 0.0.2 with updated SDK --- runtime/Cargo.lock | 22 +++++++++++----------- runtime/Cargo.toml | 4 ++-- runtime/src/lib.rs | 8 ++++---- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/runtime/Cargo.lock b/runtime/Cargo.lock index 815a66e..73b2863 100644 --- a/runtime/Cargo.lock +++ b/runtime/Cargo.lock @@ -1616,6 +1616,15 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "keymanager" +version = "0.4.1-testnet" +source = "git+https://github.com/oasisprotocol/keymanager-paratime?tag=v0.4.1-testnet#1b20792680b245a610ee428876ca0f6ddc99a436" +dependencies = [ + "oasis-core-keymanager 0.0.0 (git+https://github.com/oasisprotocol/oasis-core?tag=v23.0.1)", + "oasis-core-runtime 0.0.0 (git+https://github.com/oasisprotocol/oasis-core?tag=v23.0.1)", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -2525,25 +2534,16 @@ dependencies = [ "universal-hash", ] -[[package]] -name = "pontusx-keymanager" -version = "0.0.1-testnet" -source = "git+https://github.com/oasisprotocol/pontusx-keymanager?tag=v0.0.1-testnet#254318390da16e03a933e873cfea47a0d673f957" -dependencies = [ - "oasis-core-keymanager 0.0.0 (git+https://github.com/oasisprotocol/oasis-core?tag=v23.0.1)", - "oasis-core-runtime 0.0.0 (git+https://github.com/oasisprotocol/oasis-core?tag=v23.0.1)", -] - [[package]] name = "pontusx-paratime" -version = "0.0.2-testnet" +version = "0.0.2-devnet" dependencies = [ "const-str", "hex", + "keymanager", "oasis-runtime-sdk", "oasis-runtime-sdk-evm", "once_cell", - "pontusx-keymanager", ] [[package]] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 8a6d427..0eaccb4 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pontusx-paratime" -version = "0.0.2-testnet" +version = "0.0.2-devnet" authors = ["deltaDAO "] edition = "2021" license = "Apache-2.0" @@ -21,7 +21,7 @@ threads = 26 debug = false [dependencies] -keymanager = { package = "pontusx-keymanager", git = "https://github.com/oasisprotocol/pontusx-keymanager", tag = "v0.0.1-testnet" } +keymanager = { git = "https://github.com/oasisprotocol/keymanager-paratime", tag = "v0.4.1-testnet" } # SDK. module-evm = { git = "https://github.com/oasisprotocol/oasis-sdk", tag = "runtime-sdk/v0.8.6", package = "oasis-runtime-sdk-evm" } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 964be04..888d0f4 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -164,8 +164,8 @@ impl sdk::Runtime for Runtime { if is_devnet() { // Devnet. Some(TrustRoot { - height: 19377991, - hash: "99ece49085f04e312e6b55674ad700b8f9d51e1bd16ade26e2de96485ae6965a".into(), + height: 21263648, + hash: "1b2ac553253818973cd3d1b8b5fc856e3be3a68848cb5b8aaf280f7a4fd92c7c".into(), runtime_id: "0000000000000000000000000000000000000000000000004febe52eb412b421" .into(), chain_context: "0b91b8e4e44b2003a7c5e23ddadb5e14ef5345c0ebcb3ddcae07fa2f244cab76" @@ -174,8 +174,8 @@ impl sdk::Runtime for Runtime { } else if is_testnet() { // Testnet. Some(TrustRoot { - height: 21122646, - hash: "0ed6ad8bf11176d82b3f3b9c266aa63d9813c11d8add7a696f3b22b166de6549".into(), + height: 21263648, + hash: "1b2ac553253818973cd3d1b8b5fc856e3be3a68848cb5b8aaf280f7a4fd92c7c".into(), runtime_id: "00000000000000000000000000000000000000000000000004a6f9071c007069" .into(), chain_context: "0b91b8e4e44b2003a7c5e23ddadb5e14ef5345c0ebcb3ddcae07fa2f244cab76"