behzad nouri
cd87525f54
uses nanos precision for timestamp when submitting metrics to influxdb ( #20623 )
...
Current datapoint_info! is apparently overwriting itself when run inside
a loop. For example in
https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107
only one of the slots will show up in influxdb.
This is apparently because of metrics code using milliseconds as the
timestamp, as mentioned here:
https://github.com/solana-labs/solana/issues/19789#issuecomment-922482013
2021-10-13 13:58:02 +00:00
Jeff Washington (jwash)
aec9d8bf2f
add clean stats ( #20631 )
2021-10-13 08:22:11 -05:00
sakridge
60fe29b63e
Move transaction executor ( #19946 )
2021-10-13 13:06:23 +02:00
sakridge
3b40fa3f44
Add is_full to ledger-tool ( #20183 )
2021-10-13 12:50:18 +02:00
dependabot[bot]
b4f146f692
chore: bump @types/node from 16.10.3 to 16.10.5 in /web3.js ( #20656 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.10.3 to 16.10.5.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 08:23:19 +00:00
dependabot[bot]
a4f9ea7c26
chore:(deps): bump typescript from 4.4.3 to 4.4.4 in /explorer ( #20654 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.3...v4.4.4 )
---
updated-dependencies:
- dependency-name: typescript
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-10-13 08:13:43 +00:00
dependabot[bot]
5a7c76b4f9
chore: bump eslint-plugin-import from 2.24.2 to 2.25.2 in /web3.js ( #20652 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.24.2 to 2.25.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
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-10-13 08:11:53 +00:00
dependabot[bot]
f469af7626
chore: bump mockttp from 2.2.4 to 2.3.0 in /web3.js ( #20647 )
...
Bumps [mockttp](https://github.com/httptoolkit/mockttp ) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/httptoolkit/mockttp/releases )
- [Commits](https://github.com/httptoolkit/mockttp/compare/v2.2.4...v2.3.0 )
---
updated-dependencies:
- dependency-name: mockttp
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-10-13 08:10:57 +00:00
dependabot[bot]
2b03ac1284
chore:(deps): bump @blockworks-foundation/mango-client in /explorer ( #20651 )
...
Bumps [@blockworks-foundation/mango-client](https://github.com/blockworks-foundation/mango-client-v3 ) from 3.0.24 to 3.1.1.
- [Release notes](https://github.com/blockworks-foundation/mango-client-v3/releases )
- [Commits](https://github.com/blockworks-foundation/mango-client-v3/commits )
---
updated-dependencies:
- dependency-name: "@blockworks-foundation/mango-client"
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-10-13 08:07:12 +00:00
dependabot[bot]
7bba6420ec
chore:(deps): bump @solana/spl-token-registry in /explorer ( #20648 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.274 to 0.2.275.
- [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.274...v0.2.275 )
---
updated-dependencies:
- dependency-name: "@solana/spl-token-registry"
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-10-13 08:07:02 +00:00
dependabot[bot]
3245042c2a
chore:(deps): bump @types/node from 16.10.3 to 16.10.5 in /explorer ( #20649 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.10.3 to 16.10.5.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 08:06:53 +00:00
sakridge
09e7782d76
Refactor code to get block signatures in get_confirmed_signatures_for_address2 ( #20575 )
...
* Refactor get_confirmed_signatures_for_address2
* Move blockstore benches to ledger where they belong
2021-10-13 09:55:19 +02:00
Alexander Meißner
1d813ea078
Refactor: Make program_id always last in program chain ( #20598 )
...
* Replaces program_id field in InvokeContextStackFrame by index.
* Swaps order of program account and programdata account.
* Removes program_id parameter from InvokeContext::push().
2021-10-13 08:58:20 +02:00
Jack May
c231cfe235
Reduce budget request instruction length ( #20636 )
2021-10-12 20:56:24 -07:00
Will Roeder
e6776effb9
explorer: Added an Error Image Placeholder and resolved a fetching issue for NFT assets ( #20608 )
...
* Fixed an issue where NFT assets were continually fetched if we failed to get the asset from a fetch.
Cleaned up/removed un-used NFT asset code.
Added an error image when we failed to fetch the asset.
* Corrected some fetching logic and added a error placeholder timeout since onError/onLoad are never fired for <img /> if the src is undefined
2021-10-12 16:19:59 -07:00
Jeff Washington (jwash)
7631011d8c
AcctIdx: add flush remove stat ( #20625 )
2021-10-12 16:13:32 -05:00
Alexander Meißner
06cad19c91
Adds missing program_id in InvokeContext::push() calls. ( #20621 )
2021-10-12 19:26:55 +02:00
Tao Zhu
005d6863fd
- move cost tracker into bank, so each bank has its own cost tracker; ( #20527 )
...
- move related modules to runtime
2021-10-12 08:51:33 -05:00
dependabot[bot]
a723de0e25
chore: bump ts-node from 10.2.1 to 10.3.0 in /web3.js ( #20616 )
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.2.1 to 10.3.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.2.1...v10.3.0 )
---
updated-dependencies:
- dependency-name: ts-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-10-12 08:12:22 +00:00
dependabot[bot]
f77c2880f3
chore: bump jayson from 3.6.4 to 3.6.5 in /web3.js ( #20613 )
...
Bumps [jayson](https://github.com/tedeh/jayson ) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/tedeh/jayson/releases )
- [Commits](https://github.com/tedeh/jayson/compare/v3.6.4...v3.6.5 )
---
updated-dependencies:
- dependency-name: jayson
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-10-12 08:11:16 +00:00
dependabot[bot]
0f6a35c4fb
chore:(deps): bump superstruct from 0.15.2 to 0.15.3 in /explorer ( #20615 )
...
Bumps [superstruct](https://github.com/ianstormtaylor/superstruct ) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/ianstormtaylor/superstruct/releases )
- [Changelog](https://github.com/ianstormtaylor/superstruct/blob/main/Changelog.md )
- [Commits](https://github.com/ianstormtaylor/superstruct/compare/v0.15.2...v0.15.3 )
---
updated-dependencies:
- dependency-name: superstruct
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-10-12 08:08:41 +00:00
dependabot[bot]
133cce45f2
chore:(deps): bump @types/react from 17.0.27 to 17.0.28 in /explorer ( #20614 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.27 to 17.0.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/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-10-12 08:07:34 +00:00
Michael Vines
46230185c2
Add test to ensure instructions sysvar behaves as expected from within a CPI
2021-10-11 19:32:20 -07:00
Jack May
94ca5063de
Comprehensive compute fees ( #20531 )
...
* Comprehensive fees proposal
* Updated
2021-10-11 17:14:21 -07:00
Jack May
b0ee5d6cfa
Add debug guard to catch invalid params ( #20603 )
2021-10-11 16:47:17 -07:00
dependabot[bot]
a4c9b0f358
chore: bump ahash from 0.7.4 to 0.7.5 ( #20592 )
...
* chore: bump ahash from 0.7.4 to 0.7.5
Bumps [ahash](https://github.com/tkaitchuck/ahash ) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/commits )
---
updated-dependencies:
- dependency-name: ahash
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump ahash patch
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-10-11 14:41:35 -06:00
Justin Starry
03d3e0098e
docs: Remove outdated instructions for managing stake accounts ( #20555 )
2021-10-11 19:58:35 +00:00
Jeff Washington (jwash)
0da677e213
AcctIdx: write disk only when removing from mem ( #20578 )
2021-10-11 14:47:06 -05:00
Brian Anderson
1417c1456d
Reorder RpcClient method defs for more logical docs. ( #20549 )
...
Methods follow this order:
- Constructors
- send_and_confirm variations
- send variations
- confirm variations
- simulate variations
- queries
2021-10-11 12:12:05 -06:00
dependabot[bot]
9d94e43839
chore: bump ouroboros from 0.12.0 to 0.13.0 ( #20591 )
...
* chore: bump ouroboros from 0.12.0 to 0.13.0
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.12.0 to 0.13.0.
- [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 <you@example.com>
2021-10-11 11:54:37 -06:00
Jeff Washington (jwash)
a8e000a2a6
add filler accounts to bloat validator and predict failure ( #20491 )
...
* add filler accounts to bloat validator and predict failure
* assert no accounts match filler
* cleanup magic numbers
* panic if can't load from snapshot with filler accounts specified
* some renames
* renames
* into_par_iter
* clean filler accts, too
2021-10-11 12:46:27 -05:00
dependabot[bot]
61ba8d1ecf
chore: bump libloading from 0.7.0 to 0.7.1 ( #20586 )
...
* chore: bump libloading from 0.7.0 to 0.7.1
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/nagisa/rust_libloading/releases )
- [Commits](https://github.com/nagisa/rust_libloading/commits )
---
updated-dependencies:
- dependency-name: libloading
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 <dependabot-buildkite@noreply.solana.com>
2021-10-11 09:50:38 -06:00
dependabot[bot]
e9f459ef21
chore: bump thiserror from 1.0.29 to 1.0.30 ( #20583 )
...
* chore: bump thiserror from 1.0.29 to 1.0.30
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30 )
---
updated-dependencies:
- dependency-name: thiserror
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 <dependabot-buildkite@noreply.solana.com>
2021-10-11 09:46:33 -06:00
Yihau Chen
185c9f9e8f
fix(docs): getInflationRate epoch type from f64 => u64 ( #20589 )
2021-10-11 09:44:38 -06:00
dependabot[bot]
9847566654
chore:(deps): bump @solana/spl-token-registry in /explorer ( #20581 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.273 to 0.2.274.
- [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.273...v0.2.274 )
---
updated-dependencies:
- dependency-name: "@solana/spl-token-registry"
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-10-11 08:13:45 +00:00
dependabot[bot]
40824bcc95
chore: bump @commitlint/travis-cli from 13.2.0 to 13.2.1 in /web3.js ( #20585 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint ) from 13.2.0 to 13.2.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/v13.2.0...v13.2.1 )
---
updated-dependencies:
- dependency-name: "@commitlint/travis-cli"
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-10-11 08:12:28 +00:00
dependabot[bot]
76bfb0d609
chore:(deps): bump @testing-library/user-event in /explorer ( #20584 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.2.1 to 13.3.0.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.2.1...v13.3.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
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-10-11 08:07:52 +00:00
Larry Jarry
f3f28f9611
Add Quarry Redeemer and Quarry Merge Mine to known addresses ( #20565 )
2021-10-10 17:17:19 -04:00
Alexander Meißner
f30f3bddbb
Refactor: Remove program_id from process_instruction() ( #20540 )
...
* Replaces usage of program_id parameter by invoke_context.get_caller()?.
* Removes "pubkey: &Pubkey" parameter from "process_instruction()".
2021-10-10 22:29:18 +02:00
Michael Vines
c16510152e
Rework AVX/AVX2 detection again
2021-10-10 12:22:10 -07:00
Jeff Washington (jwash)
8cf222b8bd
AcctIdx: combine if ( #20545 )
2021-10-10 13:48:18 -05:00
Jeff Washington (jwash)
33d8c07364
AcctIdx: combine scan and update loops ( #20546 )
2021-10-10 13:47:52 -05:00
Michael Vines
bdf8b1da6b
Adjust `solana validators` output to account for the 1k+ validators on mainnet
2021-10-10 07:53:39 -07:00
Sean Young
e03022101b
Fix solana docker image
...
Running the image fails with:
solana-validator: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by solana-validator)
2021-10-09 20:35:39 +01:00
carllin
838ff3b871
Separate out interrupted slots broadcast metrics ( #20537 )
2021-10-09 01:46:06 -07:00
Justin Starry
db9336c99e
Remove feature switch handling for checking vote init ( #20557 )
2021-10-08 23:35:26 -04:00
Lijun Wang
d621994fee
Accountsdb stream plugin improvement ( #20419 )
...
Support using connection pooling and use multiple threads to do Postgres db operations. The performance is improved from 1500 RPS to 40,000 RPS measured during validator start.
Support multiple plugins at the same time.
2021-10-08 20:06:58 -07:00
Tyera Eulberg
78f9e65f30
Bump nix and ctrlc crate to resolve audit failures ( #20558 )
...
* Bump nix and ctrlc
* Update to direct error variants
* Use statement cleanup
2021-10-08 17:18:33 -06:00
Jeff Washington (jwash)
0545306f0c
AcctIdx: remove stats from write lock section ( #20548 )
2021-10-08 15:27:38 -05:00
Will Roeder
a03aba15b0
Added a Metadata tab to display Metaplex Metadata ( #20525 )
...
* Added a Metadata tab to display Metaplex Metadata for Metaplex NFTs
* Added a new tabs key for metaplexNFTs
* Forgot to run Prettier like a n00b
2021-10-08 16:17:32 -04:00