Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove unused configuration and script files #1227

Merged
merged 4 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/commands/test-validator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SetupCommand extends Command {
}),
stop: Flags.boolean({
description:
"Stops the test validator and dependent processes. Use with --skip-indexer, --skip-prover, --skip-forester to keep specific services running.",
"Stops the test validator and dependent processes. Use with --skip-indexer, --skip-prover to keep specific services running.",
required: false,
default: false,
}),
Expand Down
27 changes: 0 additions & 27 deletions forester/alert_rules.yml

This file was deleted.

40 changes: 0 additions & 40 deletions forester/alertmanager.yml

This file was deleted.

90 changes: 0 additions & 90 deletions forester/docker-compose.yml

This file was deleted.

15 changes: 0 additions & 15 deletions forester/forester.toml

This file was deleted.

22 changes: 3 additions & 19 deletions forester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,12 @@
"version": "0.3.0",
"license": "GPL-3.0",
"scripts": {
"restart-db": "docker compose down -v && docker compose up -d db",
"migrate-db": "../.local/cargo/bin/photon-migration --database-url postgres://photon:photon@localhost:5432/postgres",
"wait-for-db": "./scripts/wait_for_db.sh",
"start-validator": "../cli/test_bin/run test-validator --indexer-db-url=postgres://photon:photon@localhost:5432/postgres --skip-forester",
"restart-validator": "pnpm restart-db && pnpm wait-for-db && pnpm migrate-db && pnpm start-validator",
"build": "cargo build",
"test": "cargo test --package forester -- --test-threads=1 --nocapture",
"test-lint": "RUSTFLAGS=\"--cfg tokio_unstable -D warnings\" cargo test --package forester -- --test-threads=1 --nocapture",
"generate": "ts-node ./scripts/generate.ts",
"docker:build": "docker build --tag forester -f Dockerfile ..",
"docker:down": "docker compose down",
"docker:up": "docker compose up -d --build",
"docker:logs": "docker compose logs -f"
"test": "RUSTFLAGS=\"--cfg tokio_unstable -D warnings\" cargo test --package forester -- --test-threads=1 --nocapture",
"docker:build": "docker build --tag forester -f Dockerfile .."
},
"devDependencies": {
"@lightprotocol/stateless.js": "workspace:*",
"@lightprotocol/zk-compression-cli": "workspace:*",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to restore this one (CLI)

"@solana/web3.js": "^1.95.0",
"borsh": "^2.0.0",
"dotenv": "^16.4.5",
"ts-node": "^10.9.2",
"tweetnacl": "^1.0.3"
"@lightprotocol/zk-compression-cli": "workspace:*"
},
"nx": {
"targets": {
Expand Down
17 changes: 0 additions & 17 deletions forester/prometheus.yml

This file was deleted.

149 changes: 0 additions & 149 deletions forester/scripts/generate.ts

This file was deleted.

Loading