-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from nervosnetwork/v0.2.0
Chore: bump v0.2.0
- Loading branch information
Showing
21 changed files
with
277 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## 0.2.0 (2022-10-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Token logo for "YOK" and "TAI" ([#178](https://github.com/nervosnetwork/light-godwoken/issues/178)) | ||
* Testnet_v0 is officially deprecated ([#184](https://github.com/nervosnetwork/light-godwoken/issues/184)) | ||
* Withdrawal history list might need pagination ([#190](https://github.com/nervosnetwork/light-godwoken/issues/190)) | ||
* Deposit/Withdraw canceling signature in metamask prompts unknown error ([#192](https://github.com/nervosnetwork/light-godwoken/issues/192)) | ||
|
||
|
||
### Features | ||
|
||
* replace LightGodwokenConfigMap with LightGodwokenConfig ([f89547d](https://github.com/nervosnetwork/light-godwoken/commits/f89547df037cd6eebe04330ec23edb36db44a47c)) | ||
* make predefined tokens customizable ([ff4ec424](https://github.com/nervosnetwork/light-godwoken/commits/ff4ec4246d73611a079f7c899453089c8fe54ae7)) | ||
* l1-deposit-address and display QRCode for addresses ([eea43ae](https://github.com/nervosnetwork/light-godwoken/commit/eea43aef0fd6a725a90978ceeb4d9d962e4adfcd)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## 0.2.0 (2022-10-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Testnet_v0 is officially deprecated ([#184](https://github.com/nervosnetwork/light-godwoken/issues/184)) | ||
* Withdrawal history list might need pagination ([#190](https://github.com/nervosnetwork/light-godwoken/issues/190)) | ||
* Deposit/Withdraw canceling signature in metamask prompts unknown error ([#192](https://github.com/nervosnetwork/light-godwoken/issues/192)) | ||
|
||
|
||
### Features | ||
|
||
* l1-deposit-address and display QRCode for addresses ([eea43ae](https://github.com/nervosnetwork/light-godwoken/commit/eea43aef0fd6a725a90978ceeb4d9d962e4adfcd)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
import { GodwokenNetwork, GodwokenVersion } from "light-godwoken"; | ||
|
||
console.debug("process.env.REACT_APP_NETWORK: ", process.env.REACT_APP_NETWORK); | ||
console.debug("process.env.NODE_ENV: ", process.env.NODE_ENV); | ||
export const isMainnet = process.env.REACT_APP_NETWORK === GodwokenNetwork.Mainnet; | ||
|
||
// Available network versions, | ||
// some versions of the network is deprecated | ||
export const availableNetworkVersions: Record<GodwokenNetwork, GodwokenVersion[]> = { | ||
[GodwokenNetwork.Mainnet]: [GodwokenVersion.V1, GodwokenVersion.V0], | ||
[GodwokenNetwork.Testnet]: [GodwokenVersion.V1], | ||
}; | ||
|
||
export const isMainnet = process.env.REACT_APP_NETWORK === "mainnet"; | ||
export const availableVersions = | ||
availableNetworkVersions[isMainnet ? GodwokenNetwork.Mainnet : GodwokenNetwork.Testnet]; |
Oops, something went wrong.
3b3b6a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
godwoken-bridge-testnet – ./
testnet.bridge.godwoken.io
godwoken-bridge-testnet-cryptape.vercel.app
godwoken-bridge-testnet-git-develop-cryptape.vercel.app
godwoken-bridge-testnet.vercel.app