Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/utils/registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe("getRegistryContract", () => {
const rawClient = {} as any;

await expect(getRegistryContract(rawClient, fakeSigner)).rejects.toThrow(
/BadRegistryLookup/,
/MetaRegistryFailure/,
);

expect(fromClientMock).not.toHaveBeenCalled();
Expand Down
2 changes: 1 addition & 1 deletion src/utils/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function getRegistryContract(
} catch (err) {
const msg = err instanceof Error ? err.message : String(err);
throw new Error(
`BadRegistryLookup: Could not resolve the live Playground registry contract address from the CDM meta-registry. Refusing to use the cdm.json snapshot because it may be stale. ${msg}`,
`MetaRegistryFailure: Could not resolve the live Playground registry contract address from the CDM meta-registry. Refusing to use the cdm.json snapshot because it may be stale. ${msg}`,
{ cause: err instanceof Error ? err : undefined },
);
}
Expand Down
Loading