refactor(archive): move historical contracts and adapters to archive directory
- Archived multiple non-EVM adapters (Algorand, Hedera, Tron, TON, Cosmos, Solana) and compliance contracts (IndyVerifier) to `archive/solidity/contracts/`. - Updated documentation to reflect the historical status of archived components. - Adjusted `foundry.toml` and `README.md` for clarity on historical dependencies and configurations. - Enhanced Makefile and package.json scripts for improved contract testing and building processes. - Removed obsolete contracts (AlltraCustomBridge, CommodityCCIPBridge, ISO4217WCCIPBridge, VaultBridgeAdapter) from the main directory. - Updated implementation reports to indicate archived status for various components.
This commit is contained in:
15
Makefile
15
Makefile
@@ -36,7 +36,7 @@ help:
|
||||
@echo " make clean - Clean up temporary files"
|
||||
@echo " make genesis - Generate genesis file"
|
||||
@echo " make keys - Generate validator and oracle keys"
|
||||
@echo " make contracts - Compile and test contracts"
|
||||
@echo " make contracts - Compile and test contracts (optional: SCOPE=treasury, SCOPE=bridge/trustless, ...)"
|
||||
@echo " make monitoring - Deploy monitoring stack"
|
||||
@echo " make assets - Setup and download Azure icons (see Makefile.assets)"
|
||||
|
||||
@@ -204,10 +204,11 @@ azure-login:
|
||||
|
||||
test:
|
||||
@echo "Running tests (parallel)..."
|
||||
@if [ -n "$(SCOPE)" ]; then echo "Forge scope: $(SCOPE)"; else echo "Forge scope: full"; fi
|
||||
@if [ -f .env ]; then \
|
||||
source .env && forge test --fork-url "$$RPC_URL" -j $$(nproc) || forge test -j $$(nproc); \
|
||||
source .env && FORGE_SCOPE="$(SCOPE)" bash scripts/forge/scope.sh test --fork-url "$$RPC_URL" -j $$(nproc) || FORGE_SCOPE="$(SCOPE)" bash scripts/forge/scope.sh test -j $$(nproc); \
|
||||
else \
|
||||
forge test -j $$(nproc); \
|
||||
FORGE_SCOPE="$(SCOPE)" bash scripts/forge/scope.sh test -j $$(nproc); \
|
||||
fi
|
||||
@./tests/health-check.sh &
|
||||
@HEALTH_PID=$$!; \
|
||||
@@ -233,15 +234,15 @@ keys:
|
||||
|
||||
contracts:
|
||||
@echo "Compiling contracts..."
|
||||
forge build
|
||||
@if [ -n "$(SCOPE)" ]; then echo "Forge scope: $(SCOPE)"; else echo "Forge scope: full"; fi
|
||||
FORGE_SCOPE="$(SCOPE)" bash scripts/forge/scope.sh build
|
||||
@echo "Running contract tests (parallel)..."
|
||||
@if [ -f .env ]; then \
|
||||
source .env && forge test --fork-url "$$RPC_URL" -j $$(nproc) || forge test -j $$(nproc); \
|
||||
source .env && FORGE_SCOPE="$(SCOPE)" bash scripts/forge/scope.sh test --fork-url "$$RPC_URL" -j $$(nproc) || FORGE_SCOPE="$(SCOPE)" bash scripts/forge/scope.sh test -j $$(nproc); \
|
||||
else \
|
||||
forge test -j $$(nproc); \
|
||||
FORGE_SCOPE="$(SCOPE)" bash scripts/forge/scope.sh test -j $$(nproc); \
|
||||
fi
|
||||
|
||||
monitoring:
|
||||
@echo "Deploying monitoring stack..."
|
||||
kubectl apply -f monitoring/k8s/prometheus.yaml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user