Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Redeploy smartdeploy on testnet #39

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
2 changes: 1 addition & 1 deletion hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e1bba3cdb8d9c6028692459b3f2a48795b8d73cfd3ec6f9eb72a1423c19d727
87fcb7fd60ee1fdfffc3705257a38cd8726924bd4c8ae077f4b27149f983fc07