Skip to content

Remove initial balances except in tests#249

Merged
obycode merged 2 commits intomasterfrom
feat/remove-initial-balances
Apr 19, 2023
Merged

Remove initial balances except in tests#249
obycode merged 2 commits intomasterfrom
feat/remove-initial-balances

Conversation

@kantai
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
Contributor

@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