Michael Vines
f5f06904c3
`solana validators` now shows current epoch credits instead of lifetime credits
2021-04-19 10:19:30 -07:00
Jeff Washington (jwash)
4aa753ff01
rename threads: 15 char limit ( #16625 )
2021-04-19 12:16:58 -05:00
Alexander Meißner
9dfcb921cf
Refactoring: Move KeyedAccounts to InvokeContext ( #15410 )
...
Collects all parametric occurrences and the construction of keyed_accounts and puts them into InvokeContext.
2021-04-19 18:48:48 +02:00
Jeff Washington (jwash)
015bc034a5
improve failing assert ( #16581 )
2021-04-19 08:55:01 -05:00
dependabot[bot]
1e638c1371
chore:(deps): bump @solana/spl-token-registry in /explorer ( #16631 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.56 to 0.2.57.
- [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.56...v0.2.57 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 10:25:25 +00:00
dependabot[bot]
376d0bf063
chore:(deps): bump @testing-library/user-event in /explorer ( #16630 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.1.3 to 13.1.4.
- [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/v13.1.3...v13.1.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 10:25:19 +00:00
Michael Vines
b06e93fe5b
Increase test timeout
2021-04-18 20:55:02 -07:00
Michael Vines
a911ae00ba
clippy
2021-04-18 20:55:02 -07:00
Michael Vines
3b79b21e9d
Upgrade to Rust 1.51.0
2021-04-18 20:55:02 -07:00
behzad nouri
cfe7a4340b
adds a shrink policy to the recycler without an allocation limit
...
https://github.com/solana-labs/solana/pull/15320
added an allocation limit to the recycler, which has been the source of a
number of bugs. For example the code bellow panics by simply cloning packets:
const RECYCLER_LIMIT: usize = 8;
let recycler = PacketsRecycler::new_with_limit("", RECYCLER_LIMIT as u32);
let packets = Packets::new_with_recycler(recycler.clone(), 1).unwrap();
for _ in 0..RECYCLER_LIMIT {
let _ = packets.clone();
}
Packets::new_with_recycler(recycler.clone(), 1);
The implementation also fails to account for instances where objects are
consumed. Having the allocation limit in the recycler also seems out of place,
as higher level code has better context to impose allocation limits (e.g. by
using bounded channels to rate-limit), whereas the recycler would be simpler
and more efficient if it just do the recycling.
This commit:
* Reverts https://github.com/solana-labs/solana/pull/15320
* Adds a shrink policy to the recycler without an allocation limit.
2021-04-18 19:29:24 +00:00
behzad nouri
e405747409
Revert "Add limit and shrink policy for recycler ( #15320 )"
...
This reverts commit c2e8814dce
.
2021-04-18 19:29:24 +00:00
Michael Vines
6907a2366e
Remove unnecessary clone
2021-04-17 10:23:13 -07:00
Guillaume Claret
5399faaf53
Documentation typo for langauge
2021-04-17 07:53:21 -07:00
dependabot[bot]
7e01adc050
chore: bump eslint-plugin-prettier from 3.3.0 to 3.4.0 in /web3.js ( #16619 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 14:46:35 +00:00
dependabot[bot]
4eac6cf366
chore: bump @typescript-eslint/parser from 4.21.0 to 4.22.0 in /web3.js ( #16618 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 14:32:04 +00:00
dependabot[bot]
7426861817
chore: bump mockttp from 1.2.0 to 1.2.2 in /web3.js ( #16617 )
...
Bumps [mockttp](https://github.com/httptoolkit/mockttp ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/httptoolkit/mockttp/releases )
- [Commits](https://github.com/httptoolkit/mockttp/compare/v1.2.0...v1.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 14:18:35 +00:00
dependabot[bot]
aa64f13172
chore: bump @types/sinon from 9.0.11 to 10.0.0 in /web3.js ( #16615 )
...
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) from 9.0.11 to 10.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 14:05:15 +00:00
dependabot[bot]
a6b197adfe
chore: bump eslint-config-prettier from 8.0.0 to 8.2.0 in /web3.js ( #16613 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.0.0 to 8.2.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.0.0...v8.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 13:44:35 +00:00
dependabot[bot]
87715b59a1
chore: bump @types/secp256k1 from 4.0.1 to 4.0.2 in /web3.js ( #16612 )
...
Bumps [@types/secp256k1](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/secp256k1 ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/secp256k1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 13:38:29 +00:00
dependabot[bot]
48d836b8e2
chore: bump @typescript-eslint/eslint-plugin in /web3.js ( #16531 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 21:25:17 +08:00
dependabot[bot]
cd5398a889
chore: bump rollup from 2.44.0 to 2.45.2 in /web3.js ( #16532 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.44.0 to 2.45.2.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.44.0...v2.45.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 21:25:09 +08:00
dependabot[bot]
c94a5a170b
chore: bump eslint from 7.23.0 to 7.24.0 in /web3.js ( #16533 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.23.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.23.0...v7.24.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 21:25:01 +08:00
Tyera Eulberg
52f4b96a80
Move derivation path into sdk ( #16603 )
...
* Move DerivationPath to sdk
* Remove eprintln
2021-04-16 22:03:24 +00:00
Trent Nelson
6444f0e57b
clap-utils: Add explicit schemes for `ask` and `file` `SignerSource`s
2021-04-16 13:56:12 -06:00
Trent Nelson
5d1ef5d01d
clap-utils: Use `uriparse` crate to parse `SignerSource`
2021-04-16 13:56:12 -06:00
Trent Nelson
c5ab3ba6f1
clap-utils: Reduce SignerSource's visibility
2021-04-16 13:56:12 -06:00
Trent Nelson
09dcc9ea04
clap-utils: Rename KeypairUrl to SignerSource
2021-04-16 13:56:12 -06:00
steviez
bb24318ef0
Document shreds ( #16514 )
...
No functionality changes from this commit
2021-04-16 14:04:46 -05:00
Trent Nelson
285f3c9d56
Feature-gate hash-based duplicate transaction check
2021-04-16 18:51:18 +00:00
Josh
7e3db1dedb
feat: add filters to getProgramAccounts and getParsedProgramAccounts ( #16448 )
...
* feat: add filters to getProgramAccounts and getParsedProgramAccounts
* fix: documentation edits
* fix: make connection interface match existing interface
2021-04-16 10:18:19 -07:00
Josh
c63a208488
hotfix: don't report to sentry for custom clusters on token account section ( #16597 )
2021-04-16 10:09:05 -07:00
Tyera Eulberg
a4474f1d94
fix: deprecate getTotalSupply
2021-04-16 10:33:42 -06:00
Tyera Eulberg
fe4c39a26a
fix: deprecate getConfirmedSignaturesForAddress
2021-04-16 10:33:42 -06:00
Tyera Eulberg
f37c05adeb
feat: add method to return a confirmed block with signatures only
2021-04-16 10:33:42 -06:00
Tyera Eulberg
4ac17b1ee3
Revert "web3.js: deprecate getTotalSupply and getConfirmedSignaturesForAddress ( #16534 )" ( #16594 )
...
This reverts commit 59268b8629
.
2021-04-16 10:11:34 -06:00
carllin
d747614b27
Account for possibility of cache flush in load() ( #15454 )
...
* Account for possibility of cache flush in load()
* More cleaning
* More cleaning
* Remove unused method and some comment cleaning
* Fix typo
* Make the detected impossible purge race panic()!
* Finally revert to original .expect()
* Fix typos...
* Add assertion for max_root for easier reasoning
* Reframe races with LoadHint as possible opt.
* Fix test
* Make race bug tests run longer for less flaky
* Delay the clone-in-lock slow path even for RPC
* Make get_account panic-free & add its onchain ver.
* Fix rebase conflicts...
* Clean up
* Clean up comment
* Revert fn name change
* Fix flaky test...
* fmt...
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2021-04-17 00:23:32 +09:00
dependabot[bot]
6dab20812e
chore:(deps): bump @types/node from 14.14.39 to 14.14.41 in /explorer ( #16593 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.39 to 14.14.41.
- [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-04-16 09:07:02 +00:00
Justin Starry
013875e787
Fix instruction validation for parsed memo instructions ( #16591 )
2021-04-16 05:04:06 +00:00
Tyera Eulberg
59268b8629
web3.js: deprecate getTotalSupply and getConfirmedSignaturesForAddress ( #16534 )
...
* feat: add method to return a confirmed block with signatures only
* fix: deprecate getConfirmedSignaturesForAddress
* fix: deprecate getTotalSupply
2021-04-16 03:52:08 +00:00
Tyera Eulberg
974e6dd2c1
Deprecate "confirmed" RpcClient methods ( #16520 )
...
* Remove obsolete client methods
* Deprecate GetConfirmed client methods
* Rename Confirmed config structs, with appropriate deprecation
* Fixup client apps
* Map RpcRequest to deprecated when targeting older nodes
2021-04-15 17:00:14 -06:00
Tyera Eulberg
ba77e48c12
Don't parse uninitialized system/nonce accounts ( #16584 )
2021-04-15 16:32:29 -06:00
Michael Vines
a535c0e129
Rotate CODECOV_TOKEN
2021-04-15 16:07:04 +00:00
Justin Starry
c8ed14c647
docs: Fix typo in program deploy instructions ( #16572 )
2021-04-15 13:56:19 +00:00
dependabot[bot]
c826cddbb5
chore:(deps): bump @testing-library/user-event in /explorer ( #16568 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.1.2 to 13.1.3.
- [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/v13.1.2...v13.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-15 09:15:57 +00:00
dependabot[bot]
bcb1b67500
chore:(deps): bump @types/node from 14.14.37 to 14.14.39 in /explorer ( #16567 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.37 to 14.14.39.
- [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-04-15 08:59:07 +00:00
dependabot[bot]
492b3a91bd
chore:(deps): bump @solana/spl-token-registry in /explorer ( #16566 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.55 to 0.2.56.
- [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.55...v0.2.56 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-15 08:54:19 +00:00
sakridge
9dfe545820
Remove colo nodes ( #16546 )
2021-04-15 00:13:07 -07:00
Tyera Eulberg
7dfb51c0b4
Cli: move airdrop to rpc requests ( #16557 )
...
* Add recent_blockhash to requestAirdrop
* Move tx confirmation to separate method
* Add RpcClient airdrop methods
* Request cli airdrop via RpcClient
* Pass optional faucet_addr into TestValidator and fix tests
* Update client/src/rpc_client.rs
Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Michael Vines <mvines@gmail.com>
2021-04-15 06:25:23 +00:00
Trent Nelson
76ce28c723
docs: freshen and clarify rent-exempt dev description
2021-04-15 04:13:57 +00:00
strykerin
1f29031b9d
fix transaction spelling ( #16558 )
2021-04-14 20:02:55 -06:00