Skip to content

Commit

Permalink
chore:delete bridging folder
Browse files Browse the repository at this point in the history
  • Loading branch information
leeftk committed Dec 13, 2024
1 parent 645429e commit 8eb89d9
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/modules/paymentProcessor/PP_Connext_Crosschain_v1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ contract PP_Connext_Crosschain_v1 is PP_Crosschain_v1 {
) external {
_validateTransferRequest(client, recipient, pendingIntentId);

bytes32 newIntentId = createCrossChainIntent(order, executionData);
bytes32 newIntentId = _createCrossChainIntent(order, executionData);
if (newIntentId == bytes32(0)) {
revert Module__PP_Crosschain__MessageDeliveryFailed(
8453, 8453, executionData
Expand Down Expand Up @@ -189,7 +189,7 @@ contract PP_Connext_Crosschain_v1 is PP_Crosschain_v1 {
bytes memory executionData,
address client
) internal returns (bytes memory) {
bytes32 _intentId = createCrossChainIntent(order, executionData);
bytes32 _intentId = _createCrossChainIntent(order, executionData);

if (_intentId == bytes32(0)) {
failedTransfers[client][order.recipient][_intentId] = order.amount;
Expand All @@ -208,7 +208,7 @@ contract PP_Connext_Crosschain_v1 is PP_Crosschain_v1 {
* @param executionData Additional execution parameters
* @return The ID of the created intent
*/
function createCrossChainIntent(
function _createCrossChainIntent(
IERC20PaymentClientBase_v1.PaymentOrder memory order,
bytes memory executionData
) internal returns (bytes32) {
Expand Down
3 changes: 1 addition & 2 deletions src/modules/paymentProcessor/abstracts/CrossChainBase_v1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ import {ICrossChainBase_v1} from "../interfaces/ICrosschainBase_v1.sol";
* @title Cross-chain Base Contract
* @notice Abstract base contract providing core cross-chain functionality for payment
* processors.
* @dev This contract implements fundamental cross-chain operations and provides:
* @dev This contract exposes fundamental cross-chain operations and provides:
* - Bridge data storage and retrieval functionality
* - Abstract interface for bridge transfer execution
* - Integration with the Module_v1 base contract
* - Implementation of ICrossChainBase_v1 interface
* - ERC165 interface support for cross-chain functionality
* @custom:security-contact [email protected]
* In case of any concerns or findings, please refer to our
* Security Policy at security.inverter.network or email us
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract PP_Connext_Crosschain_v1_Exposed is PP_Connext_Crosschain_v1 {
IERC20PaymentClientBase_v1.PaymentOrder memory order,
bytes memory executionData
) external returns (bytes32) {
return createCrossChainIntent(order, executionData);
return _createCrossChainIntent(order, executionData);
}

function exposed_setFailedTransfer(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ import {PP_Connext_Crosschain_v1} from
import {CrossChainBase_v1} from
"src/modules/paymentProcessor/abstracts/CrossChainBase_v1.sol";
import {CrossChainBase_v1_Exposed} from
"test/modules/paymentProcessor/bridging/abstracts/CrossChainBase_v1_Exposed.sol";
"test/modules/paymentProcessor/abstracts/CrossChainBase_v1_Exposed.sol";
import {IERC20PaymentClientBase_v1} from
"@lm/interfaces/IERC20PaymentClientBase_v1.sol";
import {ICrossChainBase_v1} from
"src/modules/paymentProcessor/interfaces/ICrosschainBase_v1.sol";
import {IPaymentProcessor_v1} from
"src/modules/paymentProcessor/IPaymentProcessor_v1.sol";
import {PP_Connext_Crosschain_v1_Exposed} from
"test/modules/paymentProcessor/bridging/abstracts/PP_Connext_Crosschain_v1_Exposed.sol";
"test/modules/paymentProcessor/abstracts/PP_Connext_Crosschain_v1_Exposed.sol";
// Tests and Mocks
import {Mock_EverclearPayment} from
"test/modules/paymentProcessor/bridging/abstracts/mocks/Mock_EverclearPayment.sol";
"test/modules/paymentProcessor/abstracts/mocks/Mock_EverclearPayment.sol";
import {
IERC20PaymentClientBase_v1,
ERC20PaymentClientBaseV1Mock
Expand Down

0 comments on commit 8eb89d9

Please sign in to comment.