File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ fn exec(input: &PathBuf) -> bool {
2020 }
2121 } ;
2222
23- let mut expected = match fixture. output {
23+ let expected = match fixture. output {
2424 Some ( e) => e,
2525 None => {
2626 println ! ( "No fixture found." ) ;
2727 return false ;
2828 }
2929 } ;
30- let mut effects = match solfuzz_agave:: txn_fuzzer:: execute_transaction ( context) {
30+ let effects = match solfuzz_agave:: txn_fuzzer:: execute_transaction ( context) {
3131 Some ( e) => e,
3232 None => {
3333 println ! (
@@ -38,18 +38,6 @@ fn exec(input: &PathBuf) -> bool {
3838 }
3939 } ;
4040
41- /* Ignore rent epoch fields */
42- if let Some ( resulting_state) = expected. resulting_state . as_mut ( ) {
43- for account in resulting_state. acct_states . iter_mut ( ) {
44- account. rent_epoch = 0 ;
45- }
46- }
47- if let Some ( resulting_state) = effects. resulting_state . as_mut ( ) {
48- for account in resulting_state. acct_states . iter_mut ( ) {
49- account. rent_epoch = 0 ;
50- }
51- }
52-
5341 let ok = effects == expected;
5442 if ok {
5543 println ! ( "OK: {:?}" , input) ;
You can’t perform that action at this time.
0 commit comments