Skip to content
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
170 changes: 170 additions & 0 deletions .agents/memory/todo.md

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
jobs:
checks:
runs-on: ubuntu-latest
env:
SOLANA_VERSION: 2.2.1

steps:
- name: Checkout
Expand All @@ -24,6 +26,11 @@ jobs:
with:
components: rustfmt, clippy

- name: Setup Solana Tooling
uses: solana-developers/github-actions/setup-all@c6bdbee471a1a4f40490af635e9af66071d36853 # v0.2.7
with:
solana_version: ${{ env.SOLANA_VERSION }}

- name: Cache Rust
uses: Swatinem/rust-cache@v2

Expand All @@ -39,5 +46,8 @@ jobs:
- name: Run Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

- name: Run tests
run: cargo test --workspace
- name: Run Rust tests
run: cargo test --workspace --exclude tests

- name: Run contract tests
run: bun run test:contract
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ target
node_modules
test-ledger
.yarn

.agents/memory/
8 changes: 6 additions & 2 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[toolchain]
package_manager = "bun"
package_manager = "npm"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if package.json scripts use bun
grep -n "bun" package.json | head -20
# Check README for package manager references
grep -n "bun\|npm" README.md | head -20

Repository: doom-protocol/doom-nft-program

Length of output: 798


Change package_manager to "bun" to match project configuration.

Anchor.toml sets package_manager = "npm", but package.json declares "packageManager": "bun@1.3.10" and all scripts and README instructions use Bun exclusively. This mismatch will cause Anchor CLI to invoke npm instead of bun for dependency management and script execution.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Anchor.toml` at line 2, The Anchor.toml currently sets package_manager =
"npm" which conflicts with package.json's "packageManager": "bun@1.3.10"; update
the package_manager value in Anchor.toml to "bun" so the Anchor CLI uses Bun for
dependency management and script execution (verify package_manager = "bun" in
Anchor.toml and keep package.json's packageManager unchanged).

anchor_version = "0.31.1"

[features]
resolution = true
skip-lint = false

[programs.localnet]
doom_nft_program = "AavECgzCbVhHeBGAfcUgT1tYEC4N4B96E8XtF9H1fMGt"
doom_nft_program = "u929SRVcCFcGM2iyYkMykDRq7xW4N9ozEMU3Vo1hgfP"

[programs.devnet]
doom_nft_program = "u929SRVcCFcGM2iyYkMykDRq7xW4N9ozEMU3Vo1hgfP"

[registry]
url = "https://api.apr.dev"
Expand Down
Loading
Loading