diff --git a/.github/workflows/configs-tests.yml b/.github/workflows/configs-tests.yml index 214a2543..83b29337 100644 --- a/.github/workflows/configs-tests.yml +++ b/.github/workflows/configs-tests.yml @@ -4,9 +4,6 @@ on: workflow_dispatch: workflow_call: push: - paths: - - 'configs/**' - - '.github/workflows/configs-*.yml' jobs: formatting-linting: diff --git a/.github/workflows/contracts-tests.yml b/.github/workflows/contracts-tests.yml index 67428bfe..2472fc4c 100644 --- a/.github/workflows/contracts-tests.yml +++ b/.github/workflows/contracts-tests.yml @@ -7,9 +7,6 @@ on: INFURA_API_KEY: required: true push: - paths: - - 'contracts/**' - - '.github/workflows/contracts-*.yml' jobs: formatting-linting: diff --git a/.github/workflows/sdk-tests.yml b/.github/workflows/sdk-tests.yml index f79972c7..2a168388 100644 --- a/.github/workflows/sdk-tests.yml +++ b/.github/workflows/sdk-tests.yml @@ -4,9 +4,6 @@ on: workflow_dispatch: workflow_call: push: - paths: - - 'sdk/**' - - '.github/workflows/sdk-*.yml' jobs: formatting-linting: diff --git a/.github/workflows/subgraph-tests.yml b/.github/workflows/subgraph-tests.yml index 374db24f..8d4cc82a 100644 --- a/.github/workflows/subgraph-tests.yml +++ b/.github/workflows/subgraph-tests.yml @@ -4,11 +4,6 @@ on: workflow_dispatch: workflow_call: push: - paths: - - 'contracts/**' - - 'subgraph/**' - - '.github/workflows/subgraph-*.yml' - jobs: formatting-linting: uses: ./.github/workflows/formatting-linting.yml diff --git a/sdk/test/unit/context.test.ts b/sdk/test/unit/context.test.ts index 4c5ca332..af8edd36 100644 --- a/sdk/test/unit/context.test.ts +++ b/sdk/test/unit/context.test.ts @@ -284,19 +284,12 @@ describe('Context instances', () => { for (const provider of context.web3Providers) { expect(provider).toBeInstanceOf(JsonRpcProvider); expect(provider.connection.url).toBe('https://goerli.base.org/'); - provider - .getNetwork() - .then(nw => { - expect(nw.chainId).toEqual(84531); - expect(nw.name).toEqual('baseGoerli'); - expect(nw.ensAddress).toEqual( - LIVE_CONTRACTS[SupportedVersion.LATEST].baseGoerli - .ensRegistryAddress - ); - }) - .catch(err => { - throw err; - }); + const network = provider.network; + expect(network.chainId).toEqual(84531); + expect(network.name).toEqual('baseGoerli'); + expect(network.ensAddress).toEqual( + LIVE_CONTRACTS[SupportedVersion.LATEST].baseGoerli.ensRegistryAddress + ); } }); });