Skip to content

Conversation

@mkysel
Copy link
Collaborator

@mkysel mkysel commented Aug 26, 2025

Add group message bootstrapper CLI by logging GM and IU bootstrapper addresses and setting the GM bootstrapper via blockchain.appChainAdmin

  • Update CLI in main.go to log both identity update (IU) and group message (GM) bootstrapper addresses in main.getBootstrapperAddress, warn if they differ, and to set both IU and GM bootstrapper addresses in main.setBootstrapperAddress with distinct error handling.
  • Extend admin interface and implementation in appchainAdmin.go with blockchain.IAppChainAdmin.GetGroupMessageBootstrapper and blockchain.IAppChainAdmin.SetGroupMessageBootstrapper, persisting to the parameter store and updating the on-chain broadcaster with specific no-op error handling.
  • Add parameter key GROUP_MESSAGE_PAYLOAD_BOOTSTRAPPER_KEY in parameterAdmin.go.
  • Add tests for GM bootstrapper set/get and edge cases in appchainAdmin_test.go.

📍Where to Start

Start with main.getBootstrapperAddress and main.setBootstrapperAddress in main.go, then review blockchain.appChainAdmin.GetGroupMessageBootstrapper and blockchain.appChainAdmin.SetGroupMessageBootstrapper in appchainAdmin.go.


Macroscope summarized 873f8e6.

@mkysel mkysel requested a review from a team as a code owner August 26, 2025 17:28
@graphite-app
Copy link

graphite-app bot commented Aug 26, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • Queue - adds this PR to the back of the merge queue
  • Hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@mkysel
Copy link
Collaborator Author

mkysel commented Aug 26, 2025

Relates to #818. Follow up to #1070

@mkysel mkysel merged commit c0c6f1e into main Aug 27, 2025
10 checks passed
@mkysel mkysel deleted the mkysel/cli2 branch August 27, 2025 14:56
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.

3 participants