Skip to content

Commit 01af87b

Browse files
authored
Merge branch 'main' into main
2 parents 069727e + 338d04f commit 01af87b

File tree

151 files changed

+8989
-6232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+8989
-6232
lines changed

.env.example

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ REACT_APP_WALLETCONNECT_PROJECT_ID=42a4d689485d5a324116e53ed077d907
2020
#REACT_APP_INFURA_ID=
2121

2222
##Passport - nonessential in local
23-
REACT_APP_PASSPORT_API_ENDPOINT=https://api.scorer.gitcoin.co
23+
REACT_APP_PASSPORT_API_ENDPOINT=https://api.passport.xyz
2424
# Get your own key at https://scorer.gitcoin.co
2525
REACT_APP_PASSPORT_API_KEY=
2626
REACT_APP_PASSPORT_API_COMMUNITY_ID=335
@@ -29,7 +29,9 @@ REACT_APP_PASSPORT_API_COMMUNITY_ID_AVALANCHE=0000
2929

3030
##Indexer & Data Layer - DEFAULTS SUFFICIENT
3131
# URL of the indexer. http://localhost:8080 for local indexer
32-
REACT_APP_INDEXER_V2_API_URL=https://grants-stack-indexer-v2.gitcoin.co
32+
REACT_APP_INDEXER_V1_API_URL=https://grants-stack-indexer-v2.gitcoin.co
33+
REACT_APP_INDEXER_V2_API_URL=https://beta.indexer.gitcoin.co/v1
34+
3335
# Search API URL where the Data Layer should point to
3436
REACT_APP_GRANTS_STACK_SEARCH_API_BASE_URL=https://d2n9vtjeq685yt.cloudfront.net
3537

@@ -70,3 +72,10 @@ REACT_APP_OSO_API_KEY=
7072
REACT_APP_BUILDER_URL=https://builder.gitcoin.co
7173
REACT_APP_GRANT_EXPLORER=https://explorer.gitcoin.co
7274
# ---------------------------
75+
76+
# ---------------------------
77+
# Coingecko
78+
REACT_APP_COINGECKO_API_KEY=
79+
# ---------------------------
80+
81+
REACT_APP_STAKING_APP=https://boost.explorer.gitcoin.co/

.github/ISSUE_TEMPLATE/dataRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ assignees: ''
1717
*request timeline* <br>
1818

1919
**Specific Indicators/Metrics:**<br>
20-
*Please add each indictor/metric below. Feel free to link specific formulas if you have something in mind*<br>
20+
*Please add each indicator/metric below. Feel free to link specific formulas if you have something in mind*<br>
2121
- [ ] Indicator example 1
2222
- [ ] Indicator example 2
2323
- [ ] Indicator example 3

.github/workflows/builder.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
run: |
3636
pnpm lint:builder
3737
38-
- name: Test Builder
39-
run: |
40-
pnpm test:builder
38+
# - name: Test Builder
39+
# run: |
40+
# pnpm test:builder
4141

4242
- name: Typecheck Builder
4343
run: |

.github/workflows/common.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ jobs:
3838
run: |
3939
pnpm lint:common
4040
41-
- name: Test Common
42-
run: |
43-
pnpm test:common
41+
# - name: Test Common
42+
# run: |
43+
# pnpm test:common

.github/workflows/data-layer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
pnpm lint:data-layer
4040
41-
- name: Test Data Layer
42-
run: |
43-
pnpm test:data-layer
41+
# - name: Test Data Layer
42+
# run: |
43+
# pnpm test:data-layer
4444

.github/workflows/grant-explorer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
run: |
3535
pnpm lint:explorer
3636
37-
- name: Test Explorer
38-
run: |
39-
pnpm test:explorer
37+
# - name: Test Explorer
38+
# run: |
39+
# pnpm test:explorer
4040

4141
- name: Typecheck Explorer
4242
run: |

.github/workflows/round-manager.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
run: |
3535
pnpm lint:manager
3636
37-
- name: Test Round Manager
38-
run: |
39-
pnpm test:manager
37+
# - name: Test Round Manager
38+
# run: |
39+
# pnpm test:manager
4040

4141
- name: Typecheck Round Manager
4242
run: |

docs/DEV.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ Set the WalletConnect applicationId in the `.env` file: `REACT_APP_WALLETCONNECT
4242
Set your Alchemy API Key: `REACT_APP_ALCHEMY_ID=[YOUR ALCHEMY API KEY]`
4343

4444
The default configuration loads data from the production indexer.
45-
You can point your dapps to a local indexer changing the following variable: `REACT_APP_INDEXER_V2_API_URL=http://localhost:PORT_NUMBER`
45+
You can point your dapps to a local indexer changing the following variables:
46+
- `REACT_APP_INDEXER_V1_API_URL=http://localhost:PORT_NUMBER`
47+
- `REACT_APP_INDEXER_V2_API_URL=http://localhost:PORT_NUMBER`
4648

4749
### Run All Packages
4850

lefthook.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,3 @@ pre-push:
4141
run: pnpm turbo run typecheck
4242
build:
4343
run: pnpm turbo run build
44-
test:
45-
run: pnpm turbo run test --concurrency=50%

packages/builder/src/actions/grantsMetadata.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ export const transformAndDispatchProject =
9696
};
9797

9898
// todo: should we lowercase the owner addresses?
99-
const ownerAddresses: string[] = project.roles
100-
.filter((role: AddressAndRole) => role.role === "OWNER")
99+
console.log("project.projectRoles", project.projectRoles);
100+
const ownerAddresses: string[] = project.projectRoles
101+
.filter((role: AddressAndRole) => role.role === "owner")
101102
.map((role) => ethers.utils.getAddress(role.address));
102103

103104
dispatch(projectOwnersLoaded(id, ownerAddresses));

0 commit comments

Comments
 (0)