Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
mehdi-torabiv committed Aug 14, 2024
1 parent fc2f172 commit 5c7a66a
Showing 4 changed files with 1,055 additions and 12 deletions.
7 changes: 0 additions & 7 deletions src/constants.d.ts

This file was deleted.

6 changes: 3 additions & 3 deletions src/pages/Identifiers/Attestation/Attestation.tsx
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import { useWriteContract, useAccount } from 'wagmi';
import StepperComponent from '../../../components/shared/CustomStepper';
import { platformAuthentication } from '../../../services/api/auth';
import { useLinkIdentifierMutation } from '../../../services/api/linking/query';
import { SUPPORTED_CHAINS } from '../../../contracts/chains/constants';
import sepoliaChain from '../../../utils/contracts/eas/sepoliaChain.json';

const steps = [{ label: 'Auth' }, { label: 'Attest' }, { label: 'Transact' }];

@@ -101,8 +101,8 @@ export function Attestation() {

const handleAttest = () => {
writeContract({
abi: SUPPORTED_CHAINS[0].easContractAbi,
address: SUPPORTED_CHAINS[0].easContractAddress as Address,
abi: sepoliaChain.easContractAbi,
address: sepoliaChain.easContractAddress as Address,
functionName: 'attestByDelegation',
args: [linkingIdentifierRequest],
});
1,051 changes: 1,051 additions & 0 deletions src/utils/contracts/eas/sepoliaChain.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -25,8 +25,7 @@
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@contracts/*": ["contracts/*"]
"@/*": ["./src/*"]
}
},
"include": [".prettierrc.cjs", ".eslintrc.cjs", "src"]

0 comments on commit 5c7a66a

Please sign in to comment.