From d22ac3deb2522b2607561aa70f317fbf3ab7da3b Mon Sep 17 00:00:00 2001 From: evalir Date: Thu, 28 May 2026 15:30:28 +0200 Subject: [PATCH] fix(signet-constants): Populate `HOST_USD_RECORDS` correctly This should not be empty --- crates/constants/src/chains/mainnet.rs | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/crates/constants/src/chains/mainnet.rs b/crates/constants/src/chains/mainnet.rs index ead2a7d1..92af2c74 100644 --- a/crates/constants/src/chains/mainnet.rs +++ b/crates/constants/src/chains/mainnet.rs @@ -22,22 +22,27 @@ pub const HOST_PASSAGE: Address = address!("0x02a64d6e2c30d2B07ddBD177b24D9D0f64 /// `Transactor` contract address for the Mainnet host chain. pub const HOST_TRANSACTOR: Address = address!("0xC4388A6f4917B8D392B19b43F9c46FEC1B890f45"); -/// USDC token for the Mainnet host chain (empty placeholder). +/// USDC token for the Mainnet host chain pub const HOST_USDC: Address = address!("0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"); -/// USDT token for the Mainnet host chain (empty placeholder). +/// USDT token for the Mainnet host chain pub const HOST_USDT: Address = address!("0xdAC17F958D2ee523a2206206994597C13D831ec7"); -/// WBTC token for the Mainnet host chain (empty placeholder). +/// WBTC token for the Mainnet host chain pub const HOST_WBTC: Address = address!("0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"); -/// WETH token for the Mainnet host chain (empty placeholder). +/// WETH token for the Mainnet host chain pub const HOST_WETH: Address = address!("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"); -/// USDC token record for the Mainnet host chain (placeholder name/decimals). +/// USDC token record for the Mainnet host chain pub const HOST_USDC_RECORD: HostUsdRecord = HostUsdRecord::new(HOST_USDC, Cow::Borrowed("USDC"), 6); -/// USDT token record for the Mainnet host chain (placeholder name/decimals). +/// USDT token record for the Mainnet host chain pub const HOST_USDT_RECORD: HostUsdRecord = HostUsdRecord::new(HOST_USDT, Cow::Borrowed("USDT"), 6); -/// Host USD records for the Mainnet host chain (empty list by default). -pub const HOST_USD_RECORDS: UsdRecords = UsdRecords::new(); -/// Host system tokens for Mainnet (placeholders). +/// Host USD records for the Mainnet host chain +pub const HOST_USD_RECORDS: UsdRecords = { + let mut records = UsdRecords::new(); + records.push(HOST_USDC_RECORD); + records.push(HOST_USDT_RECORD); + records +}; +/// Host system tokens for Mainnet pub const HOST_TOKENS: HostTokens = HostTokens::new(HOST_USD_RECORDS, HOST_WBTC, HOST_WETH); /// Start timestamp for the Mainnet host chain slot calculator (Ethereum Mainnet merge timestamp).