Commit 10c59f3 1 parent 4eedb91 commit 10c59f3 Copy full SHA for 10c59f3
File tree 1 file changed +2
-2
lines changed
integration-tests/chopsticks/src/helper
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { decodeAddress } from '@polkadot/util-crypto'
5
5
6
6
import type { SubmittableExtrinsic } from '@polkadot/api/types'
7
7
import type { KeyringPair } from '@polkadot/keyring/types'
8
- import type { GenericEvent } from '@polkadot/types'
9
8
import type { Codec } from '@polkadot/types/types'
10
9
import type { ExpectStatic } from 'vitest'
11
10
@@ -82,7 +81,8 @@ export function validateBalanceWithPrecision(
82
81
* Fetches the paid fees for the executed XCM message. Is only working on the sender chain.
83
82
*/
84
83
export async function getPaidXcmFees ( api : ApiPromise , events : Codec [ ] ) : Promise < bigint > {
85
- const polkadotFees = events . find ( ( event ) => api . events . polkadotXcm . FeesPaid . is ( event as GenericEvent ) )
84
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
85
+ const polkadotFees = events . find ( ( event ) => api . events . polkadotXcm . FeesPaid . is ( ( event as any ) . event ) )
86
86
if ( ! polkadotFees ) {
87
87
throw new Error ( 'FeesPaid event not found' )
88
88
}
You can’t perform that action at this time.
0 commit comments