diff --git a/src/base.ts b/src/base.ts index 6f757e5..cd53c68 100644 --- a/src/base.ts +++ b/src/base.ts @@ -16,10 +16,6 @@ export abstract class Base { baseUrl = DEFAULT_BASE_URL, chainId = DEFAULT_CHAIN_ID, }: Config) { - if (chainId === 1) { - throw new Error('Obol-SDK is in Beta phase, mainnet is not yet supported') - } - this.baseUrl = baseUrl this.chainId = chainId this.fork_version = FORK_MAPPING[this.chainId] diff --git a/test/methods.test.ts b/test/methods.test.ts index d4b4de4..f901a25 100644 --- a/test/methods.test.ts +++ b/test/methods.test.ts @@ -21,13 +21,13 @@ describe('Cluster Client', () => { mockSigner, ) - test('throws invalid ChainId when it is equal to 1', async () => { - try { - new Client({ chainId: 1 }, mockSigner) - } catch (error: any) { - expect(error.message).toBe('Obol-SDK is in Beta phase, mainnet is not yet supported') - } - }) + // test('throws invalid ChainId when it is equal to 1', async () => { + // try { + // new Client({ chainId: 1 }, mockSigner) + // } catch (error: any) { + // expect(error.message).toBe('Obol-SDK is in Beta phase, mainnet is not yet supported') + // } + // }) test('createClusterDefinition should return config_hash', async () => { clientInstance['request'] = jest