Skip to content

Commit c83607c

Browse files
committed
fix(readme): update automations section
1 parent 22ed07e commit c83607c

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

README.md

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The static files are generated in the `build` directory. To serve the production
8181
npm run serve
8282
```
8383

84-
**Tip**: Test search functionality using a production build.
84+
**Tip**: Search only works in production builds.
8585

8686
## 📄 **Autogenerate Solidity Documentation**
8787

@@ -111,34 +111,21 @@ To generate Solidity documentation:
111111

112112
## 🔄 **Automations**
113113

114-
Ensure [uv](https://docs.astral.sh/uv/) dependencies are synced:
114+
A set of scripts that:
115115

116-
```bash
117-
cd automations
118-
uv sync
119-
```
120-
121-
### Automated Tasks
116+
- Update contract addresses (from onchain `ContractRegistry`)
117+
- Update feed risks (from `automations/*_risk.json`)
122118

123-
1. **Update Feed IDs:**
119+
**Run all automations:**
124120

125-
Generate and save feed IDs in `anchor_feeds.json` and `block_latency_feeds.json`:
121+
1. Ensure [uv](https://docs.astral.sh/uv/) dependencies are synced:
126122

127123
```bash
128-
uv run feed_table_generator.py
124+
cd automations
125+
uv sync
129126
```
130127

131-
2. **Update Contract Addresses:**
132-
133-
Fetch and save contract addresses in `solidity_reference.json`:
134-
135-
```bash
136-
uv run solidity_reference_table_generator.py
137-
```
138-
139-
3. **Run All Automations:**
140-
141-
Execute all tasks at once:
128+
2. Execute automations:
142129

143130
```bash
144131
npm run automations

0 commit comments

Comments
 (0)