-
Notifications
You must be signed in to change notification settings - Fork 970
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
non-existent entries should not be metered (#4428)
# Description Resolves stellar/stellar-core-internal#282 Remove optimization that checks whether there is quota remaining for a ledger key before attempting to load the entry from the bucketlist. This ensures that non-existent entries are not metered and result in a `nullptr` entry in the cache. This will prevent point loads when writing newly created entries post-contract invocation.
- Loading branch information
Showing
2 changed files
with
13 additions
and
18 deletions.
There are no files selected for viewing
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
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