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

chore(wallet)_: community deployment related types moved to wallet requests package #6261

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

saledjenic
Copy link
Contributor

@saledjenic saledjenic commented Jan 16, 2025

DeploymentParameters and DeploymentDetails types moved from communitytokens package to requests of the wallet service.

This is the first step in moving community-related transactions from communitytokens to wallet service.
Related PRs:

@status-im-auto
Copy link
Member

status-im-auto commented Jan 16, 2025

Jenkins Builds

Click to see older builds (8)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1d65c1d #1 2025-01-16 18:29:17 ~3 min macos 📦zip
✔️ 1d65c1d #1 2025-01-16 18:29:54 ~4 min ios 📦zip
✔️ 1d65c1d #1 2025-01-16 18:31:05 ~5 min windows 📦zip
✔️ 1d65c1d #1 2025-01-16 18:31:07 ~5 min linux 📦zip
✔️ 1d65c1d #1 2025-01-16 18:31:34 ~6 min android 📦aar
✔️ 1d65c1d #1 2025-01-16 18:31:42 ~6 min macos 📦zip
✖️ 1d65c1d #1 2025-01-16 18:32:38 ~6 min tests-rpc 📄log
✖️ 1d65c1d #1 2025-01-16 18:57:02 ~31 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ dd8d64c #2 2025-01-17 11:13:24 ~3 min macos 📦zip
✔️ dd8d64c #2 2025-01-17 11:13:50 ~3 min windows 📦zip
✔️ dd8d64c #2 2025-01-17 11:14:27 ~4 min ios 📦zip
✔️ dd8d64c #2 2025-01-17 11:15:39 ~5 min linux 📦zip
✔️ dd8d64c #2 2025-01-17 11:16:11 ~6 min android 📦aar
✔️ dd8d64c #2 2025-01-17 11:16:25 ~6 min macos 📦zip
✔️ dd8d64c #2 2025-01-17 11:17:16 ~7 min tests-rpc 📄log
✔️ dd8d64c #2 2025-01-17 11:41:38 ~31 min tests 📄log
✔️ bd9e28c #3 2025-01-23 18:32:56 ~11 min ios 📦zip
✔️ bd9e28c #3 2025-01-23 18:59:44 ~6 min android 📦aar
✖️ bd9e28c #3 2025-01-23 21:33:13 ~31 min tests 📄log
✔️ bd9e28c #3 2025-01-23 23:20:44 ~6 min tests-rpc 📄log
✔️ bd9e28c #3 2025-01-24 10:47:44 ~5 min linux 📦zip
✔️ bd9e28c #3 2025-01-24 11:20:30 ~4 min macos 📦zip
✔️ bd9e28c #3 2025-01-24 11:26:10 ~7 min macos 📦zip
✔️ bd9e28c #3 2025-01-24 13:03:12 ~4 min windows 📦zip

Copy link

codecov bot commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 42.30769% with 30 lines in your changes missing coverage. Please review.

Project coverage is 61.56%. Comparing base (bb7b1f2) to head (dd8d64c).

Files with missing lines Patch % Lines
services/communitytokens/api.go 0.00% 26 Missing ⚠️
...s/wallet/requests/router_input_community_params.go 87.50% 2 Missing and 1 partial ⚠️
services/communitytokens/manager.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #6261   +/-   ##
========================================
  Coverage    61.56%   61.56%           
========================================
  Files          845      846    +1     
  Lines       110696   110698    +2     
========================================
+ Hits         68147    68155    +8     
+ Misses       34585    34578    -7     
- Partials      7964     7965    +1     
Flag Coverage Δ
functional 21.63% <9.61%> (+0.11%) ⬆️
unit 60.09% <40.38%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
services/communitytokens/estimations.go 0.00% <ø> (ø)
services/communitytokens/service.go 14.09% <ø> (ø)
services/communitytokens/manager.go 48.00% <50.00%> (ø)
...s/wallet/requests/router_input_community_params.go 87.50% <87.50%> (ø)
services/communitytokens/api.go 1.00% <0.00%> (-5.87%) ⬇️

... and 41 files with indirect coverage changes

Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

LGTM

…quests package

`DeploymentParameters` and `DeploymentDetails` types moved from `communitytokens` package
to `requests` of the wallet service.
@saledjenic saledjenic force-pushed the move-community-minting-airdrop-to-router-pre-step-1 branch from dd8d64c to bd9e28c Compare January 23, 2025 14:35

var (
ErrEmptyCollectibleName = &errors.ErrorResponse{Code: errors.ErrorCode("WRRC-001"), Details: "empty collectible name"}
ErrEmptyCollectibleSymbol = &errors.ErrorResponse{Code: errors.ErrorCode("WRRC-002"), Details: "empty collectible symbol"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do these endpoints only apply to Collectibles? I though they were used for assets as well (since there's a Decimals member in the struct)

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.

5 participants