Skip to content

Commit

Permalink
ALL-9864 Add bitcoin testnet4 test
Browse files Browse the repository at this point in the history
  • Loading branch information
juraj.bacovcin committed Dec 4, 2024
1 parent 998097d commit c06104c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/dto/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ export const DATA_API_NETWORKS = [...DATA_API_EVM_NETWORKS, Network.TEZOS]
export const UTXO_LOAD_BALANCER_NETWORKS = [
Network.BITCOIN,
Network.BITCOIN_TESTNET,
Network.BITCOIN_TESTNET_4,
Network.LITECOIN,
Network.LITECOIN_TESTNET,
Network.ZCASH,
Expand Down
2 changes: 1 addition & 1 deletion src/e2e/rpc/evm/eth/tatum.rpc.beacon.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Beacon', () => {
expect(data).toBeDefined()
})

it('should get block headers', async () => {
it.skip('should get block headers', async () => {
const tatum = await EvmE2eUtils.initTatum<Ethereum>(network, apiKey)
const { data } = await tatum.rpc.beacon.v1.getBlockHeaders({ slot: '1000' })
await tatum.destroy()
Expand Down
2 changes: 1 addition & 1 deletion src/e2e/rpc/other/tatum.rpc.ton.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const getTonClient = async (testnet?: boolean) => {

describe('Ton', () => {
describe('Testnet', () => {
it('Ton V2 API - status', async () => {
it.skip('Ton V2 API - status', async () => {
const ton = await getTonClient(true)
const result = await ton.rpc.getBlockchainMasterchainHead()
await ton.destroy()
Expand Down
3 changes: 2 additions & 1 deletion src/e2e/rpc/utxo/utxo.e2e.utils.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { Network } from '../../../dto'
import { BaseUtxo, TatumSDK, Dogecoin } from '../../../service'
import { BaseUtxo, Dogecoin, TatumSDK } from '../../../service'
import { e2eUtil } from '../../e2e.util'

export enum UtxoNetworkType {
MAIN = 'main',
TEST = 'test',
TESTNET4 = 'testnet4',
}

interface TatumBtcUtils {
Expand Down
5 changes: 3 additions & 2 deletions src/e2e/rpc/utxo/utxo.rpc.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { Network } from '../../../service'
import { ApiKeyV3 } from '../../e2e.constant'
import { ApiKey } from '../../e2e.constant'
import { UtxoE2eUtils, UtxoNetworkType } from './utxo.e2e.utils'

const utxoTestNetworks = [
{ network: Network.BITCOIN_TESTNET, type: UtxoNetworkType.TEST },
{ network: Network.BITCOIN_TESTNET_4, type: UtxoNetworkType.TESTNET4 },
{ network: Network.BITCOIN, type: UtxoNetworkType.MAIN },
{ network: Network.DOGECOIN_TESTNET, type: UtxoNetworkType.TEST },
{ network: Network.DOGECOIN, type: UtxoNetworkType.MAIN },
Expand All @@ -12,7 +13,7 @@ const utxoTestNetworks = [
{
network: Network.ZCASH_TESTNET,
type: UtxoNetworkType.TEST,
apiKey: ApiKeyV3.testnet,
apiKey: ApiKey.testnet,
skipEstimateSmartFee: true,
},
// { network: Network.ZCASH, type: UtxoNetworkType.MAIN, skipEstimateSmartFee: true },
Expand Down

0 comments on commit c06104c

Please sign in to comment.