Skip to content
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

Fix overriding consensus parameters in evaluator. #2811

Merged
merged 2 commits into from
Aug 30, 2021

Conversation

tolikzinovyev
Copy link
Contributor

Summary

We failed to override the consensus parameters in COW. This PR fixes it. Background: overriding of consensus parameters is used by Indexer to retrieve the asset close amount of a transaction even when the protocol doesn't support it.

Test Plan

Add a unit test.

@tolikzinovyev tolikzinovyev self-assigned this Aug 26, 2021
@tolikzinovyev tolikzinovyev marked this pull request as ready for review August 27, 2021 15:05
ledger/cow_test.go Outdated Show resolved Hide resolved
ledger/eval_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@tsachiherman tsachiherman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@tsachiherman tsachiherman merged commit 9f81a92 into algorand:master Aug 30, 2021
@tolikzinovyev tolikzinovyev deleted the override-params-fix branch January 6, 2022 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants