Skip to content

Commit

Permalink
feat: use verified/turbo flags on SX spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekhmet committed Sep 30, 2024
1 parent e094a0e commit bc54ce3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions apps/ui/src/networks/common/graphqlApi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ function formatSpace(
return {
...space,
network: networkId,
verified: false,
turbo: false,
name: space.metadata.name,
avatar: space.metadata.avatar,
cover: space.metadata.cover,
Expand Down
2 changes: 2 additions & 0 deletions apps/ui/src/networks/common/graphqlApi/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import gql from 'graphql-tag';
const SPACE_FRAGMENT = gql`
fragment spaceFragment on Space {
id
verified
turbo
metadata {
name
avatar
Expand Down
2 changes: 2 additions & 0 deletions apps/ui/src/networks/common/graphqlApi/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export type ApiExecutorStrategy = {

export type ApiSpace = {
id: string;
verified: boolean;
turbo: boolean;
metadata: {
name: string;
avatar: string;
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/networks/evm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const METADATA: Record<string, Metadata> = {
chainId: 11155111,
apiUrl:
import.meta.env.VITE_EVM_SEPOLIA_API ??
'https://subgraph.snapshot.org/subgraphs/name/snapshot-labs/sx-subgraph',
'https://api.studio.thegraph.com/query/23545/sx-sepolia/version/latest',
avatar:
'ipfs://bafkreid7ndxh6y2ljw2jhbisodiyrhcy2udvnwqgon5wgells3kh4si5z4',
blockTime: 13.2816
Expand Down

0 comments on commit bc54ce3

Please sign in to comment.