Skip to content

Commit

Permalink
fix: linea adapter testnet extension
Browse files Browse the repository at this point in the history
  • Loading branch information
sendra committed Dec 10, 2024
1 parent 5a09e93 commit ccd596c
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions scripts/contract_extensions/LineaAdapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,9 @@ import {ILineaAdapter, LineaAdapter} from '../../src/contracts/adapters/linea/Li
*/
contract LineaAdapterTestnet is LineaAdapter {
/**
* @param crossChainController address of the cross chain controller that will use this bridge adapter
* @param lineaMessageService linea entry point address
* @param trustedRemotes list of remote configurations to set as trusted
* @param params object containing the necessary parameters to initialize the contract
*/
constructor(
address crossChainController,
address lineaMessageService,
uint256 providerGasLimit,
TrustedRemotesConfig[] memory trustedRemotes
)
LineaAdapter(
ILineaAdapter.LineaParams({
crossChainController: crossChainController,
lineaMessageService: lineaMessageService,
providerGasLimit: providerGasLimit,
trustedRemotes: trustedRemotes
})
)
{}
constructor(ILineaAdapter.LineaParams memory params) LineaAdapter(params) {}

/// @inheritdoc ILineaAdapter
function isDestinationChainIdSupported(uint256 chainId) public pure override returns (bool) {
Expand Down

0 comments on commit ccd596c

Please sign in to comment.