This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if migration_status.is_ready_to_enable() && bank_forks.read().unwrap().is_bank_frozen(migration_status.genesis_block()) { | |
| let genesis_bank = bank_forks.read().unwrap().get(migration_status.genesis_slot()); | |
| // Reset poh to the genesis block. This has to be done first before we can clear banks to | |
| // avoid any inflight issues with transaction recording. | |
| Self::reset_poh_recorder( | |
| my_pubkey, | |
| blockstore, | |
| genesis_bank, | |
| poh_controller, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| export LC_NUMERIC="en_US.UTF-8" | |
| RPC_URL="https://api.mainnet-beta.solana.com" | |
| MINT="tvcUX2gkQWsPYK2Uq7DeuX9ZJTFF9V3BGJ2isfLMgrg" | |
| YES_ACCT="5ByopEuFqdd1AvXc6czKu6JQkCXdbWJwFMc4Bxe2dgYQ" | |
| NO_ACCT="AhaUueUXYWEuksQdAJMjvjPGAbjnXhYdk2ZrBVtNA9YT" | |
| ABSTAIN_ACCT="AYHPwv8WSNBKYStSQJ7NfgtWxMPz5WSw3MeDtc2Pww5r" | |
| function fetch_vote_token_balance() { |