Skip to content

Commit

Permalink
Merge branch 'main' into update-opbnb
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 authored Oct 23, 2024
2 parents 52fc0a6 + bdc8e29 commit 3a3f796
Show file tree
Hide file tree
Showing 53 changed files with 50 additions and 224 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { HardhatRuntimeEnvironment } from 'hardhat/types'
import { DeployFunction } from 'hardhat-deploy/types'
import { ethers, network } from 'hardhat'
import { PeripheryRegistryFacet } from '../../../typechain'
import { PeripheryRegistryFacet } from '../../../../typechain'
import {
diamondContractName,
updateDeploymentLogs,
verifyContract,
} from './9999_utils'
import globalConfig from '../../../config/global.json'
} from '../../../../script/deploy/zksync/9999_utils'
import globalConfig from '../../../../config/global.json'

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
// Protect against unwanted redeployments
Expand Down
File renamed without changes.
172 changes: 0 additions & 172 deletions archive/src/DeBridgeDlnFacet.sol

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion config/dexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@
"0x79540403cdE176Ca5f1fb95bE84A7ec91fFDEF76",
"0x7fA60f4A59Dd8285C5Fcd8fd2A92A2Ca45ef8a0C",
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0x134f525AC05E4724e55C363A9C4FA35ceB13F88d"
"0x134f525AC05E4724e55C363A9C4FA35ceB13F88d",
"0x6352a56caadc4f1e25cd6c75970fa768a3304e64"
],
"immutablezkevm": [
"0xAcD913Ad6936Bb662395ac9a66D75bFc77c165fF",
Expand Down
7 changes: 3 additions & 4 deletions script/deploy/facets/DeployCelerIMFacet.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ pragma solidity ^0.8.17;
import { DeployScriptBase } from "./utils/DeployScriptBase.sol";
import { stdJson } from "forge-std/Script.sol";
import { CelerIMFacetMutable } from "lifi/Facets/CelerIMFacetMutable.sol";
import { CelerIMFacetImmutable } from "lifi/Facets/CelerIMFacetImmutable.sol";
import { CelerIMFacetBase } from "lifi/Helpers/CelerIMFacetBase.sol";

contract DeployScript is DeployScriptBase {
using stdJson for string;

constructor() DeployScriptBase("CelerIMFacet") {}

error CelerImFacetImmutableIsArchived();

function run()
public
returns (CelerIMFacetBase deployed, bytes memory constructorArgs)
Expand All @@ -30,9 +31,7 @@ contract DeployScript is DeployScriptBase {
deploy(type(CelerIMFacetMutable).creationCode)
);
} else {
deployed = CelerIMFacetImmutable(
deploy(type(CelerIMFacetImmutable).creationCode)
);
revert CelerImFacetImmutableIsArchived();
}
}

Expand Down
Loading

0 comments on commit 3a3f796

Please sign in to comment.