Skip to content

Commit 76f441c

Browse files
committed
refactor(yaml-parser): Remove unused RawContract type definition
- Eliminated the `RawContract` type definition from the `yaml-parser.ts` file to streamline the code and improve maintainability.
1 parent e599388 commit 76f441c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

private-rpc/src/permissions/yaml-parser.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ const contractSchema = z.object({
5353
methods: z.array(methodSchema)
5454
});
5555

56-
type RawContract = z.infer<typeof contractSchema>;
57-
5856
const yamlSchema = z.object({
5957
whitelisted_wallets: z.union([
6058
z.array(addressSchema).nonempty({

0 commit comments

Comments
 (0)