Skip to content

Commit

Permalink
fix: correction of CairoAssembly type
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeR26 committed Oct 30, 2023
1 parent 009c711 commit 340392f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/lib/contract/legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type EntryPointsByType = {

export type ContractEntryPointFields = {
selector: string;
offset: string;
offset: string | number;
builtins?: Builtins;
};

Expand Down
2 changes: 1 addition & 1 deletion src/types/lib/contract/sierra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type CairoAssembly = {
compiler_version: string;
bytecode: ByteCode;
hints: any[];
pythonic_hints: PythonicHints;
pythonic_hints?: PythonicHints;
entry_points_by_type: EntryPointsByType;
};

Expand Down

0 comments on commit 340392f

Please sign in to comment.