Skip to content

Commit

Permalink
Fix default eth envs + fix fetch types for address verificaion
Browse files Browse the repository at this point in the history
  • Loading branch information
ElKornacio committed Nov 21, 2023
1 parent 1adaac5 commit eb64cdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
9 changes: 1 addition & 8 deletions configs/envs/.env.eth
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,4 @@ NEXT_PUBLIC_OG_IMAGE_URL=https://github.com/blockscout/frontend-configs/blob/mai
# ylide
NEXT_PUBLIC_IS_FORUM_SUPPORTED=true
NEXT_PUBLIC_FORUM_INDEXER_URL=https://forum-blockscout.ylide.io
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=e9deead089b3383b2db777961e3fa244

# NEXT_PUBLIC_APP_PORT=443
# NEXT_PUBLIC_APP_PROTOCOL=https
# NEXT_PUBLIC_APP_HOST=bss.ylide.io

# NEXT_PUBLIC_API_HOST=bss.ylide.io
# NEXT_PUBLIC_API_PORT=443
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=e9deead089b3383b2db777961e3fa244
8 changes: 4 additions & 4 deletions ui/addressVerification/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export type AddressCheckResponseSuccess = {
status: 'SUCCESS';
result: AddressCheckStatusSuccess;
} |
{ status: 'IS_OWNER_ERROR' } |
{ status: 'OWNERSHIP_VERIFIED_ERROR' } |
{ status: 'SOURCE_CODE_NOT_VERIFIED_ERROR' } |
{ status: 'INVALID_ADDRESS_ERROR' };
{ status: 'IS_OWNER_ERROR'; payload?: { message?: string } } |
{ status: 'OWNERSHIP_VERIFIED_ERROR'; payload?: { message?: string } } |
{ status: 'SOURCE_CODE_NOT_VERIFIED_ERROR'; payload?: { message?: string } } |
{ status: 'INVALID_ADDRESS_ERROR'; payload?: { message?: string } };

export interface AddressVerificationResponseError {
code: number;
Expand Down

0 comments on commit eb64cdc

Please sign in to comment.