From 4f0b384c0d39b1ae7046dc90fa0eb93142c5dee0 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 20 Jan 2021 21:52:01 -0800 Subject: [PATCH] Template for an Inflation Candidate nomination To submit your nomination: 1. Replace all instances of "my_name" with a suitable alternative then address the "TODO" code comments 2. Submit a new Github pull request and work with the project contributors to merge your pull request (cherry picked from commit a7ff1684f50e01f71423310c962db733a77c3325) --- sdk/src/feature_set.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sdk/src/feature_set.rs b/sdk/src/feature_set.rs index 4887026179..265e3af633 100644 --- a/sdk/src/feature_set.rs +++ b/sdk/src/feature_set.rs @@ -48,6 +48,15 @@ pub mod full_inflation { solana_sdk::declare_id!("DummyEnab1eAddress1111111111111111111111111"); } } + + pub mod nam { + pub mod vote { + solana_sdk::declare_id!("Hb6tvjY81EmgapxNS4dos1v8Q2RSjQABphu7cnzM4ELa"); + } + pub mod enable { + solana_sdk::declare_id!("NamwT9ejvrfcPXrCHEwp7BvUUFKPgVznu66HZUgFD9w"); + } + } } pub mod spl_token_v2_multisig_fix { @@ -206,6 +215,8 @@ lazy_static! { (full_inflation::candidate_example::vote::id(), "Community vote allowing candidate_example to enable full inflation"), (full_inflation::candidate_example::enable::id(), "Full inflation enabled by candidate_example"), (matching_buffer_upgrade_authorities::id(), "Upgradeable buffer and program authorities must match"), + (full_inflation::nam::vote::id(), "community vote allowing Nam to enable full inflation"), + (full_inflation::nam::enable::id(), "full inflation enabled by Nam"), /*************** ADD NEW FEATURES HERE ***************/ ] .iter() @@ -237,6 +248,10 @@ lazy_static! { vote_id: full_inflation::candidate_example::vote::id(), enable_id: full_inflation::candidate_example::enable::id(), }, + FullInflationFeaturePair { + vote_id: full_inflation::nam::vote::id(), + enable_id: full_inflation::nam::enable::id(), + }, ] .iter() .cloned()