Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorgomezv committed Jul 19, 2024
1 parent 6fa8b4c commit f2ca4c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion migrations/__tests__/00004_counterfactual-safes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface CounterfactualSafesRow {
updated_at: Date;
id: number;
chain_id: string;
creator:`0x${string}`;
creator: `0x${string}`;
fallback_handler: `0x${string}`;
owners: `0x${string}`[];
predicted_address: `0x${string}`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export const CounterfactualSafeSchema = RowSchema.extend({
chain_id: z.string(),
creator: AddressSchema,
fallback_handler: AddressSchema,
owners: z.array(AddressSchema),
owners: z.array(AddressSchema).min(1),
predicted_address: AddressSchema,
salt_nonce: HexSchema,
salt_nonce: z.string(),
singleton_address: AddressSchema,
threshold: z.number().int().gte(0),
threshold: z.number().int().gte(1),
account_id: AccountSchema.shape.id,
});
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export class CreateCounterfactualSafeDto
export const CreateCounterfactualSafeDtoSchema = z.object({
chain_id: z.string(),
fallback_handler: AddressSchema,
owners: z.array(AddressSchema),
owners: z.array(AddressSchema).min(1),
predicted_address: AddressSchema,
salt_nonce: HexSchema,
salt_nonce: z.string(),
singleton_address: AddressSchema,
threshold: z.number().int().gte(1),
});

0 comments on commit f2ca4c0

Please sign in to comment.