Files
smom-dbis-138/scripts/quick-compile-test.sh
defiQUG 2b52cc6e32 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.
2026-04-12 18:21:05 -07:00

33 lines
909 B
Bash

#!/bin/bash
# Quick compilation test for TokenFactory138
cd /home/intlc/projects/proxmox/smom-dbis-138
source scripts/lib/forge-scope.sh
echo "Testing TokenFactory138 compilation..."
# Try via-ir compilation (most likely to work)
echo "Compiling with --via-ir..."
if forge build --via-ir 2>&1 | grep -q "Compiler run successful"; then
echo "✅ Compilation successful!"
echo ""
echo "TokenFactory138 is ready for deployment."
echo ""
echo "Deploy with:"
echo " forge script script/emoney/DeployChain138.s.sol:DeployChain138 \\"
echo " --rpc-url \$RPC_URL \\"
echo " --broadcast \\"
echo " --legacy \\"
echo " --gas-price 20000000000 \\"
echo " --via-ir \\"
echo " -vv"
exit 0
else
echo "❌ Compilation failed"
echo ""
echo "Checking for errors..."
forge build --via-ir 2>&1 | grep -i "error" | head -10
exit 1
fi