Skip to content
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: create new account helper function #1097

Merged
merged 10 commits into from
Oct 11, 2024

Conversation

Mujhtech
Copy link
Contributor

@Mujhtech Mujhtech commented Oct 7, 2024

Description:

This pull request refactors the account helper functions in the codebase. It introduces a new helper function for creating a new account and removes the old account helper function. The refactoring also includes replacing the old account helper function with the new one in relevant parts of the code.

Related issue(s):

Fixes #1052

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@Mujhtech Mujhtech requested review from a team as code owners October 7, 2024 14:46
@Mujhtech Mujhtech marked this pull request as draft October 7, 2024 14:52
@Mujhtech
Copy link
Contributor Author

Mujhtech commented Oct 7, 2024

Still working on it. I will tag you once I'm done

Signed-off-by: Muhideen Mujeeb Adeoye <[email protected]>
@Mujhtech Mujhtech marked this pull request as ready for review October 7, 2024 15:32
@Mujhtech
Copy link
Contributor Author

Mujhtech commented Oct 7, 2024

You can check it now @0xivanov

@samswag
Copy link

samswag commented Oct 8, 2024

@Mujhtech

Can you also check this out too:

#1052 (comment)

@Mujhtech
Copy link
Contributor Author

Mujhtech commented Oct 8, 2024

Thanks for calling my attention, @samswag. I didn't see the comment before.

@Mujhtech Mujhtech requested a review from 0xivanov October 8, 2024 13:07
Copy link
Contributor

@0xivanov 0xivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test build is failing.

@Mujhtech
Copy link
Contributor Author

Mujhtech commented Oct 9, 2024

Test build is failing.

fixed

@0xivanov
Copy link
Contributor

0xivanov commented Oct 9, 2024

@Mujhtech try running the following commands to verify the build:

go test -tags="e2e" 
go test -tags="unit" 

@Mujhtech
Copy link
Contributor Author

Mujhtech commented Oct 9, 2024

go test -tags="unit"

Yeah, done and fix in the last commit

Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.42%. Comparing base (c3b73b2) to head (6b0dd49).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1097      +/-   ##
==========================================
+ Coverage   73.37%   73.42%   +0.04%     
==========================================
  Files         174      174              
  Lines       24997    24997              
==========================================
+ Hits        18342    18353      +11     
+ Misses       5909     5898      -11     
  Partials      746      746              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Oct 9, 2024

Copy link
Contributor

@0xivanov 0xivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, TY @Mujhtech

@0xivanov 0xivanov merged commit e7d0371 into hashgraph:main Oct 11, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable customisable AccountCreate in utilities_for_test.go
3 participants