Skip to content

Commit 09ab3f7

Browse files
committed
update tests
1 parent fd3d600 commit 09ab3f7

File tree

9 files changed

+27
-23
lines changed

9 files changed

+27
-23
lines changed

test/src/e2e_vm_tests/test_programs/should_pass/language/configurable_consts/json_abi_oracle_new_encoding.release.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,97 +63,97 @@
6363
"concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
6464
"indirect": false,
6565
"name": "BOOL",
66-
"offset": 4736
66+
"offset": 4704
6767
},
6868
{
6969
"concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b",
7070
"indirect": false,
7171
"name": "U8",
72-
"offset": 4928
72+
"offset": 4896
7373
},
7474
{
7575
"concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b",
7676
"indirect": false,
7777
"name": "ANOTHER_U8",
78-
"offset": 4664
78+
"offset": 4632
7979
},
8080
{
8181
"concreteTypeId": "29881aad8730c5ab11d275376323d8e4ff4179aae8ccb6c13fe4902137e162ef",
8282
"indirect": false,
8383
"name": "U16",
84-
"offset": 4872
84+
"offset": 4840
8585
},
8686
{
8787
"concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc",
8888
"indirect": false,
8989
"name": "U32",
90-
"offset": 4912
90+
"offset": 4880
9191
},
9292
{
9393
"concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc",
9494
"indirect": false,
9595
"name": "U64",
96-
"offset": 4920
96+
"offset": 4888
9797
},
9898
{
9999
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
100100
"indirect": false,
101101
"name": "U256",
102-
"offset": 4880
102+
"offset": 4848
103103
},
104104
{
105105
"concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
106106
"indirect": false,
107107
"name": "B256",
108-
"offset": 4704
108+
"offset": 4672
109109
},
110110
{
111111
"concreteTypeId": "81fc10c4681a3271cf2d66b2ec6fbc8ed007a442652930844fcf11818c295bff",
112112
"indirect": false,
113113
"name": "CONFIGURABLE_STRUCT",
114-
"offset": 4824
114+
"offset": 4792
115115
},
116116
{
117117
"concreteTypeId": "a2922861f03be8a650595dd76455b95383a61b46dd418f02607fa2e00dc39d5c",
118118
"indirect": false,
119119
"name": "CONFIGURABLE_ENUM_A",
120-
"offset": 4744
120+
"offset": 4712
121121
},
122122
{
123123
"concreteTypeId": "a2922861f03be8a650595dd76455b95383a61b46dd418f02607fa2e00dc39d5c",
124124
"indirect": false,
125125
"name": "CONFIGURABLE_ENUM_B",
126-
"offset": 4784
126+
"offset": 4752
127127
},
128128
{
129129
"concreteTypeId": "4926d35d1a5157936b0a29bc126b8aace6d911209a5c130e9b716b0c73643ea6",
130130
"indirect": false,
131131
"name": "ARRAY_BOOL",
132-
"offset": 4672
132+
"offset": 4640
133133
},
134134
{
135135
"concreteTypeId": "776fb5a3824169d6736138565fdc20aad684d9111266a5ff6d5c675280b7e199",
136136
"indirect": false,
137137
"name": "ARRAY_U64",
138-
"offset": 4680
138+
"offset": 4648
139139
},
140140
{
141141
"concreteTypeId": "c998ca9a5f221fe7b5c66ae70c8a9562b86d964408b00d17f883c906bc1fe4be",
142142
"indirect": false,
143143
"name": "TUPLE_BOOL_U64",
144-
"offset": 4856
144+
"offset": 4824
145145
},
146146
{
147147
"concreteTypeId": "94f0fa95c830be5e4f711963e83259fe7e8bc723278ab6ec34449e791a99b53a",
148148
"indirect": false,
149149
"name": "STR_4",
150-
"offset": 4848
150+
"offset": 4816
151151
},
152152
{
153153
"concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b",
154154
"indirect": false,
155155
"name": "NOT_USED",
156-
"offset": 4840
156+
"offset": 4808
157157
}
158158
],
159159
"encodingVersion": "1",

test/src/e2e_vm_tests/test_programs/should_pass/language/intrinsics/log/json_abi_oracle_new_encoding.release.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
}
4040
],
4141
"loggedTypes": [
42+
{
43+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
44+
"logId": "1515152261580153489"
45+
},
4246
{
4347
"concreteTypeId": "3f8dc98862e8f3a9b179125e425353ebec6c0f5fc639afce8ed40456c21d3c62",
4448
"logId": "4579537983717831593"

test/src/e2e_vm_tests/test_programs/should_pass/language/u256/u256_abi/json_abi_oracle_new_encoding.release.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
1111
"indirect": false,
1212
"name": "SOME_U256",
13-
"offset": 672
13+
"offset": 384
1414
}
1515
],
1616
"encodingVersion": "1",

test/src/e2e_vm_tests/test_programs/should_pass/require_contract_deployment/array_of_structs_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 = 0x14ed3cd06c2947248f69d54bfa681fe40d26267be84df7e19e253622b7921bbe;
88
#[cfg(experimental_new_encoding = true)]
9-
const CONTRACT_ID = 0x25c36f98a78201dbb8f18ef59f532eef068e88323ed8072f47bc12c247930604; // AUTO-CONTRACT-ID ../../test_contracts/array_of_structs_contract --release
9+
const CONTRACT_ID = 0x86d1768b626182f734e91a9f5329519485e8afbae7a5ec3bf772c8c6b7ccff19; // AUTO-CONTRACT-ID ../../test_contracts/array_of_structs_contract --release
1010

1111
fn get_address() -> Option<std::address::Address> {
1212
Some(CONTRACT_ID.into())

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 = 0xa244d2abab617c2b46cf39d5b69e70c20c7b26a95743ae80e50f9256726df250; // AUTO-CONTRACT-ID ../../test_contracts/basic_storage --release
7+
const CONTRACT_ID = 0x28dd1312e27716e2175cad2bed614ce2f930fe93dc250a5f57ae11adccc9ec76; // 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_contract_with_type_aliases/src/main.sw

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

1010
fn main() {
1111
let caller = abi(MyContract, 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 = 0xe06c8e6c63b68a4318bf2a89230c26cb4a123694ef4d304119242f793f6f6b30; // AUTO-CONTRACT-ID ../../test_contracts/storage_enum_contract --release
8+
const CONTRACT_ID = 0xa09470dbde832b54231e8fca6ce5fb7a8bf051f56c7d0ea0b0b3101983954c5d; // 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/nested_struct_args_caller/src/main.sw

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

1010
fn main() -> bool {
1111
let caller = abi(NestedStructArgs, 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 = 0xd13e88ba57bd2957c56ba97c462202fc88d98b5502e56d7cebaf02f5312bed06; // AUTO-CONTRACT-ID ../../test_contracts/storage_access_contract --release
9+
const CONTRACT_ID = 0xcb3b3354fd53ae49c831932c4a99b08821ee63ee7c9073a2a1e6a708dc883c61; // 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)