File tree 3 files changed +132
-44
lines changed
context/interface/src/transaction
3 files changed +132
-44
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,12 @@ pub fn find_all_json_tests(path: &Path) -> Vec<PathBuf> {
5
5
WalkDir :: new ( path)
6
6
. into_iter ( )
7
7
. filter_map ( |e| e. ok ( ) )
8
- . filter ( |e| e. file_name ( ) . to_string_lossy ( ) . ends_with ( ".json" ) )
8
+ . filter ( |e| {
9
+ e. path ( )
10
+ . extension ( )
11
+ . map ( |ext| ext == "json" )
12
+ . unwrap_or ( false )
13
+ } )
9
14
. map ( DirEntry :: into_path)
10
15
. collect :: < Vec < PathBuf > > ( )
11
16
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pub enum TransactionType {
13
13
Eip4844 ,
14
14
/// EIP-7702 Set EOA account code transaction type
15
15
Eip7702 ,
16
- /// Custom type means that transaction trait was extend and have custom types
16
+ /// Custom type means that the transaction trait was extended and has custom types
17
17
Custom ,
18
18
}
19
19
You can’t perform that action at this time.
0 commit comments