Commit Graph

13439 Commits

Author SHA1 Message Date
Michael Vines 04c99cf7ea Add --slots-per-epoch argument 2021-03-17 22:56:41 +00:00
Michael Vines c06ff47a90 Add --slots-per-epoch validator 2021-03-17 22:56:41 +00:00
carllin f548a04fae
Allow unbounded wallclock processing time in tests (#15961) 2021-03-17 15:48:50 -07:00
Michael Vines 03180b502d Avoid changing signature of ProgramTest::add_account 2021-03-17 13:21:43 -07:00
Michael Vines 82269f1351 Build full SPL in CI 2021-03-17 13:21:43 -07:00
Jeff Washington (jwash) d30c9ef351
refactor test truncate data (#15851)
* refactor test truncate data

* retain existing behavior
2021-03-17 15:09:26 -05:00
Michael Vines 59c19d9fbf Notice the user when the --mint, --bpf-program, or --clone arguments are ignored 2021-03-17 20:04:53 +00:00
Michael Vines 8a9b51952e Ignore flaky test_banking_stage_entries_only and test_banking_stage_entryfication 2021-03-17 11:28:56 -07:00
DimAn a5d144b00f Revert to removing only tmp- 2021-03-17 10:31:01 -07:00
DimAn 20b53eb4b4 Revert to snapshots 2 2021-03-17 10:31:01 -07:00
DimAn 0b42379ed7 Revert to snapshots
Co-authored-by: Michael Vines <mvines@gmail.com>
2021-03-17 10:31:01 -07:00
DimAn a43b3674c7 add missed suggestion 2021-03-17 10:31:01 -07:00
DimAn cfb01e26dd Apply suggestions from code review
Co-authored-by: Michael Vines <mvines@gmail.com>
2021-03-17 10:31:01 -07:00
DimAn 0209d334bd Add option for separate snapshot location
(cherry picked from commit 6126878f509c69e23480a5ec22b3271e2b16e072)
2021-03-17 10:31:01 -07:00
Michael Vines 58b980f9cd Download snapshot files with a `tmp-` prefix so they'll automatically be cleaned up if interrupted 2021-03-17 09:10:10 -07:00
Michael Vines 3160549e85 Replace solana-program-test when building example-helloworld 2021-03-17 09:07:52 -07:00
B 9b26c45be6
explorer/wormhole (#15948)
* feat: add lending instruction names

* chore: capitalize words

* feat: add wormhole card

* feat: add asset contract

* chore: format
2021-03-17 10:53:50 -05:00
Jeff Washington (jwash) 40997d0aef
add metrics for tick producer and poh_recorder (#15931) 2021-03-17 10:38:26 -05:00
Jeff Washington (jwash) 5460fb10a2
drop poh lock after record (#15930) 2021-03-17 10:37:20 -05:00
dependabot[bot] d370b5a4d2
chore:(deps): bump @testing-library/user-event in /explorer (#15943)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.8.3 to 13.0.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.8.3...v13.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 09:31:42 +00:00
dependabot[bot] f1c4c3b719
chore:(deps): bump @solana/spl-token-registry in /explorer (#15941)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.2.30 to 0.2.33.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Changelog](https://github.com/solana-labs/token-list/blob/main/CHANGELOG.md)
- [Commits](https://github.com/solana-labs/token-list/compare/v0.2.30...v0.2.33)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 08:46:18 +00:00
Trent Nelson 4e99f1e634 clap-utils: Add helper to `CliSignerInfo` for getting signers for a message 2021-03-16 22:09:46 -06:00
Trent Nelson bf33ce8906 sdk: Add accessor for signer pubkeys of a tx message 2021-03-16 22:09:46 -06:00
Michael Vines d9176c1903 `solana-install init` can now select a pre-release from Github 2021-03-17 02:54:26 +00:00
Justin Starry 51bc18f8c4 chore: fix coverage command 2021-03-17 10:26:00 +08:00
Justin Starry 48b3b27985 chore: linter fixes 2021-03-17 10:26:00 +08:00
Justin Starry 8ada44456d chore: migrate tests to typescript 2021-03-17 10:26:00 +08:00
Justin Starry f912c63b22 chore: migrate to typescript 2021-03-17 10:26:00 +08:00
Justin Starry 3eb9f7b3eb chore: project config changes for typescript migration 2021-03-17 10:26:00 +08:00
Justin Starry 3ea23fe736 fix: fix buffer types 2021-03-17 10:26:00 +08:00
Justin Starry a5c840e672 feat: update confirmation status typing and validations 2021-03-17 10:26:00 +08:00
Justin Starry d40dc06d6a fix: clean up unnecessary nullable validations 2021-03-17 10:26:00 +08:00
Trent Nelson 672e9c640f CLI: Support dumping the TX message in sign-only mode 2021-03-16 19:20:54 -06:00
Justin Starry 98ea058ebe feat: require programId and keys for TransactionInstruction 2021-03-17 09:10:17 +08:00
Jeff Washington (jwash) 806bfdd67b
set_data_from_slice (#15854)
* data_ensure_equal_to_slice

* rename and change to copy
2021-03-16 16:56:26 -05:00
Tyera Eulberg 654449ce91
Bump tokio to 1.1 (#15926) 2021-03-16 21:32:50 +00:00
Josh 0c4c89ff4a
explorer: display wormhole bridge details (#15833)
* feat: display wormhole bridge details

* fix: add rel noopener noreferrer

* fix: extract eth address properly

* feat: copyable bridge contract address
2021-03-16 18:47:43 +00:00
Josh 61112d4826
fix: compute pre/post token balances on all accounts if token program present (#15900)
* fix: compute pre/post token balances on all accounts if token program present

* fix: skip token program in balance query

* fix: prevent program ids from being collected
2021-03-16 16:49:22 +00:00
Michael Vines 1c261d293f Encourage use of the default --ledger location 2021-03-16 16:36:59 +00:00
behzad nouri 3b85cbc504
renames is_last_in_fec_set back to is_last_data (#15848)
https://github.com/solana-labs/solana/pull/10095
renamed is_last_data to is_last_in_fec_set. However, the code shows that
this is actually meant to indicate where the serialized data is
complete:
https://github.com/solana-labs/solana/blob/420174d3d/ledger/src/shred.rs#L599-L600
https://github.com/solana-labs/solana/blob/420174d3d/ledger/src/shred.rs#L229-L231

There are multiple FEC sets for each `&[Entry]` serialized and this flag
does not represent shreds last in FEC sets (only the very last one by
overlap). So the name is wrong and confusing
2021-03-16 10:09:16 +00:00
dependabot[bot] 97e5591a63
chore:(deps): bump @solana/spl-token-registry in /explorer (#15915)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.2.2 to 0.2.30.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Changelog](https://github.com/solana-labs/token-list/blob/main/CHANGELOG.md)
- [Commits](https://github.com/solana-labs/token-list/compare/0.2.2...v0.2.30)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 08:49:52 +00:00
dependabot[bot] a8a3f4d362
chore:(deps): bump @types/node from 14.14.33 to 14.14.35 in /explorer (#15914)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.33 to 14.14.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 08:44:42 +00:00
Tyera Eulberg 3726358f51
Cli: better estimate of epoch time elapsed/remaining (#15893)
* Add rpc_client api for getRecentPerformanceSamples

* Prep fn for variable avg slot time

* Use recent-perf-samples to more-accurately estimate epoch completed times

* Spell out average
2021-03-16 08:35:27 +00:00
Michael Vines eb19e11688 Add cargo-bpf-test --no-run flag, matching cargo-test 2021-03-16 08:23:03 +00:00
Michael Vines 4be9d7fd29 Pin solana crate versions to prevent downstream users from accidentally mixing crate versions 2021-03-16 07:51:07 +00:00
Michael Vines a2eb655322 =1.7.0 2021-03-16 07:51:07 +00:00
Jack May 5760cf0f41
nit: fix spelling (#15908) 2021-03-15 23:47:57 -07:00
Ryo Onodera 74aa32175b
Show flags for accounts in tx by solana confirm (#15804)
* Show flags for accounts in tx by solana confirm

* Address review comments

* Improve comment a bit

* Apply suggestions from code review

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Further apply review suggestions

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-03-16 14:44:48 +09:00
Jack May ad9901d7c6
Charge compute budget for bytes passed via cpi (#15874) 2021-03-15 22:41:44 -07:00
Michael Vines 8567b41d5f Improve Instruction::new deprecation warning 2021-03-15 20:04:20 -07:00