Prevent rent-paying account creation (#22292)
* Fixup typo * Add new feature * Add new TransactionError * Add framework for checking account state before and after transaction processing * Fail transactions that leave new rent-paying accounts * Only check rent-state of writable tx accounts * Review comments: combine process_result success behavior; log and metrics before feature activation * Fix tests that assume rent-exempt accounts are okay * Remove test no longer relevant * Remove native/sysvar special case * Move metrics submission to report legacy->legacy rent paying transitions as well
This commit is contained in:
@@ -19,6 +19,7 @@ bzip2 = "0.4.3"
|
||||
dashmap = { version = "5.0.0", features = ["rayon", "raw-api"] }
|
||||
crossbeam-channel = "0.5"
|
||||
dir-diff = "0.3.2"
|
||||
enum-iterator = "0.7.0"
|
||||
flate2 = "1.0.22"
|
||||
fnv = "1.0.7"
|
||||
index_list = "0.2.7"
|
||||
|
Reference in New Issue
Block a user