File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -741,7 +741,7 @@ pub(crate) mod tests {
741
741
l1_gas : 0 ,
742
742
l1_data_gas : 192 ,
743
743
} ,
744
- l1_gas : 0 ,
744
+ l1_gas : 878 ,
745
745
l1_data_gas : 192 ,
746
746
l2_gas : 0 ,
747
747
} ,
@@ -1004,7 +1004,7 @@ pub(crate) mod tests {
1004
1004
l1_gas : 0 ,
1005
1005
l1_data_gas : 224 ,
1006
1006
} ,
1007
- l1_gas : 0 ,
1007
+ l1_gas : 16 ,
1008
1008
l1_data_gas : 224 ,
1009
1009
l2_gas : 0 ,
1010
1010
} ,
@@ -1415,7 +1415,7 @@ pub(crate) mod tests {
1415
1415
l1_gas : 0 ,
1416
1416
l1_data_gas : 128 ,
1417
1417
} ,
1418
- l1_gas : 0 ,
1418
+ l1_gas : 12 ,
1419
1419
l1_data_gas : 128 ,
1420
1420
l2_gas : 0 ,
1421
1421
} ,
@@ -1645,7 +1645,10 @@ pub(crate) mod tests {
1645
1645
..Default :: default ( )
1646
1646
} ,
1647
1647
execution_resources:
1648
- pathfinder_executor:: types:: InnerCallExecutionResources :: default ( ) ,
1648
+ pathfinder_executor:: types:: InnerCallExecutionResources {
1649
+ l1_gas: 12840 ,
1650
+ ..Default :: default ( )
1651
+ } ,
1649
1652
} ] ,
1650
1653
class_hash : Some ( DUMMY_ACCOUNT_CLASS_HASH . 0 ) ,
1651
1654
entry_point_type : pathfinder_executor:: types:: EntryPointType :: External ,
Original file line number Diff line number Diff line change @@ -769,6 +769,7 @@ pub(crate) mod tests {
769
769
include_state_diffs : true ,
770
770
} ;
771
771
772
+ // V07
772
773
pretty_assertions_sorted:: assert_eq!(
773
774
output
774
775
. serialize( Serializer {
@@ -781,6 +782,20 @@ pub(crate) mod tests {
781
782
} )
782
783
. unwrap( ) ,
783
784
) ;
785
+
786
+ // V08
787
+ pretty_assertions_sorted:: assert_eq!(
788
+ output
789
+ . serialize( Serializer {
790
+ version: RpcVersion :: V08 ,
791
+ } )
792
+ . unwrap( ) ,
793
+ expected
794
+ . serialize( Serializer {
795
+ version: RpcVersion :: V08 ,
796
+ } )
797
+ . unwrap( ) ,
798
+ ) ;
784
799
Ok ( ( ) )
785
800
}
786
801
You can’t perform that action at this time.
0 commit comments