1- import { AbiFunction , AbiParameters , Address , Bytes , Hash , Hex , Provider , Secp256k1 , Signature } from 'ox'
1+ import { AbiFunction , AbiParameters , Address , Bytes , Hash , Hex , Provider , Secp256k1 } from 'ox'
22import {
33 Config ,
44 Leaf ,
@@ -22,7 +22,7 @@ import { RECOVER_SAPIENT_SIGNATURE, RECOVER_SAPIENT_SIGNATURE_COMPACT, IS_VALID_
2222import { wrap , decode } from './erc-6492.js'
2323import { fromConfigUpdate , hash , Parented } from './payload.js'
2424import { minBytesFor , packRSY , unpackRSY } from './utils.js'
25- import { Constants , Network } from './index.js'
25+ import { Constants } from './index.js'
2626
2727export const FLAG_SIGNATURE_HASH = 0
2828export const FLAG_ADDRESS = 1
@@ -1218,7 +1218,7 @@ async function recoverTopology(
12181218 weight : topology . weight ,
12191219 }
12201220
1221- default :
1221+ default : {
12221222 const provider = 'provider' in options ! . provider ? options ! . provider . provider : options ! . provider
12231223 const block = 'block' in options ! . provider ? options ! . provider . block : undefined
12241224
@@ -1254,6 +1254,7 @@ async function recoverTopology(
12541254 }
12551255 }
12561256 }
1257+ }
12571258 }
12581259
12591260 case 'sapient' :
@@ -1264,7 +1265,7 @@ async function recoverTopology(
12641265 case 'assume-valid' :
12651266 throw new Error ( `unable to validate sapient signer ${ topology . signature . address } signature` )
12661267
1267- default :
1268+ default : {
12681269 const provider = 'provider' in options ! . provider ? options ! . provider . provider : options ! . provider
12691270 const block = 'block' in options ! . provider ? options ! . provider . block : undefined
12701271
@@ -1298,6 +1299,7 @@ async function recoverTopology(
12981299 } ,
12991300 weight : topology . weight ,
13001301 }
1302+ }
13011303 }
13021304 }
13031305 } else if ( isRawNestedLeaf ( topology ) ) {
0 commit comments