diff --git a/contract_id.txt b/contract_id.txt index ebdf464..011b4fc 100644 --- a/contract_id.txt +++ b/contract_id.txt @@ -1 +1 @@ -CABJP36BKN2MOLGD7UCVZPJN42XTWEV7SKXCRXACHQOTAMYO26LQET5O \ No newline at end of file +CC2FLEJRHB2Q5JOAJNPFZU25ZAY6IFYXJL7UQ5GF36F3G5QZ4CQILUID \ No newline at end of file diff --git a/crates/smartdeploy-cli/src/testnet/smartdeploy.json b/crates/smartdeploy-cli/src/testnet/smartdeploy.json index 7611bae..55dc2fc 100644 --- a/crates/smartdeploy-cli/src/testnet/smartdeploy.json +++ b/crates/smartdeploy-cli/src/testnet/smartdeploy.json @@ -1 +1 @@ -"CABJP36BKN2MOLGD7UCVZPJN42XTWEV7SKXCRXACHQOTAMYO26LQET5O" +"CC2FLEJRHB2Q5JOAJNPFZU25ZAY6IFYXJL7UQ5GF36F3G5QZ4CQILUID" diff --git a/examples/cross_contract/contract_c/src/lib.rs b/examples/cross_contract/contract_c/src/lib.rs index 8e0b7a9..7ec48d8 100644 --- a/examples/cross_contract/contract_c/src/lib.rs +++ b/examples/cross_contract/contract_c/src/lib.rs @@ -1,7 +1,7 @@ #![no_std] use loam_sdk::soroban_sdk::{self, contract, contractimpl, Address, Env}; -smartdeploy_sdk::import_contract!(contract_a); +loam_sdk::import_contract!(contract_a); #[contract] pub struct ContractB; @@ -9,7 +9,7 @@ pub struct ContractB; #[contractimpl] impl ContractB { pub fn add_with(env: Env, contract_id: Address, x: u32, y: u32) -> u32 { - let client = contract_a::new(&env); + let client = contract_a::Client::new(&env, &contract_id); let client_2 = contract_a::Client::new(&env, &contract_id); (client.add(&x, &y) + client_2.add(&x, &y)) >> 2 } diff --git a/hash.txt b/hash.txt index 1a93b6c..5c28229 100644 --- a/hash.txt +++ b/hash.txt @@ -1 +1 @@ -2e1bba3cdb8d9c6028692459b3f2a48795b8d73cfd3ec6f9eb72a1423c19d727 \ No newline at end of file +87fcb7fd60ee1fdfffc3705257a38cd8726924bd4c8ae077f4b27149f983fc07 \ No newline at end of file