Skip to content

Commit

Permalink
formatting the ipfs resolver uri
Browse files Browse the repository at this point in the history
  • Loading branch information
nerfZael committed Sep 29, 2023
1 parent 4dd0fc4 commit c111edf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cli/src/lib/test-env/client-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
Connections,
Connection,
} from "@polywrap/ethereum-wallet-js";
import { IWrapPackage } from "@polywrap/core-js";
import { IWrapPackage, Uri } from "@polywrap/core-js";

export function getTestEnvClientConfig(): Partial<BuilderConfig> {
// TODO: move this into its own package, since it's being used everywhere?
Expand All @@ -31,7 +31,8 @@ export function getTestEnvClientConfig(): Partial<BuilderConfig> {

const builder = new PolywrapClientConfigBuilder().addDefaults();

const ipfsResolverEnv = builder.config.envs[Sys.bundle.ipfsResolver.uri];
const ipfsResolverEnv =
builder.config.envs[Uri.from(Sys.bundle.ipfsResolver.uri).toString()];

builder
.addEnvs({
Expand Down

0 comments on commit c111edf

Please sign in to comment.