File tree 3 files changed +39
-6
lines changed
3 files changed +39
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ fn fail_buffer_already_initialized() {
35
35
] ,
36
36
& [
37
37
Check :: err ( ProgramError :: AccountAlreadyInitialized ) ,
38
- Check :: compute_units ( 1245 ) ,
38
+ Check :: compute_units ( 1244 ) ,
39
39
] ,
40
40
) ;
41
41
}
@@ -62,7 +62,7 @@ fn fail_buffer_account_too_small() {
62
62
] ,
63
63
& [
64
64
Check :: err ( ProgramError :: InvalidAccountData ) ,
65
- Check :: compute_units ( 789 ) ,
65
+ Check :: compute_units ( 788 ) ,
66
66
] ,
67
67
) ;
68
68
}
@@ -89,7 +89,7 @@ fn fail_buffer_account_not_owned_by_loader() {
89
89
] ,
90
90
& [
91
91
Check :: instruction_err ( InstructionError :: ExternalAccountDataModified ) ,
92
- Check :: compute_units ( 642 ) ,
92
+ Check :: compute_units ( 641 ) ,
93
93
] ,
94
94
) ;
95
95
}
@@ -116,7 +116,7 @@ fn success() {
116
116
] ,
117
117
& [
118
118
Check :: success ( ) ,
119
- Check :: compute_units ( 2169 ) ,
119
+ Check :: compute_units ( 2168 ) ,
120
120
Check :: account ( & source)
121
121
. lamports ( 100_000_000 )
122
122
. owner ( & solana_loader_v3_program:: id ( ) )
Original file line number Diff line number Diff line change
1
+ #![ cfg( feature = "test-sbf" ) ]
2
+
3
+ mod common;
4
+
5
+ #[ test]
6
+ fn fail_invalid_account_state ( ) { }
7
+
8
+ #[ test]
9
+ fn buffer_fail_buffer_immutable ( ) { }
10
+
11
+ #[ test]
12
+ fn buffer_fail_incorrect_authority ( ) { }
13
+
14
+ #[ test]
15
+ fn buffer_fail_authority_not_signer ( ) { }
16
+
17
+ #[ test]
18
+ fn buffer_fail_new_authority_not_signer ( ) { }
19
+
20
+ #[ test]
21
+ fn programdata_fail_not_upgradeable ( ) { }
22
+
23
+ #[ test]
24
+ fn programdata_fail_incorrect_authority ( ) { }
25
+
26
+ #[ test]
27
+ fn programdata_fail_authority_not_signer ( ) { }
28
+
29
+ #[ test]
30
+ fn programdata_fail_new_authority_not_signer ( ) { }
31
+
32
+ #[ test]
33
+ fn success ( ) { }
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ fn success() {
60
60
] ,
61
61
& [
62
62
Check :: success ( ) ,
63
- Check :: compute_units ( 1418 ) ,
63
+ Check :: compute_units ( 1419 ) ,
64
64
Check :: account ( & buffer) . data ( & check_data) . build ( ) ,
65
65
] ,
66
66
) ;
@@ -79,7 +79,7 @@ fn success() {
79
79
] ,
80
80
& [
81
81
Check :: success ( ) ,
82
- Check :: compute_units ( 1390 ) ,
82
+ Check :: compute_units ( 1391 ) ,
83
83
Check :: account ( & buffer) . data ( & check_data) . build ( ) ,
84
84
] ,
85
85
) ;
You can’t perform that action at this time.
0 commit comments