- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
7.2 KiB
Comprehensive Consistency Review Report
Last Updated: 2026-01-31
Document Version: 1.0
Status: Active Documentation
Date: $(date)
Scope: Full review of proxmox deployment project and source smom-dbis-138 project
Executive Summary
This review examines consistency between:
- Proxmox Deployment Project:
/home/intlc/projects/proxmox/smom-dbis-138-proxmox - Source Project:
/home/intlc/projects/smom-dbis-138
✅ Consistent Elements
1. Chain ID
- ✅ Both projects use Chain ID 138
- ✅ Source:
config/genesis.json,config/chain138.json - ✅ Proxmox: Referenced in documentation and configuration
2. Configuration Files
- ✅ genesis.json: Present in both projects
- ✅ permissions-nodes.toml: Present in both projects
- ✅ permissions-accounts.toml: Present in both projects
- ✅ config-validator.toml: Present in both projects
- ✅ config-sentry.toml: Present in both projects
- ✅ RPC Config Files:
config-rpc-core.toml✅config-rpc-perm.toml✅config-rpc-public.toml✅
3. Service Structure
- ✅ Both projects have the same service structure:
- oracle-publisher
- financial-tokenization
- ccip-monitor
⚠️ Inconsistencies Found
1. IP Address References (CRITICAL)
Issue: Source project contains references to old IP range 10.3.1.X instead of current 192.168.11.X
Files with Old IP References:
scripts/generate-static-nodes.sh- Contains10.3.1.4:30303referencesscripts/deployment/configure-firefly-cacti.sh- ContainsRPC_URL_CHAIN138="http://10.3.1.4:8545"scripts/deployment/deploy-contracts-once-ready.sh- Contains10.3.1.4:8545SSH tunnelscripts/deployment/DEPLOY_FROM_PROXY.md- Contains multiple10.3.1.4referencesterraform/phases/phase2/README.md- Contains10.3.1.4references
Recommendation: Update all 10.3.1.X references to 192.168.11.X in source project:
- Main RPC endpoint:
10.3.1.4→192.168.11.250(or load-balanced endpoint) - Static nodes generation: Update IP mappings
2. Validator Key Count Mismatch (HIGH PRIORITY)
Issue:
- Source Project: 4 validator keys
- Proxmox Project: Expects 5 validators (VMID 1000-1004)
Impact: Cannot deploy 5 validators without 5th validator key
Recommendation:
- Generate 5th validator key in source project, OR
- Update proxmox project to use 4 validators (VMID 1000-1003)
Current State:
- Proxmox config:
VALIDATOR_COUNT=5(1000-1004) - Source keys: 4 directories in
keys/validators/
3. VMID References (EXPECTED - NO ISSUE)
Status: ✅ Expected
- Source project does NOT contain VMID references (deployment-specific)
- This is correct - VMIDs are only relevant for Proxmox deployment
4. Network Configuration Examples (INFORMATIONAL)
Issue: network.conf.example in proxmox project still uses 10.3.1.X as example
Status: ⚠️ Minor - Example file only
- Active
network.confuses correct192.168.11.X - Example file should be updated for consistency
Detailed Findings by Category
A. Network Configuration
| Aspect | Source Project | Proxmox Project | Status |
|---|---|---|---|
| Chain ID | 138 | 138 | ✅ Match |
| Primary IP Range | 10.3.1.X (old) | 192.168.11.X (current) | ⚠️ Mismatch |
| RPC Endpoint | 10.3.1.4:8545 | 192.168.11.250:8545 | ⚠️ Mismatch |
| Gateway | Not specified | 192.168.11.1 | N/A |
B. Node Counts
| Node Type | Source Project | Proxmox Project | Status |
|---|---|---|---|
| Validators | 4 keys | 5 nodes (1000-1004) | ⚠️ Mismatch |
| Sentries | Not specified | 4 nodes (1500-1503) | ✅ Expected |
| RPC | Not specified | 3 nodes (2500-2502) | ✅ Expected |
C. Configuration Files
| File | Source Project | Proxmox Project | Status |
|---|---|---|---|
| genesis.json | ✅ Present | ✅ Referenced | ✅ Match |
| config-validator.toml | ✅ Present | ✅ Referenced | ✅ Match |
| config-sentry.toml | ✅ Present | ✅ Referenced | ✅ Match |
| config-rpc-*.toml | ✅ Present (3 files) | ✅ Referenced | ✅ Match |
| permissions-nodes.toml | ✅ Present | ✅ Referenced | ✅ Match |
| permissions-accounts.toml | ✅ Present | ✅ Referenced | ✅ Match |
D. Services
| Service | Source Project | Proxmox Project | Status |
|---|---|---|---|
| oracle-publisher | ✅ Present | ✅ Referenced | ✅ Match |
| financial-tokenization | ✅ Present | ✅ Referenced | ✅ Match |
| ccip-monitor | ✅ Present | ✅ Referenced | ✅ Match |
Recommendations
Immediate Actions Required
-
Update IP Addresses in Source Project (Priority: HIGH)
- Update all
10.3.1.4references to192.168.11.250(RPC endpoint) - Update static-nodes generation script
- Update deployment documentation
- Update all
-
Resolve Validator Key Count (Priority: HIGH)
- Option A: Generate 5th validator key in source project
- Option B: Update proxmox config to use 4 validators
- Recommendation: Generate 5th key for better fault tolerance
-
Update Network Configuration Example (Priority: LOW)
- Update
network.conf.exampleto use192.168.11.Xas example
- Update
Best Practices
-
Documentation Alignment
- Source project documentation should reference deployment-agnostic endpoints
- Use variables or configuration files for IP addresses
- Avoid hardcoding IP addresses in scripts
-
Configuration Management
- Use environment variables for deployment-specific values (IPs, VMIDs)
- Keep source project deployment-agnostic where possible
- Use configuration files to bridge source and deployment projects
Files Requiring Updates
Source Project (smom-dbis-138)
-
scripts/generate-static-nodes.sh- Update IP addresses from
10.3.1.4to192.168.11.X
- Update IP addresses from
-
scripts/deployment/configure-firefly-cacti.sh- Update
RPC_URL_CHAIN138fromhttp://10.3.1.4:8545tohttp://192.168.11.250:8545
- Update
-
scripts/deployment/deploy-contracts-once-ready.sh- Update SSH tunnel target from
10.3.1.4:8545to192.168.11.250:8545
- Update SSH tunnel target from
-
scripts/deployment/DEPLOY_FROM_PROXY.md- Update all IP address examples from
10.3.1.Xto192.168.11.X
- Update all IP address examples from
-
terraform/phases/phase2/README.md- Update IP address references
-
Generate 5th Validator Key
- Create
keys/validators/validator-5/directory with keys
- Create
Proxmox Project (smom-dbis-138-proxmox)
config/network.conf.example- Update example IPs from
10.3.1.Xto192.168.11.X
- Update example IPs from
Summary
| Category | Status | Issues Found |
|---|---|---|
| Chain ID | ✅ Consistent | 0 |
| Configuration Files | ✅ Consistent | 0 |
| Services | ✅ Consistent | 0 |
| IP Addresses | ⚠️ Inconsistent | 5 files need updates |
| Validator Count | ⚠️ Mismatch | 4 vs 5 |
| VMID References | ✅ Correct | 0 (expected) |
Overall Status: ⚠️ Mostly Consistent - 2 critical issues need resolution
Next Steps
- Generate 5th validator key in source project
- Update IP addresses in source project scripts and documentation
- Update network.conf.example in proxmox project
- Re-run consistency check to verify fixes