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

Reenable tokens in simulation tests #1751

Merged
merged 3 commits into from
May 15, 2024

Conversation

azarovh
Copy link
Member

@azarovh azarovh commented May 15, 2024

  • enable tokens issuance in RandomTxMaker used for simulation tests
  • store fee utxo as a member of RandomTxMaker instead of passing it around (which is confusing and had a bug)
  • do not collect Destination for input signing in RandomTxMaker but rather get them via SignatureDestinationGetter afterwards. This simplifies the code and also fixes a bug in it.
  • fix ApiServerInMemoryStorage address balance tables. The problem with previous data type is that it didn't consider the fact that fetching latest height balance might contain not all currencies. Note that new type is also not perfect because the removal "above height" is now linear which should be ok for tests.

@azarovh azarovh force-pushed the fix/reenable_tokens_in_simulation_test branch from 4612e65 to 44199a7 Compare May 15, 2024 11:33
@azarovh azarovh merged commit 8344891 into master May 15, 2024
23 checks passed
@azarovh azarovh deleted the fix/reenable_tokens_in_simulation_test branch May 15, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants