Tyera Eulberg
2cd9dc99b6
Restore ability for programs to upgrade themselves ( #20265 )
...
* Make helper associated fn
* Add feature definition
* Add handling to preserve program-id write lock when upgradeable loader is present; restore bpf upgrade-self test
* Use single feature
2021-09-28 09:59:08 -06:00
dependabot[bot]
30bce9ddbc
chore: bump @commitlint/config-conventional in /web3.js ( #20288 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint ) from 13.1.0 to 13.2.0.
- [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/v13.1.0...v13.2.0 )
---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 08:23:23 +00:00
Jack May
4e27543415
Allow programs to realloc their accounts within limits ( #19475 )
2021-09-28 01:13:03 -07:00
dependabot[bot]
578efdd59f
chore: bump @typescript-eslint/parser from 4.31.2 to 4.32.0 in /web3.js ( #20287 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.31.2 to 4.32.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.32.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 08:12:30 +00:00
dependabot[bot]
187e94c507
chore: bump @typescript-eslint/eslint-plugin in /web3.js ( #20284 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.31.2 to 4.32.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.32.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 08:11:33 +00:00
dependabot[bot]
1e52346e5e
chore:(deps): bump @testing-library/react in /explorer ( #20285 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 12.1.0 to 12.1.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.0...v12.1.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 08:07:04 +00:00
dependabot[bot]
9393654af0
chore: bump libc from 0.2.102 to 0.2.103 ( #20280 )
...
* chore: bump libc from 0.2.102 to 0.2.103
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.102 to 0.2.103.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.102...0.2.103 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <anatoly+githubjenkins@solana.io>
2021-09-28 07:50:46 +00:00
dependabot[bot]
15aea3acdf
chore: bump retain_mut from 0.1.3 to 0.1.4 ( #20277 )
...
Bumps [retain_mut](https://github.com/upsuper/retain_mut ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/upsuper/retain_mut/releases )
- [Commits](https://github.com/upsuper/retain_mut/commits )
---
updated-dependencies:
- dependency-name: retain_mut
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 00:00:25 -06:00
Jeff Washington (jwash)
e50a26e6cf
AcctIdx: add age_interval_ms() to remove constant use ( #20264 )
2021-09-28 01:22:07 +00:00
Tyera Eulberg
e7bd1e9065
chore: bump time from 0.3.2 to 0.3.3 ( #20272 )
2021-09-28 00:56:09 +00:00
Brooks Prumo
3ea6a01254
Only gossip snapshot hashes for full snapshots ( #20271 )
2021-09-27 19:29:08 -05:00
Jeff Washington (jwash)
af309c126c
AcctIdx: refactor get to use more refs ( #20268 )
2021-09-28 00:18:36 +00:00
Ted Robertson
38844a7010
Paper wallet: fix URI scheme ( #20233 )
2021-09-27 17:39:24 -06:00
dependabot[bot]
34406d4815
chore: bump ouroboros from 0.10.1 to 0.11.1 ( #20244 )
...
* chore: bump ouroboros from 0.10.1 to 0.11.1
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.10.1 to 0.11.1.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2021-09-27 23:26:08 +00:00
Ted Robertson
f24fff8495
stake-accounts.md: fix grammar, link Solana Explorer ( #20270 )
2021-09-27 22:09:07 +00:00
behzad nouri
43ed727ba7
reverts #17542 ( #20259 )
...
https://github.com/solana-labs/solana/pull/17542
excludes caller's crds values from pull responses.
Reverting that commit so that when a (staked) node restarts, it can
obtain its crds values before restart from other nodes.
2021-09-27 22:03:26 +00:00
Jeff Washington (jwash)
f6812523cd
handle race condition with flush and delete ( #20255 )
2021-09-27 16:55:15 -05:00
Jeff Washington (jwash)
bbd2f9672d
clone -> Arc::clone to make cost clear ( #20262 )
2021-09-27 16:49:53 -05:00
Jeff Washington (jwash)
4f83818fdb
get rid of WriteAccountMapEntry instance ( #19093 )
2021-09-27 16:24:19 -05:00
Jeff Washington (jwash)
e4795ae7ed
AcctIdx: keep cached or multiple slot lists in cache ( #20257 )
2021-09-27 16:09:26 -05:00
Brian Anderson
082d5dc5b2
Add more docs for RpcClient ( #19771 )
...
* Add more docs for RpcClient
* Use custom mocks in rpc_client examples
* Move create_rpc_client_mocks into rpc_client module
Signed-off-by: Brian Anderson <andersrb@gmail.com>
* Update client/src/rpc_client.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Update RpcClient docs per review feedback
* Consistently link 'commitment level' in RpcClient docs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-09-27 14:59:25 -06:00
Jeff Washington (jwash)
9d91a6f1b7
shrink slots at startup uses more threads ( #20251 )
2021-09-27 14:14:55 -05:00
Jeff Washington (jwash)
8266864adc
AcctIdx: maybe advance age when a bg thread wakes up ( #20250 )
...
* fix math error with stats calc
* AcctIdx: maybe report stats when a bg thread wakes up
2021-09-27 18:39:41 +00:00
drbh
e94b7984a1
fix Borsh typo
...
changes `BORSH_IO_ERROR` from `unkown` to `unknown` error
2021-09-27 11:30:45 -07:00
Brooks Prumo
95fbc29500
Add stats when getting snapshot storages ( #20234 )
2021-09-27 13:07:00 -05:00
Kirill Fomichev
ac79ae6848
Rpc: use rust convenient methods
2021-09-27 11:05:39 -07:00
Brooks Prumo
49e85afdcd
Make rpc_bootstrap() aware of local incremental snapshots ( #20171 )
2021-09-27 13:05:32 -05:00
Jeff Washington (jwash)
46263d405e
fix math error with stats calc ( #20253 )
2021-09-27 11:55:19 -05:00
Jeff Washington (jwash)
bc50fd4ad6
allocate threads for accounts idx based on cpus ( #20118 )
2021-09-27 11:25:06 -05:00
Jeff Washington (jwash)
025261c05e
AcctIdx: when no disk index, always wait for stats ( #20248 )
2021-09-27 11:24:36 -05:00
Jeff Washington (jwash)
833f7761d2
AcctIdx: upsert uses get from mem first ( #20186 )
2021-09-27 11:23:53 -05:00
Ted Robertson
f107aa296b
Wallet guide: fix grammar ( #20228 )
2021-09-27 10:20:13 -06:00
Ted Robertson
af57bd3d48
Fix grammar in conventions.md ( #20236 )
2021-09-27 10:18:55 -06:00
Jeff Washington (jwash)
d8f98b3dcb
AcctIdx: avoid crazy #s on ms_per_age stat ( #20184 )
2021-09-27 08:25:23 -05:00
dependabot[bot]
12a52b3c8c
chore:(deps): bump @types/node from 16.9.6 to 16.10.1 in /explorer ( #20243 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.9.6 to 16.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 08:06:44 +00:00
dependabot[bot]
429bf73bcf
chore:(deps): bump @solana/web3.js from 1.29.0 to 1.29.1 in /explorer ( #20242 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Changelog](https://github.com/solana-labs/solana-web3.js/blob/master/.releaserc.json )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.29.0...v1.29.1 )
---
updated-dependencies:
- dependency-name: "@solana/web3.js"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 08:06:33 +00:00
Alexander Meißner
df6905c3a6
Refactor: Merge MessageProcessor into InvokeContext ( #20165 )
...
* Inlines MessageProcessor::execute_instruction() in MessageProcessor::process_message().
* Moves MessageProcessor::create_pre_accounts() into ThisInvokeContext::push().
* Hoists ThisInvokeContext::new() out of loop inside MessageProcessor::process_message().
* Moves MessageProcessor::verify_account_references() and MessageProcessor::verify() into InvokeContext::verify().
2021-09-27 08:28:45 +02:00
Kirill Fomichev
9542bae56e
Rpc: remove not required clone
2021-09-26 09:17:21 -07:00
Justin Starry
6f08f9decd
fix clippy
2021-09-26 08:57:29 -04:00
Tao Zhu
46757238de
allow vote to have 1 or 2 sigs ( #20082 )
2021-09-26 08:57:29 -04:00
Tao Zhu
198929fe8b
sigverify to identify and mark simple vote transaction
2021-09-26 08:57:29 -04:00
Justin Starry
f220386917
Reorder serialized mapped message fields for improved compat
2021-09-26 08:57:29 -04:00
Justin Starry
071cfd7484
fix: add type checks for caught errors
2021-09-25 15:38:58 -04:00
dependabot[bot]
aeb1be748e
chore: bump typescript from 4.3.5 to 4.4.3 in /web3.js
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.5 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 15:38:58 -04:00
Ted Robertson
b95653331c
Fix typo ( #20218 )
2021-09-25 14:36:12 -04:00
Justin Starry
f58501b4b9
explorer: Make account owner program label clearer ( #20214 )
2021-09-25 16:30:09 +00:00
dependabot[bot]
9e888dc4a3
chore: bump @types/chai from 4.2.21 to 4.2.22 in /web3.js ( #20213 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.21 to 4.2.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 16:29:57 +00:00
dependabot[bot]
9bac1ef7c5
chore: bump @types/sinon from 10.0.3 to 10.0.4 in /web3.js ( #20212 )
...
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) from 10.0.3 to 10.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
---
updated-dependencies:
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 16:19:22 +00:00
dependabot[bot]
6e4f5ee457
chore: bump rollup from 2.56.3 to 2.57.0 in /web3.js ( #20211 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.56.3 to 2.57.0.
- [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.56.3...v2.57.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 12:08:10 -04:00
dependabot[bot]
91ce4d7306
chore: bump @types/node from 16.9.4 to 16.10.1 in /web3.js ( #20208 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.9.4 to 16.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 11:56:45 -04:00