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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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**
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user