refactor: rename nssa/nssa_core → lee/lee_core

Follow the spel fork's `nssa → lee` refactor (chore/update-lez): the
`#[lez_program]` macro now emits `lee_core::…` paths, so the crate must be
referenced by its real name rather than the `nssa_core` alias.

- Cargo.toml: rename the `nssa_core`/`nssa` dep keys to `lee_core`/`lee` and
  drop the now-redundant `package = "lee_core"`/`package = "lee"` aliases
  (dep name == package name).
- Rust: `nssa_core::` → `lee_core::`, `nssa::` → `lee::` across programs,
  modules, and tools.
- Docs: update the library reference in CLAUDE.md and README.md.

Also drop the dead `NSSA_WALLET_HOME_DIR` env var — superseded by
`LEE_WALLET_HOME_DIR`, which is the only wallet-home var any v0.2.x wallet
reads — from the test tooling (setup-amm-testnet.sh, custom-token.mjs,
run-basecamp-e2e.sh) and docs.

Closes #225
This commit is contained in:
r4bbit
2026-08-26 12:30:36 +02:00
parent 1d88e6f3c4
commit 75a99d1224
90 changed files with 141 additions and 146 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ pub mod stability_fee_accumulator;
use borsh::{BorshDeserialize, BorshSerialize};
pub use controller::{run_controller_tick, ControllerOutput, INTEGRAL_CLAMP, RATE_DELTA_CLAMP};
use nssa_core::{
use lee_core::{
account::{AccountId, AccountWithMetadata, Data},
program::{PdaSeed, ProgramId},
};
@@ -5,7 +5,7 @@
//! instruction.
use borsh::{BorshDeserialize, BorshSerialize};
use nssa_core::{
use lee_core::{
account::{AccountId, Data},
program::{PdaSeed, ProgramId},
};
@@ -5,7 +5,7 @@
//! for collateralization checks.
use borsh::{BorshDeserialize, BorshSerialize};
use nssa_core::{
use lee_core::{
account::{AccountId, Data},
program::{PdaSeed, ProgramId},
};
@@ -6,7 +6,7 @@
//! normalized debt.
use borsh::{BorshDeserialize, BorshSerialize};
use nssa_core::{
use lee_core::{
account::{AccountId, Data},
program::{PdaSeed, ProgramId},
};