Skip to content

Commit

Permalink
fix: updated mantle deploy with correct args
Browse files Browse the repository at this point in the history
  • Loading branch information
sendra committed Feb 7, 2025
1 parent 6482fbc commit 4d9bd05
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scripts/Adapters/DeployMantleAdapter.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

import {MantleAdapter} from '../../src/contracts/adapters/mantle/MantleAdapter.sol';
import {MantleAdapter, IMantleAdapter} from '../../src/contracts/adapters/mantle/MantleAdapter.sol';
import './BaseAdapterScript.sol';
import {MantleAdapterTestnet} from '../contract_extensions/MantleAdapter.sol';

Expand All @@ -20,10 +20,12 @@ library MantleAdapterDeploymentHelper {
abi.encodePacked(
creationCode,
abi.encode(
mantleArgs.baseArgs.crossChainController,
mantleArgs.ovm,
mantleArgs.baseArgs.providerGasLimit,
mantleArgs.baseArgs.trustedRemotes
IMantleAdapter.MantleParams({
crossChainController: mantleArgs.baseArgs.crossChainController,
ovmCrossDomainMessenger: mantleArgs.ovm,
providerGasLimit: mantleArgs.baseArgs.providerGasLimit,
trustedRemotes: mantleArgs.baseArgs.trustedRemotes
})
)
);
}
Expand Down

0 comments on commit 4d9bd05

Please sign in to comment.