Skip to content
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

Add support for xdai network #68

Merged
merged 2 commits into from
Jun 24, 2020
Merged

Add support for xdai network #68

merged 2 commits into from
Jun 24, 2020

Conversation

0xGabi
Copy link
Contributor

@0xGabi 0xGabi commented Jun 21, 2020

1Hive is deploying Aragon Infrastructure to xDai and this is a requirement for connect to keep compatible with it.

@codecov
Copy link

codecov bot commented Jun 21, 2020

Codecov Report

Merging #68 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #68   +/-   ##
=======================================
  Coverage   28.15%   28.15%           
=======================================
  Files          53       53           
  Lines         863      863           
  Branches      146      146           
=======================================
  Hits          243      243           
  Misses        620      620           
Flag Coverage Δ
#unittests 28.15% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6b5bf3...0db3b49. Read the comment docs.

if (chainId === 100) {
return {
chainId: 100,
name: 'xdai',
Copy link
Contributor

Choose a reason for hiding this comment

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

Just as a note, I was thinking of starting to accept the chain as { chainId: number, name: string } rather than only chainId: number, to handle staging environments.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice, I like that.

Co-authored-by: Brett Sun <qisheng.brett.sun@gmail.com>
@0xGabi 0xGabi merged commit f42cff7 into master Jun 24, 2020
@0xGabi 0xGabi deleted the xdai branch June 24, 2020 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants