Skip to content

Commit 674e460

Browse files
Merge pull request #29 from TogetherCrew/27-add-support-for-arbitrum-one-network
27 add support for arbitrum one network
2 parents 36243a5 + 72ca3b6 commit 674e460

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

src/eas/eas.service.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,6 @@ export class EasService {
248248
)
249249
const decodedData = this.decodeAttestationData(attestation.data)
250250
const secret = decodedData[2].value.value
251-
console.log(
252-
chainId,
253-
attestation,
254-
siweJwtPayload.sub,
255-
decodedData,
256-
secret
257-
)
258251
return await this.litService.decryptFromJson(chainId, secret)
259252
}
260253
}

src/lit/constants/network.constants.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,16 @@ export const networks = {
2525
},
2626
rpc: LIT_RPC.CHRONICLE_YELLOWSTONE,
2727
},
28+
datil: {
29+
clientConfig: {
30+
alertWhenUnauthorized: false,
31+
litNetwork: LitNetwork.Datil,
32+
debug: true,
33+
},
34+
contractConfig: {
35+
network: LitNetwork.Datil,
36+
debug: true,
37+
},
38+
rpc: LIT_RPC.CHRONICLE_YELLOWSTONE,
39+
},
2840
}

src/lit/lit.service.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,6 @@ export class LitService {
198198
await this.connect()
199199
}
200200
try {
201-
console.log(
202-
'maaaaaa',
203-
chainId,
204-
ACCESS_MANAGER_CONTRACTS[chainId].metadata.hasRoleFunctionName,
205-
ACCESS_MANAGER_CONTRACTS[chainId].metadata.HasRoleRoleId
206-
)
207201
return await encryptToJson({
208202
string: JSON.stringify(dataToEncrypt),
209203
litNodeClient: this.litNodeClient,

0 commit comments

Comments
 (0)