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: resolve import cycle in ledger tests #586

Merged
merged 5 commits into from
May 6, 2022
Merged

fix: resolve import cycle in ledger tests #586

merged 5 commits into from
May 6, 2022

Conversation

niklr
Copy link
Contributor

@niklr niklr commented Apr 12, 2022

What kind of change does this PR introduce? (check at least one)

  • Improvement
  • Bugfix
  • Feature
  • Refactor
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Other information:
In one of the previous commits an import cycle has been introduced accidentally which prevented ledger tests from running. This has been resolved by moving ledger/chain/test_tools/chain.go to ledger/test_tools/chain.go

Additionally, the creation of a new chain instance from a directory or genesis config has been streamlined.

There are still some failing tests that need to be addressed in future PRs.

image

@niklr niklr marked this pull request as draft April 12, 2022 18:19
@niklr niklr marked this pull request as ready for review April 21, 2022 09:47
@niklr niklr requested review from viteshan and vuilder0 April 21, 2022 09:47
@niklr niklr changed the title fix: resolve import cycle in ledger tests (WIP) fix: resolve import cycle in ledger tests Apr 21, 2022
@viteshan viteshan merged commit 00fd800 into vitelabs:master May 6, 2022
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.

2 participants