038da82b6f
* Adjusts test cases for stricter requirements. * Removes account reset in deserialization test. * Removes verify related test cases. * Replicates account modification verification logic of PreAccount in BorrowedAccount. * Adds TransactionContext::account_touched_flags. * Adds account modification verification to the BPF ABIv0 and ABIv1 deserialization, CPI syscall and program-test. * Replicates the total sum of all lamports verification of PreAccounts in InstructionContext * Check that the callers instruction balance is maintained during a call / push. * Replicates PreAccount statistics in TransactionContext. * Disable verify() and verify_and_update() if the feature enable_early_verification_of_account_modifications is enabled. * Moves Option<Rent> of enable_early_verification_of_account_modifications into TransactionContext::new(). * Relaxes AccountDataMeter related test cases. * Don't touch the account if nothing changes. * Adds two tests to trigger InstructionError::UnbalancedInstruction. Co-authored-by: Justin Starry <justin@solana.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml |