-
Notifications
You must be signed in to change notification settings - Fork 984
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
Fraschetti - Add wallet-get-address-details-contract-test #19340
Fraschetti - Add wallet-get-address-details-contract-test #19340
Conversation
Jenkins BuildsClick to see older builds (11)
|
My RPC Calls returns: |
[result] | ||
(is (contains? result :address)) | ||
(is (contains? result :path)) | ||
(is (true? (:hasActivity result))) |
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.
status-go
doesn't actually check whether there is an activity in that address instead it checks whether it has any balance or not.
If the address (test.eth
) depletes the balance, this test will fail.
I would suggest checking whether the key is present in the result or not.
OR we can check whether this value is boolean (using the boolean?
method).
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.
Tks! I was not aware. Gonna do this change!
b717f04
to
9690ba5
Compare
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 these PRs @FFFra 💯
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.
🚀
bc04c33
to
a5611c2
Compare
a5611c2
to
4572c17
Compare
Introduces comprehensive tests for the wallet_getAddressDetails endpoint
fixes #18349
Epic #18587
Summary
This pull request introduces comprehensive tests for the
wallet_getAddressDetails
endpoint, ensuring its robustness and reliability in our wallet functionality.Steps to test
run
make test-contracts
status: ready!