You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: return groupId when adding groups (CPL-145) (#202)
* feat: return group_id from addGroup across contract and API (CPL-145)
Modify the Solidity addGroup function to return the on-chain group ID
(uint256). Update ABI, generated Rust bindings, and make send_transaction
generic over Detokenize. The Rust add_group function simulates the call
first to capture the group ID, then sends the real transaction. Adds
AddGroupResponse with success + group_id fields.
Includes a fix for signer pool leak if the simulation call fails.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: surface group_id in SDK and dashboard (CPL-145)
Update core_sdk.js addGroup to document the new AddGroupResponse type.
Dashboard now shows the created group ID in the success toast.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* test: use returned group_id in K6 tests (CPL-145)
Add AddGroupResponse type to K6 client. Integration and security tests
now extract group_id directly from the addGroup response instead of
calling listGroups, simplifying setup and removing race conditions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: update API examples with addGroup response format (CPL-145)
Show the new {"success":true,"group_id":"1"} response in API docs.
Remove the now-unnecessary listGroups step from quickstart examples.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments