Open hendrikebbers opened 2 months ago
Hey, seems like an easy introduction task :) I would gladly try my best to solve this.
From my understanding, I should:
agree :)
My situation changed, I do not have time right now to participate in any project. Sorry for inconvenience.
Hey @hendrikebbers do you need help with any REST API documentation? I'm looking to get some experience documenting so if you need help please let me know! Thank you
@Ashleycodesseo did you mean you are interested on working on this issue?
Hello @Ndacyayisenga-droid can you please assign me this issue, if no one has worked on it.
Hello @hendrikebbers I worked on this issue and was able to finish all the possible suggestions but when I try running the mvn clean install
, it yields a BUILD FAILURE
due to some failed tests in some other module of which I didn't edit any file in that module.
So am trying to follow up those issues that why I haven't submitted the PR
If you can offer any help or prepare a zoom meeting together to help me debug my code , I will be happy
Thanksπ
Hello @Ndacyayisenga-droid please help me here
Hello @Ndacyayisenga-droid please help me here
@Ariho-Seth I think you dont have enough HBARs on your testnet account to run all tests in this repo. You can use mvn clean install -DskipTests
. For testing, run individual tests in your ide
Alternatively, you can test your code in your fork using the current github workflow since github has enough HBARs for that. Like we did last time we had a call
ππ₯ First Timers Only
This issue is reserved for people who have never contributed to this project or any open source project in general. We know that creating a pull request (PR) is a major barrier for new contributors. The goal of this issue and all other issues labeled by 'good first issue' is to help you make your first contribution.
πΎ Description of the issue
The interface
MirrorNodeClient
provides the methodOptional<TransactionInfo> queryTransaction(@NonNull String transactionId)
. The implementation of the method inMirrorNodeClientImpl
calls the Mirror Node REST API but do not use the result of that call. Instead, only a record containing thetransactionId
asString
is returned (seeTransactionInfo
).When doing a call against the REST API way more information about a transaction are returned as you can see in the following sample
Query:
Result:
The additional information should be added to the
TransactionInfo
record.Suggestion for solving the issue
In the
MirrorNodeClientImpl
class you can already find several samples on how a JSON response of a REST call is parsed and transfered in a custom method return type. The same should be done in theOptional<TransactionInfo> queryTransaction(@NonNull String transactionId)
method andTransactionInfo
should become a rich object that is based on all the information coming from JSON.Additional information
Information about the rest api of the mirror node can be found here. The API can be accessed by Swagger UI. The Swagger UI frontend for testnet can be found here.
π Step by step guide to do a contribution
If you have never contributed to an open source project at GitHub, the following step-by-step guide will introduce you to the workflow. A more detailed general documentation of the GitHub PR workflow can be found here.
π Contribute to Hacktoberfest
Solve this issue as part of the Hacktoberfest event and get a chance to receive cool goodies like a T-Shirt. π½
π€ Additional informantion
If you have any questions, just ask us directly in this issue by adding a comment. You can join the Hedera community chat at Discord. A general manual about open-source contributions can be found here.