File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ impl MultihopTrait for Multihop {
373
373
. instance ( )
374
374
. extend_ttl ( INSTANCE_RENEWAL_THRESHOLD , INSTANCE_TARGET_TTL ) ;
375
375
376
- let admin = get_factory ( & env) ;
376
+ let admin = get_admin_old ( & env) ;
377
377
378
378
Ok ( admin)
379
379
}
Original file line number Diff line number Diff line change @@ -257,7 +257,6 @@ fn test_update() {
257
257
env. mock_all_auths ( ) ;
258
258
259
259
let admin = Address :: generate ( & env) ;
260
- let new_admin = Address :: generate ( & env) ;
261
260
262
261
let old_multihop_addr = env. register ( old_multihop:: WASM , ( ) ) ;
263
262
let multihop = old_multihop:: Client :: new ( & env, & old_multihop_addr) ;
@@ -268,13 +267,14 @@ fn test_update() {
268
267
multihop. update ( & new_wasm_hash) ;
269
268
270
269
let latest_multihop_client = MultihopClient :: new ( & env, & old_multihop_addr) ;
271
- latest_multihop_client. propose_admin ( & new_admin, & Some ( 1_000 ) ) ;
272
270
273
271
let expected_version = env ! ( "CARGO_PKG_VERSION" ) ;
274
272
let version = latest_multihop_client. query_version ( ) ;
275
273
assert_eq ! ( String :: from_str( & env, expected_version) , version) ;
276
274
277
275
let new_admin = Address :: generate ( & env) ;
276
+ soroban_sdk:: testutils:: arbitrary:: std:: dbg!( & admin, & new_admin) ;
277
+
278
278
latest_multihop_client. propose_admin ( & new_admin, & None ) ;
279
279
latest_multihop_client. accept_admin ( ) ;
280
280
You can’t perform that action at this time.
0 commit comments