File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7205,7 +7205,7 @@ fn test_bpf_loader_upgradeable_deploy_with_max_len() {
7205
7205
invocation_message. clone ( ) ,
7206
7206
bank. last_blockhash ( ) ,
7207
7207
) ;
7208
- // See comments below at line 7230 .
7208
+ // See comments below for Test buffer invocation .
7209
7209
assert_eq ! (
7210
7210
bank. process_transaction( & transaction) ,
7211
7211
Err ( TransactionError :: InvalidProgramForExecution ) ,
@@ -7231,7 +7231,7 @@ fn test_bpf_loader_upgradeable_deploy_with_max_len() {
7231
7231
// short-circuit buffer account to fake it and mark it executable. So it
7232
7232
// passed program execution check but failed with `Err(InstructionError(0, InvalidAccountData))`.
7233
7233
// With this PR, we don't do that. The buffer account will NOT be executable. A different error is throw `Err(InvalidProgramForExecution)`.
7234
- // This will break consensus unfortunately! Maybe a feature gate is required for this PR?
7234
+ // This will NOT break consensus fortunately! Changing to `Err(InvalidProgramForExecution)` won't affect bank hash!
7235
7235
assert_eq ! (
7236
7236
bank. process_transaction( & transaction) ,
7237
7237
Err ( TransactionError :: InvalidProgramForExecution ) ,
You can’t perform that action at this time.
0 commit comments