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