Add Oracle Aggregator and CCIP Integration
- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
This commit is contained in:
28
test/config/Chain138Config.sol
Normal file
28
test/config/Chain138Config.sol
Normal file
@@ -0,0 +1,28 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.20;
|
||||
|
||||
/**
|
||||
* @title Chain138Config
|
||||
* @notice Configuration constants for ChainID 138 (DeFi Oracle Meta Mainnet) tests
|
||||
*/
|
||||
library Chain138Config {
|
||||
uint256 public constant CHAIN_ID = 138;
|
||||
string public constant NETWORK_NAME = "DeFi Oracle Meta Mainnet";
|
||||
string public constant RPC_URL = "${RPC_URL_138:-http://localhost:8545}";
|
||||
string public constant EXPLORER_URL = "https://explorer.d-bis.org";
|
||||
|
||||
// Gas configuration
|
||||
uint256 public constant GAS_LIMIT = 8_000_000;
|
||||
uint256 public constant GAS_PRICE = 1_000_000_000; // 1 gwei
|
||||
|
||||
// Block configuration
|
||||
uint256 public constant BLOCK_TIME = 2; // seconds
|
||||
uint256 public constant CONFIRMATIONS = 1;
|
||||
|
||||
// Test accounts (for local testing)
|
||||
address public constant TEST_ADMIN = address(0x1);
|
||||
address public constant TEST_USER1 = address(0x2);
|
||||
address public constant TEST_USER2 = address(0x3);
|
||||
address public constant TEST_MULTISIG = address(0x4);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user