Simple cap by including sysvars and native programs (#13884)
* Simpler cap by including sysvars and native programs * Fix tests * Add comment * revert some unrelated code * Update test_bank_update_sysvar_account for cap. * Test cap. for add_native_program using new helper * Improve the cap adjustment with new tests * Fix typo... * Adjust test for improved code coverage * Rename simpler_capitalization => simple_capitalization * More rename and bonus commenting
This commit is contained in:
		| @@ -149,6 +149,11 @@ impl GenesisConfig { | ||||
|         hash(&serialized) | ||||
|     } | ||||
|  | ||||
|     pub fn disable_cap_altering_features_for_preciseness(&mut self) { | ||||
|         self.accounts | ||||
|             .remove(&crate::feature_set::simple_capitalization::id()); | ||||
|     } | ||||
|  | ||||
|     fn genesis_filename(ledger_path: &Path) -> PathBuf { | ||||
|         Path::new(ledger_path).join("genesis.bin") | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user