@@ -19,7 +19,10 @@ import {
19
19
} from 'viem'
20
20
import { MultiKeySigner } from 'viem/_types/experimental/erc7715/types/signer'
21
21
import { ModuleType } from 'permissionless/actions/erc7579'
22
- import { MOCK_VALIDATOR_ADDRESSES } from './builders/SmartSessionUtil'
22
+ import {
23
+ MOCK_VALIDATOR_ADDRESSES ,
24
+ TRUSTED_SMART_SESSIONS_ATTERSTER_ADDRESS
25
+ } from './builders/SmartSessionUtil'
23
26
import { Permission } from '@/data/EIP7715Data'
24
27
import { getSmartSessionContext } from './builders/ContextBuilderUtil'
25
28
import { readContract } from 'viem/actions'
@@ -181,7 +184,7 @@ export class SafeSmartAccountLib extends SmartAccountLib {
181
184
console . log ( 'Smart Account do not trusted the attesters of the smartsessions module' )
182
185
console . log ( 'Enable trusting the attesters of the smartsessions module' )
183
186
const trustAttestersAction = getTrustAttestersAction ( {
184
- attesters : [ '0xA4C777199658a41688E9488c4EcbD7a2925Cc23A' ] ,
187
+ attesters : [ TRUSTED_SMART_SESSIONS_ATTERSTER_ADDRESS ] ,
185
188
threshold : 1
186
189
} )
187
190
setUpSmartAccountForSmartSession . push ( trustAttestersAction )
@@ -260,7 +263,6 @@ export class SafeSmartAccountLib extends SmartAccountLib {
260
263
throw new Error ( 'Client not initialized' )
261
264
}
262
265
263
- const TRUSTED_SMART_SESSIONS_ATTERSTER_ADDRESS = '0xA4C777199658a41688E9488c4EcbD7a2925Cc23A'
264
266
const attesters = await readContract ( this . publicClient , {
265
267
address : REGISTRY_ADDRESS ,
266
268
abi : parseAbi ( [
0 commit comments