Commit Graph

13439 Commits

Author SHA1 Message Date
Michael Vines 430ed6d774 Export tokio for program-test clients 2021-03-15 20:03:55 -07:00
Jeff Washington (jwash) efee8b62d7
a few missed set_data calls (#15846)
* a few missed set_data calls

* another set data call
2021-03-15 21:57:23 -05:00
Jeff Washington (jwash) e50f284658
use Account for test since it borrows mut ref to data (#15852) 2021-03-15 21:56:48 -05:00
Jeff Washington (jwash) e35d738906
rework BankClient.get_account_data (#15853) 2021-03-15 19:27:53 -05:00
Jeff Washington (jwash) c09ea2c314
More AccountSharedData construction (#15844)
* one more AccountSharedData construction

* one more construct
2021-03-15 19:27:17 -05:00
Trent Nelson 2bf46b789f Also ignore `*/node_modules/*` paths when bumping version 2021-03-16 00:27:11 +00:00
Trent Nelson 510760d81b Ignore `not_paths` for `*.md` files when bumping version 2021-03-16 00:27:11 +00:00
Trent Nelson 853e735edf Disallow version bump with dirty working tree 2021-03-16 00:27:11 +00:00
carllin c1ba265dd9
Wallclock BankingStage Throttle (#15731) 2021-03-15 17:11:15 -07:00
Jack May 60e5fd11c9
Display actual account length (#15875) 2021-03-15 14:17:56 -07:00
Michael Vines 699888dfb3 Update cargo lock files on version bump 2021-03-15 20:03:01 +00:00
Tyera Eulberg c40bd5f394
Fix real_number_string_trimmed zero-decimal behavior (#15873)
* Add failing test

* Don't strip zeroes from zero-decimal amounts

* Add zero-case test
2021-03-15 18:32:40 +00:00
dependabot[bot] 85b4578b14
chore:(deps): bump chai from 4.3.3 to 4.3.4 in /explorer (#15867)
Bumps [chai](https://github.com/chaijs/chai) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.3...v4.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 09:47:39 +00:00
dependabot[bot] cb9fded508
chore:(deps): bump @solana/spl-token-registry in /explorer (#15866)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Commits](https://github.com/solana-labs/token-list/compare/0.2.1...0.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 09:43:21 +00:00
dependabot[bot] 134eccc273
chore:(deps): bump @types/socket.io-client in /explorer (#15865)
Bumps [@types/socket.io-client](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/socket.io-client) from 1.4.35 to 1.4.36.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/socket.io-client)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 09:38:49 +00:00
dependabot[bot] 821be88d13
chore: bump rpc-websockets from 7.4.8 to 7.4.9 in /web3.js (#15822)
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets) from 7.4.8 to 7.4.9.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases)
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v7.4.8...v7.4.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 15:53:40 +08:00
Josh a36d2f2d3e
fix: use uiAmountString in token balances component (#15860) 2021-03-15 04:25:09 +00:00
Justin Starry 420174d3dd
explorer: Fix midnight timestamps (#15843) 2021-03-14 11:26:14 +08:00
Justin Starry 485a943958
explorer: Add label for serum dex v1 (#15842) 2021-03-14 10:20:31 +08:00
Justin Starry 3722f46089
explorer: Add token symbol to token label (#15841) 2021-03-14 10:16:32 +08:00
Michael Vines eab182188a Fix delinquent stake display 2021-03-13 18:58:04 +00:00
Justin Starry c4f98f9c73
explorer: Add details pages for upgradeable loader accounts (#15836) 2021-03-14 01:11:59 +08:00
Michael Vines 0c9ca5522c Bump version to v1.7.0 2021-03-13 09:01:21 +00:00
Justin Starry 186b342453
explorer: Update superstruct (#15835) 2021-03-13 13:31:52 +08:00
Tyera Eulberg 5b2da19c93
Rpc: support extended config for getConfirmedBlock (#15827)
* Add rpc confirmed-block config wrapper to support struct of extended config

* Update docs

* Make config wrapper generic and use in getConfirmedTransaction as well

* Update/clean confirmed-tx docs
2021-03-12 22:19:45 +00:00
Michael Vines 79280b304b `solana-install update` now updates a named release to the latest patch version 2021-03-12 12:30:51 -08:00
Trent Nelson 66b4124a68 cli-config: Ovf in ws port calculation 2021-03-12 10:26:15 -07:00
Trent Nelson 193e370186 frozen-abi: Ovf in digester child depth calculation 2021-03-12 09:41:33 -07:00
Trent Nelson 14985420fd frozen-abi: Ovf in enum variant count 2021-03-12 09:41:33 -07:00
Trent Nelson 567e54aaa3 frozen-abi: disallow integer arithmetic lint 2021-03-12 09:41:33 -07:00
behzad nouri f2865dfd63
requires stakes for propagating crds values through gossip (#15561) 2021-03-12 15:50:14 +00:00
Justin Starry be99cef593
explorer: Filter program search results by cluster (#15820) 2021-03-12 22:10:38 +08:00
dependabot[bot] 822cb93495
chore: bump @commitlint/travis-cli from 11.0.0 to 12.0.1 in /web3.js (#15672)
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint) from 11.0.0 to 12.0.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 21:45:25 +08:00
dependabot[bot] c496177a86
chore: bump bn.js from 5.1.3 to 5.2.0 in /web3.js (#15673)
Bumps [bn.js](https://github.com/indutny/bn.js) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/indutny/bn.js/releases)
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/indutny/bn.js/compare/v5.1.3...v5.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 21:45:18 +08:00
dependabot[bot] 004f98fba9
chore:(deps): bump @solana/spl-token-registry in /explorer (#15819)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Commits](https://github.com/solana-labs/token-list/compare/0.2.0...0.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 21:44:52 +08:00
Justin Starry 918d04e3f0
Add more slot update notifications (#15734)
* Add more slot update notifications

* fix merge

* Address feedback and add integration test

* switch to datapoint

* remove unused shred method

* fix clippy

* new thread for rpc completed slots

* remove extra constant

* fixes

* rely on channel closing

* fix check
2021-03-12 21:44:06 +08:00
dependabot[bot] 28c27893b9
chore:(deps): bump @sentry/react from 6.2.0 to 6.2.2 in /explorer (#15818)
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 6.2.0 to 6.2.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/6.2.0...6.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 09:17:37 +00:00
Tyera Eulberg e5b644e830
Add trait for saturating arithmetic (#15812)
* Add SaturatingArithmetic trait

* Use Duration saturating arithmetic

* Use new macro to fix poh_config
2021-03-12 06:22:40 +00:00
Jack May cc38ae72e7
Skip deserialization of readonly accounts (#15813) 2021-03-11 19:28:21 -08:00
Ryo Onodera 4bbeb9c033
Remove old feature: simple_capitalization (#15763)
* Remove old feature: simple_capitalization

* Fix another failing test in core

* Finish up test cleanup

* Further clean up a bit
2021-03-12 11:12:40 +09:00
Trent Nelson 209dbb6f7c sec: Create private repo as part of new advisory step 2021-03-12 01:40:21 +00:00
Jeff Washington (jwash) 952c3bcbb7
AccountSharedData construction (#15790) 2021-03-11 18:09:04 -06:00
Jeff Washington (jwash) 3419a5446e
AccountSharedData.set_data (#15781)
* account.set_data and resize_data

* remove data_resize
2021-03-11 16:40:45 -06:00
Jack May e1ceb430e3
cli: improve deploy error reporting (#15806) 2021-03-11 13:44:21 -08:00
Michael Vines aa2b2d6b75 Default --ledger arg to "ledger" for `solana-validator` and `solana-ledger-tool` 2021-03-11 13:09:30 -08:00
Michael Vines 1061d021c9 Unpack snapshot AppendVecs directly into account paths 2021-03-11 08:25:24 -08:00
DimAn c078e01fa9
add catchup average speed and remaining time (#15608)
* add catchup average speed and remaining time

* code style and improve average time remaining calculation

* code style

* remove instant time remaining

* negative speed perceives better

* Some little improves and comments of catchup avg and eta

* format code of catchup avg and eta

* fix copy-paste error
2021-03-11 23:59:33 +09:00
Trent Nelson 79ac1997de sdk: add macro for unchecked div with const denominator 2021-03-11 08:44:36 +00:00
Trent Nelson c4ee1ab710 docs: deprecate lastvalidslot field of jsonrpc getfees 2021-03-11 08:38:18 +00:00
Trent Nelson 45190f6281 docs: stabilize spl token jsonrpc methods 2021-03-11 08:38:18 +00:00