From c4bffa580cd1234dc95751af77be150a89543ff6 Mon Sep 17 00:00:00 2001 From: tre Date: Tue, 5 Nov 2024 14:53:01 -0800 Subject: [PATCH] feat: remove createx (#47) --- .gitmodules | 3 --- packages/contracts/foundry.toml | 1 - packages/contracts/lib/createx | 1 - packages/e2e-test/src/envVars.ts | 2 +- remappings.txt | 1 - 5 files changed, 1 insertion(+), 7 deletions(-) delete mode 160000 packages/contracts/lib/createx diff --git a/.gitmodules b/.gitmodules index 9e73f677..43201034 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,6 +4,3 @@ [submodule "packages/contracts/lib/optimism"] path = packages/contracts/lib/optimism url = https://github.com/ethereum-optimism/optimism -[submodule "packages/contracts/lib/createx"] - path = packages/contracts/lib/createx - url = https://github.com/pcaversaccio/createx diff --git a/packages/contracts/foundry.toml b/packages/contracts/foundry.toml index 7b730f04..c0287a37 100644 --- a/packages/contracts/foundry.toml +++ b/packages/contracts/foundry.toml @@ -17,7 +17,6 @@ fs_permissions = [ remappings = [ "@contracts-bedrock/=lib/optimism/packages/contracts-bedrock/src/", - "createx/=lib/createx/src/", "@solady/=lib/optimism/packages/contracts-bedrock/lib/solady/src/", "@openzeppelin/contracts-v5=lib/optimism/packages/contracts-bedrock/lib/openzeppelin-contracts-v5/contracts/", "@solady-v0.0.245/=lib/optimism/packages/contracts-bedrock/lib/solady-v0.0.245/src/" diff --git a/packages/contracts/lib/createx b/packages/contracts/lib/createx deleted file mode 160000 index cbac8032..00000000 --- a/packages/contracts/lib/createx +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cbac803268835138f86a69bfe01fcf05a50e0447 diff --git a/packages/e2e-test/src/envVars.ts b/packages/e2e-test/src/envVars.ts index b0f27455..0f3b8a49 100644 --- a/packages/e2e-test/src/envVars.ts +++ b/packages/e2e-test/src/envVars.ts @@ -2,6 +2,6 @@ import { parseEnv, z } from 'znv' import { Address as ZodAddress } from 'abitype/zod' export const envVars = parseEnv(import.meta.env, { - VITE_TOKEN_CONTRACT_ADDRESS: ZodAddress.default("0xe20d8C366AE0716ca88384feCbcbf8179581157D"), + VITE_TOKEN_CONTRACT_ADDRESS: ZodAddress.default("0x040fC8E3cb47245BaAE006286e8EC177Ff676C1C"), VITE_TOKEN_MINTER_ADDRESS: ZodAddress.default("0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"), }) diff --git a/remappings.txt b/remappings.txt index ba3820ce..685ea174 100644 --- a/remappings.txt +++ b/remappings.txt @@ -1,3 +1,2 @@ @contracts-bedrock/=packages/contract/lib/optimism/packages/contracts-bedrock/src/ -createx/=packages/contract/lib/createx/src/ @solady/=packages/contract/lib/optimism/packages/contracts-bedrock/lib/solady/src/ \ No newline at end of file