Skip to content

Commit

Permalink
Merge pull request #910 from Giveth/feat/upgade_monoswap_polygon_node…
Browse files Browse the repository at this point in the history
…_url

Feat/upgade monoswap polygon node url
  • Loading branch information
CarlosQ96 authored Mar 17, 2023
2 parents 6e13387 + a988484 commit d07dbbd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
5 changes: 2 additions & 3 deletions config/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ GNOSISSCAN_API_URL=https://api.gnosisscan.io/api
ETHERSCAN_API_KEY=0000000000000000000000000000000000
GNOSISSCAN_API_KEY=0000000000000000000000000000000000
INFURA_API_KEY=0000000000000000000000000000000000
# It should have same value as INFURA_API_KEY, but we should use it because monoswap needs to read this from .env
ETHEREUM_NODE_ID=
NUMBER_OF_VERIFY_DONATION_CONCURRENT_JOB=1

# Optional - polygon dedicated RPC url
POLYGON_MAINNET_NODE_HTTP_URL=
# This means every second
VERIFY_DONATION_CRONJOB_EXPRESSION=0 * * * * *

Expand Down
3 changes: 3 additions & 0 deletions config/test.env
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,6 @@ CHAINVINE_ADAPTER=mock
CHAINVINE_API_ENABLE_TEST_MODE=true
# We should not try to verify donaitons after some hours, because checking old donations would make lots of requests to web3 providers
DONATION_VERIFICAITON_EXPIRATION_HOURS=24

# We need it for monoswap
POLYGON_MAINNET_NODE_HTTP_URL=https://polygon-rpc.com
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "giveth-graphql-api",
"version": "1.10.5",
"version": "1.11.0",
"description": "Backend GraphQL server for Giveth originally forked from Topia",
"main": "./dist/index.js",
"dependencies": {
Expand All @@ -10,7 +10,7 @@
"@apollo/server": "4.3.1",
"@apollo/server-plugin-landing-page-graphql-playground": "4.0.0",
"@chainvine/sdk": "1.0.19",
"@giveth/monoswap": "^1.0.4",
"@giveth/monoswap": "^1.1.1",
"@sentry/node": "6.16.1",
"@sentry/tracing": "^6.2.0",
"@types/bcryptjs": "^2.4.2",
Expand Down

0 comments on commit d07dbbd

Please sign in to comment.