Skip to content

Commit

Permalink
feat!: Redeploy smartdeploy on testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Wyndham committed Jan 9, 2024
1 parent bd3d540 commit fd05429
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contract_id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CABJP36BKN2MOLGD7UCVZPJN42XTWEV7SKXCRXACHQOTAMYO26LQET5O
CC2FLEJRHB2Q5JOAJNPFZU25ZAY6IFYXJL7UQ5GF36F3G5QZ4CQILUID
2 changes: 1 addition & 1 deletion crates/smartdeploy-cli/src/testnet/smartdeploy.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"CABJP36BKN2MOLGD7UCVZPJN42XTWEV7SKXCRXACHQOTAMYO26LQET5O"
"CC2FLEJRHB2Q5JOAJNPFZU25ZAY6IFYXJL7UQ5GF36F3G5QZ4CQILUID"
4 changes: 2 additions & 2 deletions examples/cross_contract/contract_c/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#![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;

#[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
}
Expand Down
2 changes: 1 addition & 1 deletion hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e1bba3cdb8d9c6028692459b3f2a48795b8d73cfd3ec6f9eb72a1423c19d727
87fcb7fd60ee1fdfffc3705257a38cd8726924bd4c8ae077f4b27149f983fc07

0 comments on commit fd05429

Please sign in to comment.