File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ library QuoteSignLib {
2323 p.maxBpsToSponsor,
2424 p.finalRecipient,
2525 p.finalToken,
26+ p.destinationDex,
2627 p.lzReceiveGasLimit,
2728 p.lzComposeGasLimit,
2829 p.accountCreationMode,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { DeploymentUtils } from "../../utils/DeploymentUtils.sol";
77import { SponsoredCCTPSrcPeriphery } from "../../../contracts/periphery/mintburn/sponsored-cctp/SponsoredCCTPSrcPeriphery.sol " ;
88import { ArbitraryEVMFlowExecutor } from "../../../contracts/periphery/mintburn/ArbitraryEVMFlowExecutor.sol " ;
99import { SponsoredCCTPInterface } from "../../../contracts/interfaces/SponsoredCCTPInterface.sol " ;
10+ import { AccountCreationMode } from "../../../contracts/periphery/mintburn/Structs.sol " ;
1011import { AddressToBytes32 } from "../../../contracts/libraries/AddressConverters.sol " ;
1112import { HyperCoreLib } from "../../../contracts/libraries/HyperCoreLib.sol " ;
1213
@@ -99,7 +100,7 @@ contract CreateSponsoredDeposit is DeploymentUtils {
99100 finalRecipient: address (0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D ).toBytes32 (), // Final recipient
100101 finalToken: address (0xb88339CB7199b77E23DB6E890353E22632Ba630f ).toBytes32 (), // USDC on HyperEVM
101102 destinationDex: HyperCoreLib.CORE_SPOT_DEX_ID, // Spot DEX on HyperCore
102- accountCreationMode: uint8 (SponsoredCCTPInterface. AccountCreationMode.Standard), // Standard mode
103+ accountCreationMode: uint8 (AccountCreationMode.Standard), // Standard mode
103104 executionMode: uint8 (SponsoredCCTPInterface.ExecutionMode.DirectToCore), // DirectToCore mode
104105 actionData: emptyActionData // Empty for DirectToCore mode
105106 });
Original file line number Diff line number Diff line change 22pragma solidity ^ 0.8.0 ;
33
44import { Test, console } from "forge-std/Test.sol " ;
5+ import { AccountCreationMode } from "../../../../contracts/periphery/mintburn/Structs.sol " ;
56import { SponsoredCCTPDstPeriphery } from "../../../../contracts/periphery/mintburn/sponsored-cctp/SponsoredCCTPDstPeriphery.sol " ;
67import { IHyperCoreFlowExecutor } from "../../../../contracts/test/interfaces/IHyperCoreFlowExecutor.sol " ;
78import { HyperCoreLib } from "../../../../contracts/libraries/HyperCoreLib.sol " ;
@@ -236,7 +237,7 @@ contract SponsoredCCTPDstPeripheryTest is BaseSimulatorTest {
236237 finalRecipient: finalRecipient.toBytes32 (),
237238 finalToken: address (usdc).toBytes32 (),
238239 destinationDex: HyperCoreLib.CORE_SPOT_DEX_ID,
239- accountCreationMode: uint8 (SponsoredCCTPInterface. AccountCreationMode.Standard),
240+ accountCreationMode: uint8 (AccountCreationMode.Standard),
240241 executionMode: uint8 (SponsoredCCTPInterface.ExecutionMode.DirectToCore),
241242 actionData: bytes ("" )
242243 });
You can’t perform that action at this time.
0 commit comments