@@ -1152,8 +1152,7 @@ const createTransactionForDelegate = async (
11521152 tx . setGasBudgetIfNotSet ( ONE_SUI / 10 ) ;
11531153
11541154 const serialized = await tx . build ( { client : api } ) ;
1155- // TODO: remove cast once @mysten /signers is bumped to v2-compat
1156- const { bcsObjects } = await getInputObjects ( tx as any , withBatchedMultiGetObjects ( api ) as any ) ;
1155+ const { bcsObjects } = await getInputObjects ( tx , withBatchedMultiGetObjects ( api ) ) ;
11571156
11581157 return { serialized, bcsObjects } ;
11591158 } , currencyId ) ;
@@ -1188,8 +1187,7 @@ const createTransactionForUndelegate = async (
11881187 tx . setGasBudgetIfNotSet ( ONE_SUI / 10 ) ;
11891188
11901189 const serialized = await tx . build ( { client : api } ) ;
1191- // TODO: remove cast once @mysten /signers is bumped to v2-compat
1192- const { bcsObjects } = await getInputObjects ( tx as any , withBatchedMultiGetObjects ( api ) as any ) ;
1190+ const { bcsObjects } = await getInputObjects ( tx , withBatchedMultiGetObjects ( api ) ) ;
11931191
11941192 return { serialized, bcsObjects } ;
11951193 } , currencyId ) ;
@@ -1227,8 +1225,7 @@ const createTransactionForOthers = async (
12271225 }
12281226
12291227 const serialized = await tx . build ( { client : api } ) ;
1230- // TODO: remove cast once @mysten /signers is bumped to v2-compat
1231- const { bcsObjects } = await getInputObjects ( tx as any , withBatchedMultiGetObjects ( api ) as any ) ;
1228+ const { bcsObjects } = await getInputObjects ( tx , withBatchedMultiGetObjects ( api ) ) ;
12321229
12331230 return { serialized, bcsObjects } ;
12341231 } , currencyId ) ;
0 commit comments