Skip to content

Commit 6bea072

Browse files
committed
fix(web): neo-codegen
1 parent 7a78b27 commit 6bea072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/wagmi.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dotenv.config();
1818

1919
const readArtifacts = async (type: ArbitratorTypes, viemChainName: string, hardhatChainName?: string) => {
2020
const artifactSuffix =
21-
type === ArbitratorTypes.vanilla
21+
type === ArbitratorTypes.vanilla || type === ArbitratorTypes.neo
2222
? ""
2323
: ArbitratorTypes[type].toString().charAt(0).toUpperCase() + ArbitratorTypes[type].toString().slice(1);
2424
const vanillaArtifacts = [
@@ -59,7 +59,7 @@ const readArtifacts = async (type: ArbitratorTypes, viemChainName: string, hardh
5959
// console.debug(`Skipping ${name} for deployment type ${ArbitratorTypes[type]}`);
6060
continue;
6161
}
62-
if (type !== ArbitratorTypes.vanilla) {
62+
if (type === ArbitratorTypes.university) {
6363
nameWithoutSuffix = name.slice(0, -artifactSuffix.length);
6464
// console.debug(`Using ${nameWithoutSuffix} instead of ${name}`);
6565
}

0 commit comments

Comments
 (0)