File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ const OPTIONAL_TYPES_EXECUTABLE_BY_ALIAS = [
24
24
] as const ;
25
25
26
26
// These types can be executed with a Starknet alias
27
- const TYPES_EXECUTABLE_BY_STARKNET_ALIAS = [ ...OPTIONAL_TYPES_EXECUTABLE_BY_ALIAS ] as const ;
27
+ const TYPES_EXECUTABLE_BY_STARKNET_ALIAS = [
28
+ 'flag-proposal' ,
29
+ ...OPTIONAL_TYPES_EXECUTABLE_BY_ALIAS
30
+ ] as const ;
28
31
29
32
// Memoization cache for getAllowedTypes
30
33
const allowedTypesCache = new Map < string , ExecutableType [ ] > ( ) ;
@@ -33,7 +36,7 @@ const allowedTypesCache = new Map<string, ExecutableType[]>();
33
36
type ExecutableType =
34
37
| ( typeof TYPES_EXECUTABLE_BY_ALIAS ) [ number ]
35
38
| ( typeof OPTIONAL_TYPES_EXECUTABLE_BY_ALIAS ) [ number ]
36
- | 'update-proposal' ;
39
+ | ( typeof TYPES_EXECUTABLE_BY_STARKNET_ALIAS ) [ number ] ;
37
40
38
41
/**
39
42
* Checks if an alias relationship exists and is not expired
You can’t perform that action at this time.
0 commit comments