solana/cli/src
Alexander Meißner 038da82b6f
Feature: Early verification of account modifications in `BorrowedAccount` (#25899)
* 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>
2022-07-15 09:31:34 +02:00
..
checks.rs cli: Speed up fee check on program deployment (#25718) 2022-06-02 11:54:26 +02:00
clap_app.rs
cli.rs pacify nightly clippy 2022-06-30 21:31:49 -07:00
cluster_query.rs epoch-info: Add epochCompletedPercent field to json output 2022-07-09 14:26:12 -07:00
feature.rs Paginate rpc query to get feature accounts (#25978) 2022-06-14 22:57:57 -06:00
inflation.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
lib.rs
main.rs Move helpers to solana-cli-config (#24246) 2022-04-11 12:56:51 -06:00
memo.rs
nonce.rs removes feature gate code separating durable nonce from blockhash domain (#26055) 2022-07-06 12:03:13 +00:00
program.rs Feature: Early verification of account modifications in `BorrowedAccount` (#25899) 2022-07-15 09:31:34 +02:00
spend_utils.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
stake.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
test_utils.rs nit: Traceable balance checks (#22462) 2022-01-13 09:09:22 -08:00
validator_info.rs Add space for keys in calculation for rent exempt in `process_set_validator_info` (#23485) 2022-03-14 15:10:31 -06:00
vote.rs Add StakeInstruction::DeactivateDelinquent 2022-04-14 01:49:22 -04:00
wallet.rs Add CLI support for versioned transactions (#23606) 2022-03-17 11:43:04 +08:00