* Remove fee-payer guesswork from Message and Transaction (#10776)
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
(cherry picked from commit 1c498369b5)
# Conflicts:
#	cli/src/nonce.rs
#	core/src/rpc.rs
#	ledger/src/blockstore.rs
#	programs/bpf/tests/programs.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com>
			
			
This commit is contained in:
		| @@ -813,7 +813,7 @@ fn call<'a>( | ||||
|         ro_regions, | ||||
|     )?; | ||||
|     verify_instruction(syscall, &instruction, &signers)?; | ||||
|     let message = Message::new_with_payer(&[instruction], None); | ||||
|     let message = Message::new(&[instruction], None); | ||||
|     let callee_program_id_index = message.instructions[0].program_id_index as usize; | ||||
|     let callee_program_id = message.account_keys[callee_program_id_index]; | ||||
|     let (accounts, refs) = syscall.translate_accounts( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user