From d08a1230e5f10cb3c620e76d84533f6f9fd4be9d Mon Sep 17 00:00:00 2001 From: Doug Kent Date: Mon, 26 Oct 2020 11:53:43 -0400 Subject: [PATCH 1/5] disable travis cache --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e8016a658..17669deed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,8 @@ before_install: addons: chrome: stable +cache: false + script: - docker -v - docker-compose -v From e4eed38b49312fc483a86f0784300ccd7a9f8686 Mon Sep 17 00:00:00 2001 From: orenyodfat Date: Fri, 30 Oct 2020 12:47:42 +0200 Subject: [PATCH 2/5] Update README.md (#2228) * Update README.md * Update README.md * Update README.md * Update README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 6cb928b23..bfe5e21db 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,29 @@ [![Build Status](https://travis-ci.org/daostack/alchemy.svg?branch=dev)](https://travis-ci.org/daostack/alchemy) +## URLs +https://v1.alchemy.do - alchemy v1 on mainnet + +https://xdai.v1.alchemy.do - alchemy v1 on xdai + +https://rinkeby.v1.alchemy.do - alchemy v1 on rinkeby + +https://kovan.v1.alchemy.do - alchemy v1 on kovan + +**Alchemy 2.0** :fire: + +Alchemy v2 source code can be found under [master-2](https://github.com/daostack/alchemy/tree/master-2) branch. + +https://alchemy.do - alchemy 2.0 on mainnet + +https://xdai.alchemy.do - alchemy 2.0 on xdai + +https://rinkeby.alchemy.do - alchemy 2.0 on kovan + +https://kovan.alchemy.do - alchemy 2.0 on rinkeby + + + **Alchemy is a budgeting and resource-allocation tool for decentralized organizations.** It is an interface that enables thousands of individuals to coordinate towards a common purpose, by proposing and deciding on how to spend funds in alignment with their goals and values. Some example use cases for Alchemy include decentralized venture funds, charitable funds, innovation funds, a budget proposal system (like Dash but more sophisticated), or prioritizing features for an open-source project. From ff493e5baa67c51904067cae879b669fd1ce654e Mon Sep 17 00:00:00 2001 From: roienatan <34843014+roienatan@users.noreply.github.com> Date: Mon, 2 Nov 2020 10:44:42 +0200 Subject: [PATCH 3/5] Avoid crashing Alchemy when there is no network or The Graph servers are overloaded - 1.0 (#2232) * avoid crashing Alchemy when there is not network or The Graph servers are overloaded * update retry link --- src/arc.ts | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/src/arc.ts b/src/arc.ts index 66db94c34..a362c36a7 100644 --- a/src/arc.ts +++ b/src/arc.ts @@ -134,25 +134,16 @@ export async function initializeArc(provider?: any): Promise { // https://www.apollographql.com/docs/link/links/retry/ const retryLink = new RetryLink({ - attempts: { - max: 5, - retryIf: (error, _operation) => { - // eslint-disable-next-line no-console - console.error("error occurred fetching data, retrying..."); - // eslint-disable-next-line no-console - console.log(error); - return !!error; - }, + attempts: (count) => { + return (count !== 10); }, - delay: { - initial: 500, // this is the initial time after the first retry - // next retries )up to max) will be exponential (i..e after 2*iniitial, etc) - jitter: true, - max: Infinity, + delay: () => { + // This will give a random delay between retries between the range of 5 to 30 seconds. + return Math.floor(Math.random() * (30000 - 5000 + 1) + 5000); }, }); - arcSettings.retryLink = retryLink; + arcSettings.graphqlRetryLink = retryLink; // if there is no existing arc, we create a new one if ((window as any).arc) { From d7c955ffd00530541f41ec741c4faa0344121386 Mon Sep 17 00:00:00 2001 From: roienatan <34843014+roienatan@users.noreply.github.com> Date: Mon, 2 Nov 2020 12:07:26 +0200 Subject: [PATCH 4/5] bump version ; update changelog (#2234) * bump version ; update chagelog * update changelog --- CHANGELOG.md | 4 ++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef201aeae..25d59bf31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + - Bugs Fixed + - Alchemy should not crash immediately when there is a subgraph error. It will retry for approximately 2.5 minutes. + ## 1.0.0 - Features Added - Show active proposal status on the Proposal History page diff --git a/package-lock.json b/package-lock.json index 6ca1d76fb..c747b6494 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "alchemy-client", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a1a2ff264..83a96937c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "alchemy-client", - "version": "1.0.0", + "version": "1.0.1", "description": "An app for collaborative networks (DAOs), based on the DAO stack.", "author": "DAOstack", "license": "GPL-3.0", From 3bf1f6dca65b0153d7b890452936bd406f012aca Mon Sep 17 00:00:00 2001 From: roienatan <34843014+roienatan@users.noreply.github.com> Date: Mon, 2 Nov 2020 16:25:05 +0200 Subject: [PATCH 5/5] Update .travis.yml --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17669deed..e8016a658 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,6 @@ before_install: addons: chrome: stable -cache: false - script: - docker -v - docker-compose -v