sakridge
91a2d03f28
Update version to 1.4.19 ( #14196 )
2020-12-18 00:36:20 +00:00
Trent Nelson
120074f1c1
Bump SPL crates
2020-12-17 03:00:18 +00:00
sakridge
82add14782
Bump version to v1.4.18 ( #14144 )
2020-12-16 04:15:05 +00:00
Michael Vines
539f108ea6
Bump version to 1.4.17
2020-12-14 15:57:53 -08:00
Michael Vines
fb3e88bb7e
Bump version to v1.4.16 ( #14054 )
2020-12-10 17:04:34 -08:00
Michael Vines
38d7d7df50
Bump version to v1.4.15
2020-12-03 01:55:39 +00:00
mergify[bot]
e7a95b1189
solana-tokens: optimize PickleDb dumps (bp #13879 ) ( #13903 )
...
* solana-tokens: optimize PickleDb dumps (#13879 )
* Dump PickleDb after transaction sends/confirmation
* Dump PickleDb on ctrlc
* Don't exit during tests
* Add build_messages helper and test db dump
* Add send_messages helper and test db dump
* Add combined test
* Add log_transaction_confirmations helper and test db dump
* Add update_finalized_transactions test
* Return error instead of process::exit
* Close TestValidator
(cherry picked from commit 8c40dd34b2b71ac23ad5694a44898db5ef028714)
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2020-12-02 03:49:11 +00:00
mergify[bot]
97c1c944fb
solana-tokens: enable confirmation of many transactions ( #13876 ) ( #13881 )
...
* Update comment
* Chunk signature status checks to handle distributions greater than 256 tx
(cherry picked from commit c59e088142
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-12-01 04:15:22 +00:00
Tyera Eulberg
fbbc640958
Revert solana-tokens to RpcClient ( #13623 ) ( #13863 )
...
* Revert solana-tokens to RpcClient
* Fixup check_payer_balances tests
* Use RpcClient::new_with_commitment in other tests
* Sneak in helper fn from #13820
Co-authored-by: Tyera Eulberg <tyera@solana.com>
Co-authored-by: Greg Fitzgerald <greg@solana.com>
2020-11-30 19:57:33 +00:00
sakridge
cea722ac09
Bump version to v1.4.14 ( #13852 )
2020-11-29 18:20:19 +00:00
Michael Vines
f5eb5a3ba6
Bump version to v1.4.13
2020-11-26 06:59:28 +00:00
mergify[bot]
64c2e759ab
Use u64 behind the scenes for solana-tokens (bp #13815 ) ( #13818 )
...
* Use u64 behind the scenes for solana-tokens (#13815 )
* Use u64 behind the scenes for Allocations
* Fixup readme
* Clippy and remove errant comments
(cherry picked from commit 5e2d38227f
)
# Conflicts:
# tokens/src/commands.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2020-11-26 03:05:36 +00:00
Tyera Eulberg
fd9e003ae1
Bump version to 1.4.12 ( #13792 )
2020-11-24 22:53:36 +00:00
Tyera Eulberg
7099d07fd3
Bump version to 1.4.11 ( #13780 )
2020-11-24 06:30:35 +00:00
Tyera Eulberg
e7e7cbe632
v1.4: Distribute spl tokens ( #13688 )
...
* Add helpers to covert between sdk types
* Add distribute-spl-tokens to args and arg-parsing
* Build spl-token transfer-checked instructions
* Check spl-token balances properly
* Add display handling to support spl-token
* Small refactor to allow failures in allocation iter
* Use Associated Token Account for spl-token distributions
* Add spl token support to balances command
* Update readme
* Add spl-token tests
* Rename spl-tokens file
* Move a couple more things out of commands
* Stop requiring lockup_date heading for non-stake distributions
* Adjust solana_rbpf log level up in coverage
* Use epsilon for allocation retention
2020-11-19 10:32:27 -07:00
mergify[bot]
81a26aa4fc
solana-tokens: Add real --version (bp #13659 ) ( #13660 )
...
* Add real --version
(cherry picked from commit 78dc334afe
)
# Conflicts:
# Cargo.lock
# tokens/Cargo.toml
* Update Cargo.toml
* Update Cargo.lock
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-11-18 03:25:05 +00:00
Tyera Eulberg
855cf9a362
Bump version to 1.4.10 ( #13657 )
2020-11-18 01:29:58 +00:00
mergify[bot]
c183c3a5ec
Improve TestValidator instantiation (bp #13627 ) ( #13635 )
...
* Improve TestValidator instantiation (#13627 )
* Add TestValidator::new_with_fees constructor, and warning for low bootstrap_validator_lamports
* Add logging to solana-tokens integration test to help catch low bootstrap_validator_lamports in the future
* Reasonable TestValidator mint_lamports
(cherry picked from commit ef99689592
)
# Conflicts:
# tokens/Cargo.toml
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2020-11-17 01:08:58 -07:00
Trent Nelson
b838aba840
Bump version to 1.4.9
2020-11-13 17:50:10 -07:00
Ryo Onodera
e14c2f94f4
Bump version to v1.4.8 ( #13552 )
2020-11-12 17:43:31 +00:00
Tyera Eulberg
c9e646b86b
Bump version to v1.4.7 ( #13488 )
2020-11-10 05:55:26 +00:00
Michael Vines
e738bf1c9a
Bump version to v1.4.6
2020-11-07 02:49:14 +00:00
Michael Vines
5877427389
Bump version to v1.4.5
2020-11-01 17:05:45 +00:00
Michael Vines
23fe3a86d9
Switch to dirs-next
2020-10-31 18:50:51 +00:00
mergify[bot]
b859acbfea
Upgrade tarpc and tokio (bp #13293 ) ( #13300 )
...
* Upgrade tarpc and tokio (#13293 )
(cherry picked from commit ca00197009
)
# Conflicts:
# banks-client/Cargo.toml
# banks-interface/Cargo.toml
# banks-server/Cargo.toml
* rebase
Co-authored-by: Greg Fitzgerald <greg@solana.com>
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-10-30 08:05:27 +00:00
Michael Vines
597618846b
Bump version to v1.4.4
2020-10-24 22:10:32 +00:00
Trent Nelson
53b074aa35
Bump version to 1.4.3
2020-10-23 04:20:28 +00:00
mergify[bot]
edfbd8d65a
Add replacements for Pubkey::new_rand()/Hash::new_rand() (bp #12987 ) ( #13076 )
...
* Add pubkey_new_rand(), mark Pubkey::new_rand() deprecated
(cherry picked from commit 0e68ed6a8d
)
* Add hash_new_rand(), mark Hash::new_rand() as deprecated
(cherry picked from commit 76f11c7dae
)
* Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand`
(cherry picked from commit 7bc073defe
)
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# runtime/benches/accounts.rs
# runtime/src/accounts.rs
* Run `codemod --extensions rs Hash::new_rand solana_sdk:#️⃣ :new_rand`
(cherry picked from commit 17c391121a
)
* Remove unused pubkey::Pubkey imports
(cherry picked from commit 959880db60
)
# Conflicts:
# runtime/src/accounts_index.rs
* Resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-10-22 05:08:01 +00:00
Trent Nelson
f3c986385f
Bump version to 1.4.2
2020-10-15 20:26:29 +00:00
Trent Nelson
6e91996606
Bump version to 1.4.1
2020-10-14 03:05:04 +00:00
Tyera Eulberg
6563726f22
Fix solana-tokens check_payer_balances for distribute-stake ( #12380 )
...
* Handle distribute-stakes properly
* Remove dry-run gating for balance checks
* Reword and simplify InsufficientFunds errors
* Split up test and add helpers
* Rename sol_for_fees -> unlocked_sol
* Refactor distribute_allocations to collect Messages
* Clippy
* Clean up dangling bids
2020-09-23 02:39:05 +00:00
Michael Vines
208dd1de3a
Move TestValidator into its own module
2020-09-19 08:35:26 -07:00
Tyera Eulberg
a48cc073cf
solana-tokens: Add capability to perform the same transfer to a batch of recipients ( #12259 )
...
* Add transfer-amount argument, use simplified input-csv
* Add transfer-amount to readme
2020-09-15 22:53:30 -06:00
Tyera Eulberg
90a591da0e
Improve solana-tokens UX ( #12253 )
...
* Fix computed banks port
* Readme incorrect
* Return error if csv cannot be read
* Move column headers over columns
* Add dry-run check for sender/fee-payer balances
* Use clap requires method for paired args
* Write transaction-log anytime outfile is specified
* Replace campaign-name with required db-path
* Remove bids
* Exclude new_stake_account_address from logs for non-stake distributions
* Fix readme
2020-09-16 01:38:22 +00:00
Greg Fitzgerald
5553732ae2
Add lockups via solana-tokens ( #11782 )
...
* Allow stake distributions to update lockups
* Reorg
* Add lockup test
* Fix clippy warning
2020-08-24 15:18:35 -06:00
dependabot[bot]
191a2eb088
chore: bump indexmap from 1.4.0 to 1.5.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.4.0...1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 22:49:55 -07:00
Greg Fitzgerald
bad486823c
Add a client for BankForks ( #10728 )
...
Also:
* Use BanksClient in solana-tokens
2020-08-07 08:45:17 -06:00
Trent Nelson
e12ab9d0dd
Bump version to 1.4.0
2020-08-05 12:04:15 -06:00
Greg Fitzgerald
7ade330b23
Rename Client methods to match proposed BanksClient ( #10793 )
2020-06-25 03:35:38 +00:00
Greg Fitzgerald
1c498369b5
Remove fee-payer guesswork from Message and Transaction ( #10776 )
...
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
2020-06-24 14:52:38 -06:00
Greg Fitzgerald
6d810b9e3c
Clean up solana-tokens ( #10667 )
...
* Use a trait object in solana-tokens' ThinClient
* Inline arg resolution
Not worth the code complexity
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-18 05:14:41 +00:00
dependabot-preview[bot]
943ae9793d
Bump indicatif from 0.14.0 to 0.15.0
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/compare/0.14.0...0.15.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-14 23:58:57 -07:00
R. M. Shea
48febf153b
Change documentation introduction to indicate Foundation IP transfer ( #10440 )
2020-06-13 14:41:05 -07:00
Greg Fitzgerald
9c2c64f8c8
More reliable way to detect expired transactions ( #10482 )
...
When the root slot is beyond the last valid slot, we can say
with certainty that the blockhash is expired. Unfortunately,
we still can't say the transaction didn't land. It may have
landed a long time ago and the validator has since purged
its transaction status.
2020-06-10 17:00:13 -06:00
Greg Fitzgerald
4131eee94d
Expose last-valid-slot to BankClient and ThinClient users ( #10478 )
...
automerge
2020-06-09 17:07:32 -07:00
dependabot-preview[bot]
8498b75d6c
Bump indexmap from 1.3.2 to 1.4.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.3.2...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 23:28:57 -07:00
Michael Vines
bd1f9d320f
Skip RPC preflight to align with the other Client implementations
2020-06-01 17:51:04 -07:00
dependabot-preview[bot]
b787254bd6
Bump console from 0.10.3 to 0.11.3 ( #10314 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.10.3 to 0.11.3.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/commits/v0.11.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 07:47:41 -06:00
Michael Vines
9eefb2c929
Bump version to 1.3.0
2020-05-28 15:01:13 -07:00
Greg Fitzgerald
300b33a20e
Add unique_signers() to SDK ( #10105 )
...
automerge
2020-05-18 18:31:45 -07:00