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

@@ -21,7 +21,9 @@ export class RelayService {
this.destinationProvider = null;
this.sourceSigner = null;
this.destinationSigner = null;
this.messageQueue = new MessageQueue(this.logger);
this.messageQueue = new MessageQueue(this.logger, {
persistencePath: config.queuePersistence?.path || ''
});
// Contract instances
this.sourceRouter = null;
@@ -260,7 +262,9 @@ export class RelayService {
queue: {
size: queueStats.queueSize,
processed: queueStats.processed,
failed: queueStats.failed
failed: queueStats.failed,
persistence_enabled: queueStats.persistenceEnabled,
last_persisted_at: queueStats.lastPersistedAt
},
last_source_poll: this.lastSourcePoll,
last_seen_message: this.lastSeenMessage,
@@ -333,6 +337,7 @@ export class RelayService {
this.sourceSigner = new ethers.Wallet(this.config.relayer.privateKey, this.sourceProvider);
this.destinationSigner = new ethers.Wallet(this.config.relayer.privateKey, this.destinationProvider);
this.relayerAddress = String(this.destinationSigner.address);
await this.messageQueue.init();
this.logger.info('Relayer address: %s', this.relayerAddress);
@@ -375,6 +380,7 @@ export class RelayService {
async stop() {
this.logger.info('Stopping relay service...');
this.isRunning = false;
await this.messageQueue.persistSnapshot();
// Additional cleanup if needed
}