Skip to content

Commit ea65fb7

Browse files
committed
README
1 parent 2f0424a commit ea65fb7

File tree

6 files changed

+8
-21
lines changed

6 files changed

+8
-21
lines changed

2-counter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Get a new program id:
1717

1818
Run the tests and observe the logs:
1919
```bash
20-
anchor test
20+
anchor test --skip-local-validator
2121
```

distributor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ We start by defining an instruction to execute, that is the __"WHAT"__:
2121
**2. Client Side - Creating a Thread**
2222
Time to switch perspective, we need to do some work off-chain now, we will create a Thread, that's the __"HOW"__:
2323
- Check the `tests` folder, we are using anchor tests as a client.
24-
- Run `anchor tests`, this will create a __Thread__ that listens for a certain account and print logs whenever the
24+
- Run `anchor test --skip-local-validator`, this will create a __Thread__ that listens for a certain account and print logs whenever the
2525
account is updated.
2626

2727
## How do I know if it works?
2828
Let's see how we can observe our newly created Thread:
2929
- Run the tests!
3030
```bash
31-
anchor test
31+
anchor test --skip-local-validator
3232
```
3333
- If you have the Clockwork Cli installed, you can use the `clockwork` command
3434
```bash

event_stream/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We start by defining an instruction to execute, that is the __"WHAT"__:
1717

1818
Time to switch perspective, we need to do some work off-chain now, we will create a Thread, that's the __"HOW"__:
1919
- Check the `tests` folder, we are using anchor tests as a client.
20-
- Run `anchor test`, this will create a __Thread__ that listens for a certain account and print logs whenever the
20+
- Run `anchor test --skip-local-validator`, this will create a __Thread__ that listens for a certain account and print logs whenever the
2121
account is updated.
2222

2323
## How do I know if it works?

hello_clockwork/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Get a new program id:
1717

1818
Run the tests and observe the logs:
1919
```bash
20-
anchor test
20+
anchor test --skip-local-validator
2121
```

payments/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ We start by defining an instruction to execute, that is the __"WHAT"__:
2323

2424
Time to switch perspective, we need to do some work off-chain now, we will create a Thread, that's the __"HOW"__:
2525
- Check the `tests` folder, we are using anchor tests as a client.
26-
- Run `anchor tests`, this will create a __Thread__ that listens for a certain account and print logs whenever the
26+
- Run `anchor test --skip-local-validator`, this will create a __Thread__ that listens for a certain account and print logs whenever the
2727
account is updated.
2828

2929
## How do I know if it works?
@@ -44,7 +44,7 @@ clockwork thread get <your_thread_label>
4444
Let's see how we can observe our newly created Thread:
4545
- Run the tests!
4646
```bash
47-
anchor test
47+
anchor test --skip-local-validator
4848
```
4949
- If you have the Clockwork Cli installed, you can use the `clockwork` command
5050
```bash

pyth_feed/README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We start by defining an instruction to execute, that is the __"WHAT"__:
1717

1818
Time to switch perspective, we need to do some work off-chain now, we will create a Thread, that's the __"HOW"__:
1919
- Check the `tests` folder, we are using anchor tests as a client.
20-
- Run `anchor tests`, this will create a __Thread__ that listens for a certain account and print logs whenever the
20+
- Run `anchor test --skip-local-validator`, this will create a __Thread__ that listens for a certain account and print logs whenever the
2121
account is updated.
2222

2323
## How do I know if it works?
@@ -33,19 +33,6 @@ ping tx: ✅ https://explorer.solana.com/tx/...
3333
clockwork thread get --address <your_thread_address>
3434
clockwork thread get <your_thread_label>
3535
```
36-
37-
## How do I know if it works?
38-
Let's see how we can observe our newly created Thread:
39-
- Run the tests!
40-
```bash
41-
anchor test
42-
```
43-
- If you have the Clockwork Cli installed, you can use the `clockwork` command
44-
```bash
45-
clockwork thread get --address <your_thread_address>
46-
clockwork thread get <your_thread_label>
47-
```
48-
4936
---
5037

5138
## Common Errors

0 commit comments

Comments
 (0)