forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sakridge/client experiments #2
Merged
sakridge
merged 2 commits into
sakridge:client_experiments
from
aeyakovenko:sakridge/client_experiments
May 4, 2018
Merged
Sakridge/client experiments #2
sakridge
merged 2 commits into
sakridge:client_experiments
from
aeyakovenko:sakridge/client_experiments
May 4, 2018
Conversation
This file contains 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
sakridge
pushed a commit
that referenced
this pull request
Feb 14, 2019
fmt rebase forkup fixing build all leave the last block open more tests rebase fix replay test fix rollback depth parameter cleanup better replay stage s/finalized/frozen for bank_checkpoints that are no longer able to write transactions or ticks remove println disconnect blob sender so that TVU isn't replyaing onto TPU's fork finalize()->freeze(), code review comments rebased fix window_send_test remove entries_to_blocks() guard against too many ticks in a slot limiting ticks, take #2 more info fix test_replay_stage_poh_error_entry_receiver fix leader_scheduler::test_update_height s/bank_state/bank_fork/g s/bank_checkpoint/bank_delta/g fix up stragglers from rename get it building again. num_ticks_left_in_slot() should not assume slot from tick_height fixups ignore leader rotation tests until ledger is turned around renames, compile fixes simplify PohService, initialize and freeze TPU bank, skip TPU slot in TVU compiling again replay_stage cleanup move banking_stage done back to banking_stage use closure in test, too cleanup poh_service, freeze() TPU's slot from banking_stage()
sakridge
pushed a commit
that referenced
this pull request
May 13, 2020
* Initial commit * Execute transfers * Refactor for testing * Cleanup readme * Rewrite * Cleanup * Cleanup * Cleanup client * Use a Null Client to move prints closer to where messages are sent * Upgrade Solana * Move core functionality into its own module * Handle transaction errors * Merge allocations * Fixes * Cleanup readme * Fix markdown * Add example input * Add integration test - currently fails * Add integration test * Add metrics * Use RpcClient in dry-run, just don't send messages * More metrics * Fix dry run with no keys * Only require one approval if fee-payer is the sender keypair * Fix bugs * Don't create the transaction log if nothing to put into it; otherwise the next innvocation won't add the header * Apply previous transactions to allocations with matching recipients * Bail out of any account already has a balance * Polish * Add new 'balances' command * 9 decimal places * Add missing file * Better dry-run; keypair options now optional * Change field name from 'bid' to 'accepted' Also, tolerate precision change from 2 decimal places to 4 * Write to transaction log immediately * Rename allocations_csv to bids_csv So that we can bypass bids_csv with an allocations CSV file * Upgrade Solana * Remove faucet from integration test * Cleaner integration test Won't work until this lands and is released: solana-labs#9717 * Update README * Add TravicCI script to build and test (#1) * Add distribute-stake command (#2) * Distribute -> DistributeTokens (#3) * Cache cargo deps (#4) * Add docs (#5) * Switch to latest Solana 1.1 release (solana-labs#7) * distribute -> distribute-tokens (solana-labs#9) * Switch from CSV to a pickledb database (solana-labs#8) * Switch from CSV to a pickledb database * Allow PickleDb errors to bubble up * Dedup * Hoist db * Add finalized field to TransactionInfo * Don't allow RPC client to resign transactions * Remove dead code * Use transport::Result * Record unconfirmed transaction * Fix: separate stake account per allocation * Catch transport errors * Panic if we attempt to replay a transaction that hasn't been finalized * Attempt to fix CI PickleDb isn't calling flush() or close() after writing to files. No issue on MacOS, but looks racy in CI. * Revert "Attempt to fix CI" This reverts commit 1632394f636c54402b3578120e8817dd1660e19b. * Poll for signature before returning * Add --sol-for-fees option for stake distributions * Add --allocations-csv option (solana-labs#14) * Add allocations-csv option * Add tests or GTFO * Apply review feedback * apply feedback * Add read_allocations function * Update arg_parser.rs * Fix balances command (solana-labs#17) * Fix balances command * Fix readme * Add --force to transfer to non-empty accounts (solana-labs#18) * Add --no-wait (solana-labs#16) * Add ThinClient methods to implement --no-wait * Plumb --no-wait through No tests yet * Check transaction status on startup * Easier to test * Wait until transaction is finalized before checking if it failed with an error It's possible that a minority fork thinks it failed. * Add unit tests * Remove dead code and rustfmt * Don't flush database to file if doing a dry-run * Continue when transactions not yet finalized (solana-labs#20) If those transactions are dropped, the next run will execute them. * Return the number of confirmations (solana-labs#21) * Add read_allocations() unit-test (solana-labs#22) Delete the copy-pasted top-level test. Fixes solana-labs#19 * Add a CSV printer (solana-labs#23) * Remove all the copypasta (solana-labs#24) * Move resolve_distribute_stake_args into its own function * Add stake args to token args * Unify option names * Move Command::DistributeStake into DistributeTokens * Remove process_distribute_stake * Only unique signers * Use sender keypair to fund new fee-payer accounts * Unify distribute_tokens and distribute_stake * Rename print-database command to transaction-log (solana-labs#25) * Send all transactions as quickly as possible, then wait (solana-labs#26) * Send all transactions as quickly as possible, then wait * Exit when finalized or blockhashes have expired * Don't need blockhash in the CSV output * Better types CSV library was choking on Pubkey as a type. PickleDb doesn't have that problem. * Resend if blockhash has not expired * Attempt to fix CI * Move log to stderr * Add constructor, tuck away client (solana-labs#30) * Add constructor, tuck away client * Fix unwrap() caught by CI * Fix optional option flagged as required * Bunch of cleanup (solana-labs#31) * Remove untested --no-wait feature * Make --transactions-db an option, not an arg So that in the future, we can make it optional * Remove more untested features Too many false positives in that santity check. Use --dry-run instead. * Add dry-run mode to ThinClient * Cleaner dry-run * Make key parameters required Just don't use them in --dry-run * Add option to write the transaction log --dry-run doesn't write to the database. Use this option if you want a copy of the transaction log before the final run. * Revert --transaction-log addition Implement solana-labs#27 first * Fix CI * Update readme * Fix CI in copypasta * Sort transaction log by finalized date (solana-labs#33) * Make --transaction-db option implicit (solana-labs#34) * Move db functionality into its own module (solana-labs#35) * Move db functionality into its own module * Rename tokens module to commands * Version bump * Upgrade Solana * Add solana-tokens to build * Remove Cargo.lock * Remove vscode file * Remove TravisCI build script * Install solana-tokens Co-authored-by: Dan Albert <dan@solana.com>
sakridge
pushed a commit
that referenced
this pull request
Jun 13, 2020
sakridge
pushed a commit
that referenced
this pull request
Apr 18, 2022
solana-labs#23185) * fix: remove async for createProgramAddress and findProgramAddress (solana-labs#23184) make sync * test: add test to ensure backwards compatibility
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.