Skip to content

Commit

Permalink
docs: explain ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
gosuto-inzasheru committed Dec 19, 2023
1 parent 7a56abb commit 9073c4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bal_addresses/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ def generate_flatbook(self):
self.populate_pools()
self.populate_gauges()
self.populate_extras()
# write pools and gauges first, so they get overwritten by deployments later
# deployment label should take precedence over pool/gauge label
flatbook["pools"] = self.flatten_dict(self.pools)
flatbook["gauges"] = self.flatten_dict(self.gauges)
for deployment, ddata in self.deployments.items():
Expand Down

0 comments on commit 9073c4d

Please sign in to comment.