From d70277f506f663cb379c6d2475676317a24bddf4 Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Fri, 24 Nov 2023 18:35:56 +0100 Subject: [PATCH 1/2] [KMP]: Bump to 4.0.9 --- samples/kmp/shared/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/kmp/shared/build.gradle.kts b/samples/kmp/shared/build.gradle.kts index dc4b6fbb8b1..a56cc448990 100644 --- a/samples/kmp/shared/build.gradle.kts +++ b/samples/kmp/shared/build.gradle.kts @@ -35,7 +35,7 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - implementation("com.trustwallet:wallet-core-kotlin:4.0.5") + implementation("com.trustwallet:wallet-core-kotlin:4.0.9") } } val commonTest by getting { From 6f90dea5438d404643c68beb3b503fd2392a76ca Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Fri, 24 Nov 2023 18:41:04 +0100 Subject: [PATCH 2/2] [Codegen]: Fix warnings --- codegen-v2/src/codegen/cpp/entry_generator.rs | 4 ++-- codegen-v2/src/codegen/rust/coin_crate.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codegen-v2/src/codegen/cpp/entry_generator.rs b/codegen-v2/src/codegen/cpp/entry_generator.rs index f7c453b719d..49f341ab35f 100644 --- a/codegen-v2/src/codegen/cpp/entry_generator.rs +++ b/codegen-v2/src/codegen/cpp/entry_generator.rs @@ -7,9 +7,9 @@ use crate::codegen::cpp::cpp_source_directory; use crate::codegen::template_generator::TemplateGenerator; use crate::registry::CoinItem; -use crate::{Error, Result}; +use crate::Result; +use std::fs; use std::path::PathBuf; -use std::{fs, io}; const ENTRY_HEADER_TEMPLATE: &str = include_str!("templates/Entry.h"); diff --git a/codegen-v2/src/codegen/rust/coin_crate.rs b/codegen-v2/src/codegen/rust/coin_crate.rs index 330d84e26b2..4586f66ae3f 100644 --- a/codegen-v2/src/codegen/rust/coin_crate.rs +++ b/codegen-v2/src/codegen/rust/coin_crate.rs @@ -8,9 +8,9 @@ use crate::codegen::rust::chains_directory; use crate::codegen::template_generator::TemplateGenerator; use crate::coin_id::CoinId; use crate::registry::CoinItem; -use crate::{Error, Result}; +use crate::Result; +use std::fs; use std::path::PathBuf; -use std::{fs, io}; const BLOCKCHAIN_ADDRESS_TEMPLATE: &str = include_str!("templates/blockchain_crate/address.rs"); const BLOCKCHAIN_COMPILER_TEMPLATE: &str = include_str!("templates/blockchain_crate/compiler.rs");