@@ -167,26 +167,26 @@ mod tests {
167
167
168
168
#[ test]
169
169
fn basic_create2 ( ) {
170
- let args = Create2Args :: parse_from ( [ "foundry-cli" , "--starts-with" , "babe " ] ) ;
170
+ let args = Create2Args :: parse_from ( [ "foundry-cli" , "--starts-with" , "aa " ] ) ;
171
171
let create2_out = args. run ( ) . unwrap ( ) ;
172
172
let address = create2_out. address ;
173
173
let address = format ! ( "{address:x}" ) ;
174
174
175
- assert ! ( address. starts_with( "babe " ) ) ;
175
+ assert ! ( address. starts_with( "aa " ) ) ;
176
176
}
177
177
178
178
#[ test]
179
179
fn matches_pattern ( ) {
180
180
let args = Create2Args :: parse_from ( [
181
181
"foundry-cli" ,
182
182
"--matching" ,
183
- "0xbabeXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX " ,
183
+ "0xbbXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX " ,
184
184
] ) ;
185
185
let create2_out = args. run ( ) . unwrap ( ) ;
186
186
let address = create2_out. address ;
187
187
let address = format ! ( "{address:x}" ) ;
188
188
189
- assert ! ( address. starts_with( "babe " ) ) ;
189
+ assert ! ( address. starts_with( "bb " ) ) ;
190
190
}
191
191
192
192
#[ test]
@@ -195,7 +195,7 @@ mod tests {
195
195
let args = Create2Args :: parse_from ( [
196
196
"foundry-cli" ,
197
197
"--starts-with" ,
198
- "babe " ,
198
+ "cc " ,
199
199
"--init-code" ,
200
200
init_code,
201
201
] ) ;
@@ -205,7 +205,7 @@ mod tests {
205
205
let salt = create2_out. salt ;
206
206
let deployer = Address :: from_str ( DEPLOYER ) . unwrap ( ) ;
207
207
208
- assert ! ( address_str. starts_with( "babe " ) ) ;
208
+ assert ! ( address_str. starts_with( "cc " ) ) ;
209
209
assert_eq ! ( address, verify_create2( deployer, salt, hex:: decode( init_code) . unwrap( ) ) ) ;
210
210
}
211
211
@@ -215,7 +215,7 @@ mod tests {
215
215
let args = Create2Args :: parse_from ( [
216
216
"foundry-cli" ,
217
217
"--starts-with" ,
218
- "babe " ,
218
+ "dd " ,
219
219
"--init-code-hash" ,
220
220
init_code_hash,
221
221
] ) ;
@@ -225,7 +225,7 @@ mod tests {
225
225
let salt = create2_out. salt ;
226
226
let deployer = Address :: from_str ( DEPLOYER ) . unwrap ( ) ;
227
227
228
- assert ! ( address_str. starts_with( "babe " ) ) ;
228
+ assert ! ( address_str. starts_with( "dd " ) ) ;
229
229
assert_eq ! (
230
230
address,
231
231
verify_create2_hash( deployer, salt, hex:: decode( init_code_hash) . unwrap( ) )
0 commit comments