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(community)_: duplicated community tokens package #6293

Conversation

saledjenic
Copy link
Contributor

Replacement for this PR #6262 cause I have no idea, when and how it become closed.

This is the second step in moving community-related transactions from communitytokens to wallet service.

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

@saledjenic saledjenic requested review from dlipicar, jrainville, igor-sirotin, a team and Cuteivist and removed request for a team January 29, 2025 10:29
@status-im-auto
Copy link
Member

status-im-auto commented Jan 29, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
587ca54 #1 2025-01-29 10:30:53 ~1 min android 📄log
587ca54 #1 2025-01-29 10:31:01 ~1 min ios 📄log
587ca54 #1 2025-01-29 10:31:15 ~1 min macos 📄log
587ca54 #1 2025-01-29 10:31:20 ~1 min linux 📄log
587ca54 #1 2025-01-29 10:31:52 ~2 min windows 📄log
587ca54 #1 2025-01-29 10:32:13 ~2 min macos 📄log
✖️ 587ca54 #1 2025-01-29 10:32:15 ~2 min tests-rpc 📄log
✖️ 587ca54 #1 2025-01-29 10:32:52 ~3 min tests 📄log
✔️ 805e77f #2 2025-01-29 15:48:50 ~4 min windows 📦zip
✔️ 805e77f #2 2025-01-29 15:49:19 ~4 min macos 📦zip
✔️ 805e77f #2 2025-01-29 15:50:08 ~5 min linux 📦zip
✔️ 805e77f #2 2025-01-29 15:50:15 ~5 min android 📦aar
✔️ 805e77f #2 2025-01-29 15:50:15 ~5 min macos 📦zip
✔️ 805e77f #2 2025-01-29 15:50:23 ~5 min ios 📦zip
✖️ 805e77f #2 2025-01-29 15:52:52 ~8 min tests-rpc 📄log
✖️ 805e77f #2 2025-01-29 16:16:17 ~31 min tests 📄log

…outer

- new file `contracts/community-tokens/contracts.go` added to unify contracts creation

- the following community related path processors added:
- `CommunityBurnProcessor`
- `CommunityDeployAssetsProcessor`
- `CommunityDeployCollectiblesProcessor`
- `CommunityDeployOwnerTokenProcessor`
- `CommunityMintTokensProcessor`
- `CommunityRemoteBurnProcessor`
- `CommunitySetSignerPubKeyProcessor`

- `SendType` extended with appropriate options

- added endpoints to duplicated `communitytokens` api:
- `StoreDeployedCollectibles`
- `StoreDeployedOwnerToken`
- `StoreDeployedAssets`

- removed endpoints from duplicated `communitytokens` api:
- `DeployCollectibles`
- `DeployOwnerToken`
- `ReTrackOwnerTokenDeploymentTransaction`
- `DeployAssets`
- `DeployCollectiblesEstimate`
- `DeployAssetsEstimate`
- `DeployOwnerTokenEstimate`
- `EstimateMintTokens`
- `EstimateRemoteBurn`
- `EstimateBurn`
- `EstimateSetSignerPubKey`
- `NewOwnerTokenInstance`
- `NewCommunityTokenDeployerInstance`
- `NewCommunityOwnerTokenRegistryInstance`
- `NewCollectiblesInstance`
- `NewAssetsInstance`
- `MintTokens`
- `RemoteBurn`
- `GetCollectiblesContractInstance`
- `GetAssetContractInstance`
- `Burn`
- `SetSignerPubKey`

- `Path` type extended with new property:
- `UsedContractAddress` - an address of the contract that will be used for the transaction
This is a breaking change which removes `communitytokens` package.

This commit removes old `communitytokens` package, cause previously added `communitytokensv2` package,
which is in use now, will be renamed to `communitytokens` in next commit.
This is a breaking change which renames `communitytokensv2` package to `communitytokens`.
@saledjenic saledjenic merged commit 6bc6fdf into move-community-minting-airdrop-to-router-pre-step-1 Jan 29, 2025
2 of 10 checks passed
@saledjenic saledjenic deleted the move-community-minting-airdrop-to-router-pre-step-2 branch January 29, 2025 15:44
Copy link

Looks like you have BREAKING CHANGES in your PR.
Please make sure to follow 💔How to introduce breaking changes guide:

Check-list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants