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:
defiQUG
2026-04-12 18:21:05 -07:00
parent 8ec6af94d5
commit 2b52cc6e32
146 changed files with 2010 additions and 423 deletions

View File

@@ -40,11 +40,9 @@ helm install besu-rpc ./helm/besu-network -f helm/besu-network/values-rpc.yaml -
### Contract Deployment
```bash
# Deploy CCIPTxReporter to Chain-138
npm run deploy:reporter:chain138
# Or manually:
npx hardhat run scripts/ccip-deployment/deploy-ccip-reporter.js --network chain138
# Historical CCIPTxReporter source is archived
export CHAIN138_CCIP_REPORTER=0x...
# Restore archive/solidity/contracts/ccip-integration/CCIPTxReporter.sol before any fresh redeploy
```
### Verification

View File

@@ -105,11 +105,9 @@ helm install besu-rpc ./helm/besu-network \
### Step 3: Deploy Contracts
```bash
# Deploy CCIPTxReporter to Chain-138
npm run deploy:reporter:chain138
# Or manually:
npx hardhat run scripts/ccip-deployment/deploy-ccip-reporter.js --network chain138
# Historical CCIPTxReporter source is archived
export CHAIN138_CCIP_REPORTER=0x...
# Restore archive/solidity/contracts/ccip-integration/CCIPTxReporter.sol before any fresh redeploy
```
### Step 4: Verify Deployment

View File

@@ -32,7 +32,7 @@
- **Reason**: Function is `external`, requires `this.` prefix for internal calls
#### **verifyCredentialProof Call**
- **Fixed**: `contracts/compliance/IndyVerifier.sol`
- **Fixed**: `archive/solidity/contracts/compliance/IndyVerifier.sol`
- **Changed**: `verifyCredentialProof(...)``this.verifyCredentialProof(...)`
### **4. Payable Function Issues**
@@ -62,6 +62,7 @@
- **Fixed**: GRUCCIPBridge, ISO4217WCCIPBridge, CommodityCCIPBridge
- **Changed**: `bridge(op)``this.bridge(op)`
- **Reason**: `bridge()` is `external`, requires `this.` for internal calls
- **Current status**: ISO4217WCCIPBridge and CommodityCCIPBridge are retained only as archived historical implementations under `archive/solidity/`
### **7. Test Files**

View File

@@ -81,8 +81,8 @@
# Deploy CCIPLogger
npm run deploy:logger:mainnet
# Deploy CCIPTxReporter (on Chain-138)
npm run deploy:reporter:chain138
# Reuse the historical CCIPTxReporter deployment (on Chain-138)
export CHAIN138_CCIP_REPORTER=0x...
```
### WETH Bridges

View File

@@ -112,8 +112,8 @@ This document tracks the status of smart contract deployments to Ethereum Mainne
# Deploy CCIPLogger to Ethereum Mainnet
npm run deploy:logger:mainnet
# Deploy CCIPTxReporter to Chain-138
npm run deploy:reporter:chain138
# Reuse the historical CCIPTxReporter deployment on Chain-138
export CHAIN138_CCIP_REPORTER=0x...
```
#### Option B: Deploy WETH Bridges