Skip to content

Commit

Permalink
ALL-4379 - Add Cronos LB support
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed Feb 13, 2024
1 parent 09a0acd commit 966e736
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [4.2.8] - 2024.2.13

### Added

- Added support for CRONOS network to Load Balancer.

## [4.2.7] - 2024.2.12

### Updated
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum",
"version": "4.2.7",
"version": "4.2.8",
"description": "Tatum JS SDK",
"author": "Tatum",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
3 changes: 2 additions & 1 deletion src/dto/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export enum Network {
BITCOIN_CASH = 'bitcoin-cash-mainnet',
CARDANO_ROSETTA = 'cardano-mainnet',
CELO = 'celo-mainnet',
CRONOS = 'cro-mainnet',
CRONOS = 'cronos-mainnet',
DOGECOIN = 'doge-mainnet',
EOS = 'eos-mainnet',
HORIZEN_EON = 'eon-mainnet',
Expand Down Expand Up @@ -230,6 +230,7 @@ export const EVM_LOAD_BALANCER_NETWORKS = [
Network.CELO,
Network.CELO_ALFAJORES,
Network.XINFIN,
Network.CRONOS,
]

export const TRON_LOAD_BALANCER_NETWORKS = [Network.TRON]
Expand Down
7 changes: 7 additions & 0 deletions src/e2e/rpc/evm/evm.rpc.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ const testNetworks = [
{
network: Network.XINFIN,
},
{
network: Network.CRONOS,
},
{
network: Network.CRONOS_TESTNET,
apiKey: process.env.V3_API_KEY_TESTNET,
},
]

describe.each(testNetworks)('RPC EVM', (testNetwork) => {
Expand Down

0 comments on commit 966e736

Please sign in to comment.