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

ledger: test OnlineAccountData #3831

Merged
merged 1 commit into from
Mar 25, 2022
Merged

Conversation

algorandskiy
Copy link
Contributor

Summary

  • This is a prerequisite test before retiring AccountData.OnlineAccountData()
    that is used only in tests agreement and committee tests.
  • Historically all these tests depends on genesis data that is basic.AccountData.
  • Our GA genesis files have stake, status and voting data and never had resources
    basic.AccountData can be reduced to the original stake + voting data state and
    a new basic.AccountDataEx can be introduced for using in REST API
  • Ledger tests and test network generation tools need to be updated to
    accept a new reduced (original) basic.AccountData as genesis and resource records
    for assets and apps needed for tests after the ledger initialization.

Test Plan

This is a test PR

@algorandskiy algorandskiy requested a review from cce March 24, 2022 19:27
@algorandskiy algorandskiy self-assigned this Mar 24, 2022
@algorandskiy algorandskiy marked this pull request as draft March 24, 2022 21:25
@algorandskiy algorandskiy marked this pull request as ready for review March 25, 2022 00:13
* This is a prerequisite test before retiring AccountData.OnlineAccountData()
that is used only in tests agreement and committee tests.
* Historically all these tests depends on genesis data that is basic.AccountData.
* Our GA genesis files have stake, status and voting data and never had resources
basic.AccountData can be reduced to the original stake + voting data state and
a new basic.AccountDataEx can be introduced for using in REST API
* Ledger tests and test network generation tools need to be updated to
accept a new reduced (original) basic.AccountData as genesis and resource records
for assets and apps needed for tests after the ledger initialization.
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.

2 participants