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-25 13:19:00 +02:00
parent 730053dcc7
commit b1bfa0ac01
86 changed files with 134 additions and 139 deletions
+1 -1
View File
@@ -7,5 +7,5 @@ edition = "2021"
workspace = true
[dependencies]
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.2", features = ["host"], package = "lee_core" }
lee_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.2", features = ["host"] }
token_core = { path = "core" }
+1 -1
View File
@@ -7,7 +7,7 @@ edition = "2021"
workspace = true
[dependencies]
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.2", features = ["host"], package = "lee_core" }
lee_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.2", features = ["host"] }
spel-framework-macros = { git = "https://github.com/0x-r4bbit/spel.git", rev = "3655513edbc516b76e5d6f725cb2089239e03b7f", package = "spel-framework-macros" }
borsh = { version = "1.5", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
+1 -1
View File
@@ -1,7 +1,7 @@
//! This crate contains core data structures and utilities for the Token Program.
use borsh::{BorshDeserialize, BorshSerialize};
use nssa_core::account::{AccountId, Data};
use lee_core::account::{AccountId, Data};
use serde::{Deserialize, Serialize};
use spel_framework_macros::account_type;
+1 -1
View File
@@ -1,4 +1,4 @@
use nssa_core::{
use lee_core::{
account::{AccountWithMetadata, Data},
program::AccountPostState,
};
+1 -1
View File
@@ -1,4 +1,4 @@
use nssa_core::{
use lee_core::{
account::{Account, AccountWithMetadata, Data},
program::{AccountPostState, Claim, ProgramId},
};
+1 -1
View File
@@ -1,4 +1,4 @@
use nssa_core::{
use lee_core::{
account::{Account, AccountWithMetadata, Data},
program::{AccountPostState, Claim, ProgramId},
};
+1 -1
View File
@@ -1,4 +1,4 @@
use nssa_core::{
use lee_core::{
account::{Account, AccountId, AccountWithMetadata, Data},
program::{AccountPostState, Claim},
};
+1 -1
View File
@@ -1,4 +1,4 @@
use nssa_core::{
use lee_core::{
account::{Account, AccountWithMetadata, Data},
program::{AccountPostState, Claim},
};
+1 -1
View File
@@ -1,4 +1,4 @@
use nssa_core::{
use lee_core::{
account::{AccountId, AccountWithMetadata, Data},
program::{AccountPostState, ProgramId},
};
+1 -1
View File
@@ -4,7 +4,7 @@
reason = "test fixtures use fixed values to lock boundary behavior"
)]
use nssa_core::{
use lee_core::{
account::{Account, AccountId, AccountWithMetadata, Data, Nonce},
program::{Claim, ProgramId},
};
+1 -1
View File
@@ -1,4 +1,4 @@
use nssa_core::{
use lee_core::{
account::{Account, AccountWithMetadata, Data},
program::{AccountPostState, Claim},
};