-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Lookup unique address on all chains #448
Conversation
…ins' into lookup_unique_address_on_all_chains
I wasn't quite sure where to put this. It could also be a function in the AddrBook class, that can run without init. This is a bit funny in one sense, but groups the address related function under the AddrBook class. Feel free to just move it if you think something else is better or suggest so and I can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel like having this function be a static method of AddrBook would be better. might be more intuitive to find if its organized inside the AddrBook with the rest of the methods
Co-authored-by: jalbrekt85 <[email protected]>
Care to propose a commit for how you think it best fits? I agree it would maybe fit better as a method in the class, but the class is kind of cast for the most part by chain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i agree moving it into the AddrBook
itself would be cleaner.
yes AddrBook
is chain aware, but it could just be reinit to a new chain in the for loop
moved in cc2284e. |
Found myself writing a script to do this and thought it made the most sense in bal_addresses.