Skip to content

DAO-43 Multichain support - WIP - #1562

Merged
novaknole merged 48 commits into
masterfrom
feature/DAO-43-multichain
Sep 1, 2021
Merged

novaknole merged 48 commits into
masterfrom
feature/DAO-43-multichain

Conversation

@yuetloo

@yuetloo yuetloo commented Jul 27, 2021

Copy link
Copy Markdown
Contributor

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/[email protected] 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 <[email protected]>
@linear

linear Bot commented Jul 27, 2021

Copy link
Copy Markdown

@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 <[email protected]>
@CLAassistant

CLAassistant commented Aug 2, 2021 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

* connectors redesigned for multichain

* eslint problems fixed

* multi localstorage

* update multi localstorage

* update aragon.js wrapper

* eslint fixed
...repo,
// Use latest version’s assets
baseUrl: repoBaseUrl(repo.appId, repo.latestVersion),
baseUrl: repoBaseUrl(repo.appId, repo.latestVersion, networkType),

Copy link
Copy Markdown
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 ?

@yuetloo yuetloo Aug 4, 2021 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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

Comment thread src/aragonjs-wrapper.js Resolved
Comment thread src/local-settings.js Resolved
Comment thread src/web3-utils.js Resolved
Comment thread src/network-config.js Resolved
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 <[email protected]>
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 <[email protected]>
* fix no connection issue and eslint warning

* remove unneccessary comment

Co-authored-by: Giorgi Lagidze <[email protected]>
* add mumbai

* govern migration restriction

* fix eslint
* pass network to init wrapper

* from network to type + use wallet update

Co-authored-by: Giorgi Lagidze <[email protected]>
* 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