Skip to content

Commit

Permalink
Merge branch '221-old-release' into 'dev'
Browse files Browse the repository at this point in the history
add Binance chain

Closes #221

See merge request ergo/rosen-bridge/utils!238
  • Loading branch information
vorujack committed Nov 16, 2024
2 parents 6629268 + 00a54ae commit b3f6682
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .changeset/ten-rabbits-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/rosen-extractor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @rosen-bridge/rosen-extractor

## 6.3.0

### Minor Changes

- Add Binance chain

## 6.2.2

### Patch Changes
Expand Down
3 changes: 2 additions & 1 deletion packages/rosen-extractor/lib/getRosenData/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ export const ERGO_NATIVE_TOKEN = 'erg';
export const BITCOIN_NATIVE_TOKEN = 'btc';
export const BITCOIN_CHAIN = 'bitcoin';
export const ETHEREUM_CHAIN = 'ethereum';
export const ETHEREUM_NATIVE_TOKEN = 'eth';
export const BINANCE_CHAIN = 'binance';
export const CARDANO_CHAIN = 'cardano';
export const ERGO_CHAIN = 'ergo';
export const SUPPORTED_CHAINS = [
ERGO_CHAIN,
CARDANO_CHAIN,
BITCOIN_CHAIN,
ETHEREUM_CHAIN,
BINANCE_CHAIN,
];
2 changes: 1 addition & 1 deletion packages/rosen-extractor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rosen-bridge/rosen-extractor",
"version": "6.2.2",
"version": "6.3.0",
"description": "this project contains methods to get rosen data from blockchain",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
Expand Down
7 changes: 2 additions & 5 deletions packages/rosen-extractor/tests/getRosenData/TestUtils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
ETHEREUM_CHAIN,
ETHEREUM_NATIVE_TOKEN,
} from './../../lib/getRosenData/const';
import { ETHEREUM_CHAIN } from './../../lib/getRosenData/const';
import { RosenTokens } from '@rosen-bridge/tokens';
import {
BITCOIN_CHAIN,
Expand Down Expand Up @@ -132,7 +129,7 @@ export default class TestUtils {
},
{
[ETHEREUM_CHAIN]: {
tokenId: ETHEREUM_NATIVE_TOKEN,
tokenId: 'eth',
name: 'ETH',
decimals: 18,
metaData: {
Expand Down

0 comments on commit b3f6682

Please sign in to comment.