-
Notifications
You must be signed in to change notification settings - Fork 29
refactor(verification): remove token info duplication [part 9/9] #868
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
Merged
glevco
merged 1 commit into
master
from
refactor/verification-inheritance/9-remove-token-info-duplication
Dec 7, 2023
Merged
refactor(verification): remove token info duplication [part 9/9] #868
glevco
merged 1 commit into
master
from
refactor/verification-inheritance/9-remove-token-info-duplication
Dec 7, 2023
Conversation
This file contains hidden or 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
1 task
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #868 +/- ##
==========================================
+ Coverage 85.25% 85.31% +0.06%
==========================================
Files 283 283
Lines 22415 22416 +1
Branches 3397 3397
==========================================
+ Hits 19110 19125 +15
+ Misses 2616 2605 -11
+ Partials 689 686 -3 ☔ View full report in Codecov by Sentry. |
53a7f36
to
cdc3256
Compare
f88dc48
to
ce8988e
Compare
cdc3256
to
aaef3db
Compare
ce8988e
to
7265352
Compare
aaef3db
to
230e953
Compare
7265352
to
97dbeef
Compare
97dbeef
to
527a824
Compare
b3974c0
to
f5048ea
Compare
527a824
to
157e50e
Compare
f5048ea
to
31630fd
Compare
157e50e
to
376eaa9
Compare
31630fd
to
9cd52aa
Compare
376eaa9
to
c24538e
Compare
jansegre
previously approved these changes
Dec 5, 2023
msbrogli
requested changes
Dec 6, 2023
9cd52aa
to
e21db39
Compare
c24538e
to
c8af584
Compare
msbrogli
previously approved these changes
Dec 6, 2023
Base automatically changed from
refactor/verification-inheritance/8-remove-vertex-tx
to
master
December 7, 2023 18:24
The base branch was changed.
f218205
to
6d9eac9
Compare
msbrogli
approved these changes
Dec 7, 2023
jansegre
approved these changes
Dec 7, 2023
6d9eac9
to
4680b0d
Compare
2 tasks
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.
Depends on #837
Motivation
Remove unnecessary duplicate calculation of
token_info
, as requested in this comment: #831 (comment).Acceptance Criteria
TransactionVerifier.verify_sum()
as it only calledverify_authorities_and_deposit()
.TokenCreationTransactionVerifier.verify_minted_tokens()
to receive atoken_dict
.VerificationService._verify_tx()
and_verify_token_creation_tx()
to prevent duplicate calculation of thetoken_dict
.Checklist
master
, confirm this code is production-ready and can be included in future releases as soon as it gets merged