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

fix: principal value supports group name #626

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

BarryTong65
Copy link
Contributor

@BarryTong65 BarryTong65 commented May 23, 2024

Description

fix: principal value supports group name comments

Rationale

The user discovered that the current cross-chain process does not support creating a group and binding it to a bucket/object through a multi-message in a single transaction. This is because they believed that the principal value only supports a group ID, not a group name.

However, this is actually supported, but it requires a specific naming convention to be followed. The format should be: grn:g:ownerAddress:groupName. We will update the corresponding principal value comment to support group names, to prevent any misunderstanding by developers in the future.

Example

Go-SDK
image

BSC Testnet transaction
https://testnet.bscscan.com/tx/0xc983b0ef02796a9e0b6f3a7eb13fc2fbfe22895ba17fbd8a54f7becff8b2d183

Greenfield
image
image

Changes

Notable changes:

  • fix: principal value supports group name

Potential Impacts

N/A

@BarryTong65 BarryTong65 added this pull request to the merge queue May 28, 2024
Merged via the queue into develop with commit 37eb89f May 28, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants