feat: add testnet-bradbury network support #105
smoke.yml
on: pull_request
Testnet Smoke Tests
36s
Annotations
7 errors and 1 warning
|
Testnet Smoke Tests
Process completed with exit code 1.
|
|
tests/smoke.test.ts > Testnet Bradbury - CLI Staking Smoke Tests > getBannedValidators returns an array of banned validator info:
tests/smoke.test.ts#L118
Error: Staking is not supported on studio-based networks. Use testnet-asimov for staking operations.
❯ getStakingAddress node_modules/genlayer-js/dist/index.js:1378:13
❯ getReadOnlyStakingContract node_modules/genlayer-js/dist/index.js:1391:21
❯ Object.getBannedValidators node_modules/genlayer-js/dist/index.js:1770:24
❯ tests/smoke.test.ts:118:42
|
|
tests/smoke.test.ts > Testnet Bradbury - CLI Staking Smoke Tests > getQuarantinedValidators returns an array:
tests/smoke.test.ts#L110
Error: Staking is not supported on studio-based networks. Use testnet-asimov for staking operations.
❯ getStakingAddress node_modules/genlayer-js/dist/index.js:1378:13
❯ getReadOnlyStakingContract node_modules/genlayer-js/dist/index.js:1391:21
❯ Object.getQuarantinedValidators node_modules/genlayer-js/dist/index.js:1766:24
❯ tests/smoke.test.ts:110:42
|
|
tests/smoke.test.ts > Testnet Bradbury - CLI Staking Smoke Tests > validator-dependent tests:
tests/smoke.test.ts#L53
Error: Staking is not supported on studio-based networks. Use testnet-asimov for staking operations.
❯ getStakingAddress node_modules/genlayer-js/dist/index.js:1378:13
❯ getReadOnlyStakingContract node_modules/genlayer-js/dist/index.js:1391:21
❯ Object.getActiveValidators node_modules/genlayer-js/dist/index.js:1757:24
❯ tests/smoke.test.ts:53:39
|
|
tests/smoke.test.ts > Testnet Bradbury - CLI Staking Smoke Tests > getActiveValidators returns an array of addresses:
tests/smoke.test.ts#L42
Error: Staking is not supported on studio-based networks. Use testnet-asimov for staking operations.
❯ getStakingAddress node_modules/genlayer-js/dist/index.js:1378:13
❯ getReadOnlyStakingContract node_modules/genlayer-js/dist/index.js:1391:21
❯ Object.getActiveValidators node_modules/genlayer-js/dist/index.js:1757:24
❯ tests/smoke.test.ts:42:37
|
|
tests/smoke.test.ts > Testnet Bradbury - CLI Staking Smoke Tests > getActiveValidatorsCount returns a bigint:
tests/smoke.test.ts#L36
Error: Staking is not supported on studio-based networks. Use testnet-asimov for staking operations.
❯ getStakingAddress node_modules/genlayer-js/dist/index.js:1378:13
❯ getReadOnlyStakingContract node_modules/genlayer-js/dist/index.js:1391:21
❯ Object.getActiveValidatorsCount node_modules/genlayer-js/dist/index.js:1762:24
❯ tests/smoke.test.ts:36:32
|
|
tests/smoke.test.ts > Testnet Bradbury - CLI Staking Smoke Tests > getEpochInfo returns valid epoch info:
tests/smoke.test.ts#L23
Error: Staking is not supported on studio-based networks. Use testnet-asimov for staking operations.
❯ getStakingAddress node_modules/genlayer-js/dist/index.js:1378:13
❯ getReadOnlyStakingContract node_modules/genlayer-js/dist/index.js:1391:21
❯ Object.getEpochInfo node_modules/genlayer-js/dist/index.js:1686:24
❯ tests/smoke.test.ts:23:31
|
|
Testnet Smoke Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|