-
Notifications
You must be signed in to change notification settings - Fork 92
feat: Add set node account id method #362
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
base: main
Are you sure you want to change the base?
feat: Add set node account id method #362
Conversation
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
…xamples Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
exploreriii
left a comment
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.
Hi @accepaluni please remember to pre-fix your PR title eg
feat: add set node account id method
additionally, we now have a changelog, which must be updated with each PR
|
Hi @aceppaluni, |
|
Hi @nadineloepfe Yes, my apologies. |
…ion flow (hiero-ledger#362) Signed-off-by: Angelina <aceppaluni@gmail.com>
bdcc2a4 to
d47b375
Compare
|
Hi @nadineloepfe I'm happy to apply whichever approach you prefer. |
whatever makes Codacy happy :D |
…ion flow (hiero-ledger#362) Signed-off-by: Angelina <aceppaluni@gmail.com>
d47b375 to
d0479f0
Compare
|
Hi @nadineloepfe and @exploreriii |
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.
Hi @aceppaluni
Sorry i think my message did not go through
Your account id import is pointed to the incorrect path, that's probably why its not recognised
from hiero_sdk_python.account.account_id import AccountId
…ion flow (hiero-ledger#362) Signed-off-by: Angelina <aceppaluni@gmail.com>
d0479f0 to
ea19adf
Compare
|
Hi @exploreriii No problem. |
exploreriii
left a comment
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.
The import is not quite right still, try this first and let's see if it improves:
from hiero_sdk_python.account.account_id import AccountId
the reason why this is correct is the account id class is inside the account file under src.
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
…election Signed-off-by: Angelina <aceppaluni@gmail.com>
…ion flow (hiero-ledger#362) Signed-off-by: Angelina <aceppaluni@gmail.com>
ea19adf to
948f76a
Compare
|
@exploreriii Hi, I think there is a bug somewhere. I keep trying to commit the new change but its not pushing for some reason. I'll have to figure out why |
Signed-off-by: Angelina <aceppaluni@gmail.com>
948f76a to
f521241
Compare
|
@exploreriii I think I have fixed it |
| self.node_index: int = 0 | ||
| self.payment_amount: Optional[Hbar] = None | ||
|
|
||
| self.node_account_ids: Optional[List[AccountId]] = None |
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.
just seen - this is duplicated
there;s another self.node_account_ids on line 57. Please remove!
I've also created a branch here to see if it all works with some minor changes, see here:
https://github.com/hiero-ledger/hiero-sdk-python/pull/853/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
mostly wanted to fix the weird error in the pipeline, hard to see what's going on
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.
Thanks for taking the time to clean this up and address the CI issues. I’ve reviewed the changes in your branch and they all make sense. Everything looks good from my side.
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.
Hi @aceppaluni
The tests here are still failing, what's the next steps? @nadineloepfe will you be working on the new branch any further, or will @aceppaluni use that for reference to update this PR?
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.
Hi @exploreriii, I’m currently awaiting @nadineloepfe 's guidance on how she’d like to proceed. My understanding is that the branch she created will address the test issue and allow us to finalize this PR.
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.
@exploreriii @aceppaluni: correct! the branch I've raised is passing, so if you'd like you can take inspiration there, and we can also jump on a call to walk through what has been done and why - bit easier than doing it here in writing :)
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.
@nadineloepfe @exploreriii : Great! Let me know what days and times work for everyone!
I will be available at certain points today. I will not be available tomorrow. I will be available again on Friday :)
Description:
Add Set_node_account_ids() method to Query and Transaction for retrieving receipts or records.
Related issue(s):
Fixes #86
Notes for reviewer:
Ran tests for both Query and Transaction
Checklist