Skip to content

Commit 1295cfd

Browse files
committed
Adjust contract ids in tests
1 parent 787cd87 commit 1295cfd

File tree

5 files changed

+8
-8
lines changed
  • forc-plugins/forc-client/tests
  • test/src/e2e_vm_tests/test_programs/should_pass/require_contract_deployment

5 files changed

+8
-8
lines changed

forc-plugins/forc-client/tests/deploy.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ async fn test_simple_deploy() {
377377
node.kill().unwrap();
378378
let expected = vec![DeployedPackage::Contract(DeployedContract {
379379
id: ContractId::from_str(
380-
"4013221a3c9a9f5fecd4efd4414a932e2d4989d39cb0627edf3e96cefe6a0d98",
380+
"b3186dd386c846c80366df07130a4c6d6b9aae183298bf18166897a65007b3ac",
381381
)
382382
.unwrap(),
383383
proxy: None,
@@ -421,7 +421,7 @@ async fn test_deploy_submit_only() {
421421
node.kill().unwrap();
422422
let expected = vec![DeployedPackage::Contract(DeployedContract {
423423
id: ContractId::from_str(
424-
"4013221a3c9a9f5fecd4efd4414a932e2d4989d39cb0627edf3e96cefe6a0d98",
424+
"b3186dd386c846c80366df07130a4c6d6b9aae183298bf18166897a65007b3ac",
425425
)
426426
.unwrap(),
427427
proxy: None,
@@ -468,12 +468,12 @@ async fn test_deploy_fresh_proxy() {
468468
node.kill().unwrap();
469469
let impl_contract = DeployedPackage::Contract(DeployedContract {
470470
id: ContractId::from_str(
471-
"4013221a3c9a9f5fecd4efd4414a932e2d4989d39cb0627edf3e96cefe6a0d98",
471+
"b3186dd386c846c80366df07130a4c6d6b9aae183298bf18166897a65007b3ac",
472472
)
473473
.unwrap(),
474474
proxy: Some(
475475
ContractId::from_str(
476-
"bd18236609e37988376363bdb63b9515d1cc5b8eefec4f955581ae828fb4d9a9",
476+
"344f0e98c784ca03463f992c65cd3f321855c9ad22aa1309ec0d4f6d56dbb004",
477477
)
478478
.unwrap(),
479479
),

test/src/e2e_vm_tests/test_programs/should_pass/require_contract_deployment/call_basic_storage/src/main.sw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use basic_storage_abi::{BasicStorage, Quad};
44
#[cfg(experimental_new_encoding = false)]
55
const CONTRACT_ID = 0x94db39f409a31b9f2ebcadeea44378e419208c20de90f5d8e1e33dc1523754cb;
66
#[cfg(experimental_new_encoding = true)]
7-
const CONTRACT_ID = 0x828428e3b82fa6613721d908170999a1a78fd82e48e6bdb4638c7b8bb8a2be20; // AUTO-CONTRACT-ID ../../test_contracts/basic_storage --release
7+
const CONTRACT_ID = 0x7c18f55a7664a63068f5965bf8df476baf9098c03228a0794f075de71315b4d2; // AUTO-CONTRACT-ID ../../test_contracts/basic_storage --release
88

99
fn main() -> u64 {
1010
let addr = abi(BasicStorage, CONTRACT_ID);

test/src/e2e_vm_tests/test_programs/should_pass/require_contract_deployment/call_increment_contract/src/main.sw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use dynamic_contract_call::*;
66
#[cfg(experimental_new_encoding = false)]
77
const CONTRACT_ID = 0xd1b4047af7ef111c023ab71069e01dc2abfde487c0a0ce1268e4f447e6c6e4c2;
88
#[cfg(experimental_new_encoding = true)]
9-
const CONTRACT_ID = 0xfbd83deff73ed72be6e25cdd21a5dd22628acbc1ed54342b05e91714b5a5803f; // AUTO-CONTRACT-ID ../../test_contracts/increment_contract --release
9+
const CONTRACT_ID = 0x46d48d13f8d40c6f9815c7fcb81deadb2c675fe30a861c019f868d782df664d9; // AUTO-CONTRACT-ID ../../test_contracts/increment_contract --release
1010

1111
fn main() -> bool {
1212
let the_abi = abi(Incrementor, CONTRACT_ID);

test/src/e2e_vm_tests/test_programs/should_pass/require_contract_deployment/call_storage_enum/src/main.sw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use storage_enum_abi::*;
55
#[cfg(experimental_new_encoding = false)]
66
const CONTRACT_ID = 0xc601d11767195485a6654d566c67774134668863d8c797a8c69e8778fb1f89e9;
77
#[cfg(experimental_new_encoding = true)]
8-
const CONTRACT_ID = 0x58fd2d3b4a9e397e829ef3b938f8bbe4cf076b40e6d7e94b94caa73d1d585097; // AUTO-CONTRACT-ID ../../test_contracts/storage_enum_contract --release
8+
const CONTRACT_ID = 0xbf0f473f8670279568d4137529635f0037261ff6a9a361ec26b0165b0fd46881; // AUTO-CONTRACT-ID ../../test_contracts/storage_enum_contract --release
99

1010
fn main() -> u64 {
1111
let caller = abi(StorageEnum, CONTRACT_ID);

test/src/e2e_vm_tests/test_programs/should_pass/require_contract_deployment/storage_access_caller/src/main.sw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::hash::*;
66
#[cfg(experimental_new_encoding = false)]
77
const CONTRACT_ID = 0x3bc28acd66d327b8c1b9624c1fabfc07e9ffa1b5d71c2832c3bfaaf8f4b805e9;
88
#[cfg(experimental_new_encoding = true)]
9-
const CONTRACT_ID = 0x7cbeb48c2fb90bb07336ce0842c09f5c3dd0e971bd06050565a94154e8fce57c; // AUTO-CONTRACT-ID ../../test_contracts/storage_access_contract --release
9+
const CONTRACT_ID = 0xb30f4caf0e8e9538a54b3837e51e7c23d28ba9ed305cb204ddecaa155a2d8b53; // AUTO-CONTRACT-ID ../../test_contracts/storage_access_contract --release
1010

1111
fn main() -> bool {
1212
let caller = abi(StorageAccess, CONTRACT_ID);

0 commit comments

Comments
 (0)