go-blockchain/config
Claude 22d54828a8
Some checks failed
Security Scan / security (push) Successful in 13s
Test / Test (push) Failing after 35s
fix(config): replace os.Getenv with core.Env
AX compliance: config/file.go now uses core.Env() instead of os.Getenv().
os still imported for ReadFile (no core equivalent without c.Fs()).

Honest AX debt remaining:
- daemon/server.go: encoding/json + net/http (needs core/api migration)
- daemon/wallet_rpc.go: encoding/json + net/http (same)
- cmd_wallet.go: encoding/json + net/http (same)
- chain/alias.go: strings (pure lib, acceptable per RFC-008 §8)
- chain/blockdata.go: os (pure lib, no Core instance)

The daemon is the biggest AX debt — 2300 lines of raw net/http
that should use core/api. Tracked for core/api integration.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 04:07:33 +01:00
..
config.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
config_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
file.go fix(config): replace os.Getenv with core.Env 2026-04-02 04:07:33 +01:00
file_test.go test: close audit gaps — HSD client, config, genesis, daemon tests 2026-04-02 03:18:36 +01:00
hardfork.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
hardfork_activation_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
hardfork_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00