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

Remove initial balances except in tests #249

Merged
merged 2 commits into from
Apr 19, 2023
Merged

Conversation

kantai
Copy link
Contributor

@kantai kantai commented Mar 28, 2023

This removes the initial balances option from the Config struct. Trying to use them will log an error and exit. This is generally a foot-gun in subnets, because initial balances really shouldn't be set at all in the configuration except in testing.

@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #249 (edc4f97) into master (b2113ae) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #249   +/-   ##
=======================================
  Coverage   93.47%   93.47%           
=======================================
  Files           6        6           
  Lines         337      337           
=======================================
  Hits          315      315           
  Misses         22       22           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@obycode obycode left a comment

Choose a reason for hiding this comment

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

Good idea! lgtm!

@obycode obycode merged commit af730c6 into master Apr 19, 2023
@obycode obycode deleted the feat/remove-initial-balances branch April 19, 2023 20:42
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