8000 DAO-43 Multichain support - WIP by yuetloo · Pull Request #1562 · aragon/client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DAO-43 Multichain support - WIP #1562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 48 commits into from
Sep 1, 2021
Merged

DAO-43 Multichain support - WIP #1562

merged 48 commits into from
Sep 1, 2021

Conversation

yuetloo
Copy link
Contributor
@yuetloo yuetloo commented Jul 27, 2021

No description provided.

yuetloo and others added 2 commits July 27, 2021 10:48
* use use-wallet 0.9.0

* remove unnecessary dependency

* fix the CI error @toruslabs/fetch-node-details@2.7.0 for node version too old

* Re-order templates (#1558)

* detect network change

* use injected instead of provided connector, as provided connector is a hack to around web3.js overrides

* switch welcome page content base on network

* more reactive network changes

* fix error on missing networkType

* eth node and ipfs settings by network

* getAppLocator by network type

Co-authored-by: Rekard0 <5880388+Rekard0@users.noreply.github.com>
@linear
Copy link
linear bot commented Jul 27, 2021

@yuetloo yuetloo changed the title Multichain support - WIP DAO-43 Multichain support - WIP Jul 27, 2021
@yuetloo yuetloo self-assigned this Jul 27, 2021
yuetloo and others added 8 commits July 27, 2021 18:07
* temporary use --network-concurrency 1, to be removed once use-wallet 0.9.0 is published.
* connectors redesigned for multichain
* only show network settings on mainnet
* refactor and attempt to fix websocket leaks

* fix connection error on socket disconnect web3

* eslint fixed

* update aragon wrapper

Co-authored-by: yuetloo <contact@yuetloo.com>
@CLAassistant
Copy link
CLAassistant commented Aug 2, 2021

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ Rekard0
✅ yuetloo
❌ novaknole
You have signed the CLA already but the status is still pending? Let us recheck it.

* connectors redesigned for multichain

* eslint problems fixed

* multi localstorage

* update multi localstorage

* update aragon.js wrapper

* eslint fixed
@@ -79,7 +80,7 @@ function getExtendedRepos(appInstanceGroups, repos) {
return {
...repo,
// Use latest version’s assets
baseUrl: repoBaseUrl(repo.appId, repo.latestVersion),
baseUrl: repoBaseUrl(repo.appId, repo.latestVersion, networkType),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to pass networkType ? as In I can see it gets used for app locator and for getting ipfs gateway. Do we have different ipfs gateways for different networks ? Don't see the point of having different ones.

Do we need it for appLocator as well ?

Copy link
Contributor Author
@yuetloo yuetloo Aug 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

< 10000 task-lists disabled sortable>

do you know what appLocator is exactly? is there environment variable settings for the current rinkeby and mainnet settings for APP_LOCATOR?

From these lines and the unit test, the mainnet and rinkeby might have different app locator for finance/voting app??
https://github.com/aragon/client/blob/master/src/app-locator.js#L72-L77

yuetloo and others added 10 commits August 4, 2021 20:25
* fix load org error on network switch

* ipfs settings is network agnostic

* code review comment

* remove mainnet from network type
fix bug that caused create dao to freeze
* show network only for mainnet

* replace logging with sentry with console.log

* remove sentry

* add newline

* remove obsolete .env.enc file
* fix deployment error due to missing wallet

* redirect to home on network change

* fix lint error
* use networkName from use-wallet

* remove neteworkType.js

* revert network type changes for notification service

* update comment
* connectors redesigned for multichain

* eslint problems fixed

* add govern migration page

* fix lint error

* add address field and refactoring

* add govern migration script call

* add govern migration handler

* remove network type

* update yarn.lock

* eslint fixed

* eslint fixed

* eslint fixed

* eslint fixed

* fix nullish operator

* fixed eslint

* fixed eslint

Co-authored-by: yuetloo <contact@yuetloo.com>
novaknole and others added 27 commits August 25, 2021 18:27
* add mumbai

* migration + multichain

* eslint fixed

* eslint fixed
* add mumbai

* fix matic symbol

* eslint fixed
* add mumbai

* add discover app check

* eslint fixed

* fix missing dependency in hook
* add mumbai

* fix network name on copy missing
* add mumbai

* add template removal for unavailable templates

* eslint fixed'
* add mumbai

* update aragon ui
* page ui updates

* update ui order

* add transaction pannel

* clean up

* fix lint

* add descripting to transaction

* remove unneccessary dep

Co-authored-by: Giorgi Lagidze <glagh14@freeuni.edu.ge>
* fix no connection issue and eslint warning

* remove unneccessary comment

Co-authored-by: Giorgi Lagidze <glagh14@freeuni.edu.ge>
* add mumbai

* govern migration restriction

* fix eslint
* pass network to init wrapper

* from network to type + use wallet update

Co-authored-by: Giorgi Lagidze <glagh14@freeuni.edu.ge>
* cleanup code

* reset isListening status on network switch
@novaknole novaknole merged commit 9b3f7e2 into master Sep 1, 2021
@novaknole novaknole deleted the feature/DAO-43-multichain branch September 1, 2021 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0