* hijack secp256k1 enablement feature plumbing for libsecp256k1 upgrade * bump libsecp256k1 to v0.5.0 * gate libsecp256k1 upgrade to v0.5.0 * ci: allow clippy::inconsistent_struct_constructor Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
@@ -2321,13 +2321,13 @@ fn main() {
|
||||
let mut store_failed_count = 0;
|
||||
if force_enabled_count >= 1 {
|
||||
if base_bank
|
||||
.get_account(&feature_set::secp256k1_program_enabled::id())
|
||||
.get_account(&feature_set::spl_token_v2_multisig_fix::id())
|
||||
.is_some()
|
||||
{
|
||||
// steal some lamports from the pretty old feature not to affect
|
||||
// capitalizaion, which doesn't affect inflation behavior!
|
||||
base_bank.store_account(
|
||||
&feature_set::secp256k1_program_enabled::id(),
|
||||
&feature_set::spl_token_v2_multisig_fix::id(),
|
||||
&AccountSharedData::default(),
|
||||
);
|
||||
force_enabled_count -= 1;
|
||||
|
Reference in New Issue
Block a user