Skip to content

Commit fbeb7cf

Browse files
authored
Merge branch 'master' into kayagokalp/deploy-default-proxy
2 parents eb53abe + bdd14c3 commit fbeb7cf

File tree

4 files changed

+33
-8
lines changed

4 files changed

+33
-8
lines changed

forc-plugins/forc-client/src/op/deploy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ use std::{
3434
sync::Arc,
3535
time::Duration,
3636
};
37+
use std::{sync::Arc, time::Duration};
3738
use sway_core::language::parsed::TreeType;
3839
use sway_core::BuildTarget;
3940

@@ -381,7 +382,6 @@ pub async fn deploy_pkg(
381382
let manifest = &compiled.descriptor.manifest_file;
382383
let node_url = provider.url();
383384
let client = FuelClient::new(node_url)?;
384-
385385
let bytecode = &compiled.bytecode.bytes;
386386

387387
let mut storage_slots =

forc-plugins/forc-client/src/util/tx.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,6 @@ pub(crate) fn secret_key_from_forc_wallet(
121121
Ok(secret_key)
122122
}
123123

124-
pub(crate) fn bech32_from_secret(secret_key: &SecretKey) -> Result<Bech32Address> {
125-
let public_key = PublicKey::from(secret_key);
126-
let hashed = public_key.hash();
127-
let bech32 = Bech32Address::new(FUEL_BECH32_HRP, hashed);
128-
Ok(bech32)
129-
}
130-
131124
pub(crate) fn select_manual_secret_key(
132125
default_signer: bool,
133126
signing_key: Option<SecretKey>,
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[[package]]
2+
name = "contract_with_dep"
3+
source = "member"
4+
dependencies = ["std"]
5+
contract-dependencies = ["standalone_contract (0000000000000000000000000000000000000000000000000000000000000001)"]
6+
7+
[[package]]
8+
name = "core"
9+
source = "path+from-root-9B9D657E3F1FCA11"
10+
11+
[[package]]
12+
name = "standalone_contract"
13+
source = "path+from-root-9B9D657E3F1FCA11"
14+
dependencies = ["std"]
15+
16+
[[package]]
17+
name = "std"
18+
source = "path+from-root-9B9D657E3F1FCA11"
19+
dependencies = ["core"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[[package]]
2+
name = "core"
3+
source = "path+from-root-79BB3EA8498403DE"
4+
5+
[[package]]
6+
name = "standalone_contract"
7+
source = "member"
8+
dependencies = ["std"]
9+
10+
[[package]]
11+
name = "std"
12+
source = "path+from-root-79BB3EA8498403DE"
13+
dependencies = ["core"]

0 commit comments

Comments
 (0)