Skip to content

Conversation

@carllin
Copy link
Contributor

@carllin carllin commented Mar 25, 2025

Problem

Currently no convenient way to load the alpenglow vote program for local cluster tests

Summary of Changes

Fixes #

@carllin carllin requested review from AshwinSekar and ksn6 March 25, 2025 05:31
solana_program::bpf_loader_upgradeable::get_program_data_address(&address);

// Generate the data for the program data account
let upgrade_authority_address = Pubkey::default();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very minor nit: could use the system program system_program::id() as I've heard that's the convention for these "enshrined" programs

solana_stake_program::add_genesis_accounts(&mut genesis_config);

if is_alpenglow {
// TODO: enable this
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no harm in just always enabling this right? having this random program shouldn't break tower bft?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the .so is not being built without Karthik's PR, so it would panic on trying to find the binaries

@carllin carllin merged commit b15b9b1 into anza-xyz:master Mar 26, 2025
7 checks passed
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants