Skip to content

Commit f4abc1d

Browse files
committed
Deprecation of and the use of domains.TESTNET
1 parent 5fbd3b4 commit f4abc1d

19 files changed

Lines changed: 33 additions & 92 deletions

File tree

.github/workflows/npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
node: ['18.x']
14-
version: ['latest', 'mainnet', 'devnet', 'testnet']
14+
version: ['latest', 'mainnet', 'devnet']
1515

1616
steps:
1717
- uses: pnpm/action-setup@v4

.github/workflows/tapir.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ View resulting published versions:
6969
4. Tag latest release of `@nucypher/taco` for various domains where appropriate:
7070
```bash
7171
npm dist-tag add @nucypher/taco@<new_version> devnet
72-
npm dist-tag add @nucypher/taco@<new_version> testnet
7372
npm dist-tag add @nucypher/taco@<new_version> mainnet
7473
```
7574

demos/taco-demo/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import { downloadData, getWebIrys, uploadData } from './irys';
2424

2525
const chainIdForDomain = {
2626
[domains.DEVNET]: 80002,
27-
[domains.TESTNET]: 80002,
2827
[domains.MAINNET]: 137,
2928
};
3029

demos/taco-demo/src/config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { domains } from '@nucypher/taco';
22

3-
export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '6');
4-
export const DEFAULT_DOMAIN = process.env.DEFAULT_DOMAIN || domains.TESTNET;
3+
export const DEFAULT_RITUAL_ID = parseInt(
4+
process.env.DEFAULT_RITUAL_ID || '27',
5+
);
6+
export const DEFAULT_DOMAIN = process.env.DEFAULT_DOMAIN || domains.DEVNET;
57

68
// Node 2 is free
79
export const IRYS_NODE_URL =

demos/taco-nft-demo/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import { Spinner } from './Spinner';
2222

2323
const chainIdForDomain = {
2424
[domains.DEVNET]: 80002,
25-
[domains.TESTNET]: 80002,
2625
[domains.MAINNET]: 137,
2726
};
2827

demos/taco-nft-demo/src/config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import { domains } from '@nucypher/taco';
22

3-
export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '6');
4-
export const DEFAULT_DOMAIN = process.env.DEFAULT_DOMAIN || domains.TESTNET;
3+
export const DEFAULT_RITUAL_ID = parseInt(
4+
process.env.DEFAULT_RITUAL_ID || '27',
5+
);
6+
export const DEFAULT_DOMAIN = process.env.DEFAULT_DOMAIN || domains.DEVNET;

examples/pre/nextjs/src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ function App() {
108108
const policy = await alice.grant(
109109
provider,
110110
provider.getSigner(),
111-
domains.TESTNET,
112-
await getPorterUri(domains.TESTNET),
111+
domains.DEVNET,
112+
await getPorterUri(domains.DEVNET),
113113
policyParams,
114114
);
115115

examples/pre/nodejs/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ const runExample = async () => {
7272
const policy = await alice.grant(
7373
provider,
7474
signer,
75-
domains.TESTNET,
76-
await getPorterUri(domains.TESTNET),
75+
domains.DEVNET,
76+
await getPorterUri(domains.DEVNET),
7777
policyParams,
7878
);
7979

examples/pre/react/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ function App() {
105105
const policy = await alice.grant(
106106
provider,
107107
provider.getSigner(),
108-
domains.TESTNET,
109-
await getPorterUri(domains.TESTNET),
108+
domains.DEVNET,
109+
await getPorterUri(domains.DEVNET),
110110
policyParams,
111111
);
112112

0 commit comments

Comments
 (0)