forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace shared cost_tracker obj with bank.cost_tracker #2
Closed
tao-stones
wants to merge
36
commits into
move-tracker-to-bank
from
invoke_tracker_from_bank__move-tracker-to-bank
Closed
Replace shared cost_tracker obj with bank.cost_tracker #2
tao-stones
wants to merge
36
commits into
move-tracker-to-bank
from
invoke_tracker_from_bank__move-tracker-to-bank
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…bs#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
* 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>
Methods follow this order: - Constructors - send_and_confirm variations - send variations - confirm variations - simulate variations - queries
* 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>
* Comprehensive fees proposal * Updated
tao-stones
force-pushed
the
move-tracker-to-bank
branch
from
October 12, 2021 04:03
095cf5d
to
0df0f03
Compare
…olana-labs#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>
…lana-labs#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](ianstormtaylor/superstruct@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>
Bumps [jayson](https://github.com/tedeh/jayson) from 3.6.4 to 3.6.5. - [Release notes](https://github.com/tedeh/jayson/releases) - [Commits](tedeh/jayson@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>
) 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](TypeStrong/ts-node@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>
…solana-labs#20527) - move related modules to runtime
tao-stones
force-pushed
the
invoke_tracker_from_bank__move-tracker-to-bank
branch
from
October 12, 2021 14:06
c50e67a
to
66f7ac6
Compare
tao-stones
force-pushed
the
invoke_tracker_from_bank__move-tracker-to-bank
branch
from
October 12, 2021 18:37
b23420b
to
1177785
Compare
tao-stones
force-pushed
the
invoke_tracker_from_bank__move-tracker-to-bank
branch
from
October 12, 2021 22:14
1177785
to
d91c8e3
Compare
…sue for NFT assets (solana-labs#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
…0598) * Replaces program_id field in InvokeContextStackFrame by index. * Swaps order of program account and programdata account. * Removes program_id parameter from InvokeContext::push().
…_address2 (solana-labs#20575) * Refactor get_confirmed_signatures_for_address2 * Move blockstore benches to ledger where they belong
…olana-labs#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>
…bs#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](solana-labs/token-list@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>
…olana-labs#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>
Bumps [mockttp](https://github.com/httptoolkit/mockttp) from 2.2.4 to 2.3.0. - [Release notes](https://github.com/httptoolkit/mockttp/releases) - [Commits](httptoolkit/mockttp@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>
…olana-labs#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](import-js/eslint-plugin-import@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>
…a-labs#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](microsoft/TypeScript@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>
…abs#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>
solana-labs#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: solana-labs#19789 (comment)
Added metrics for accountsdb plugin Handle and log postgres db errors Print account pubkeys nicely in logging
tao-stones
force-pushed
the
invoke_tracker_from_bank__move-tracker-to-bank
branch
from
October 13, 2021 16:28
d91c8e3
to
0736ef7
Compare
- decouple cost_model from cost_tracker; allowing one cost_model instance being shared within a validator; - update cost_model api to calculate_cost(&self...)->transaction_cost
tao-stones
force-pushed
the
invoke_tracker_from_bank__move-tracker-to-bank
branch
from
October 13, 2021 19:25
0736ef7
to
5016276
Compare
tao-stones
pushed a commit
that referenced
this pull request
Apr 19, 2022
solana-labs#23185) * fix: remove async for createProgramAddress and findProgramAddress (solana-labs#23184) make sync * test: add test to ensure backwards compatibility
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
After solana-labs#20527, TPU and Banking_stage should invoke cost_tracker from bank, instead of sharing (and trying to sync) one cost_tracker object between banking stage threads.
Summary of Changes
Fixes #