Skip to content

docs(examples): support walletId type in go-account whitelist update script#9173

Merged
alia-bitgo merged 1 commit into
masterfrom
CAAS-1914-whitelist-type
Jul 2, 2026
Merged

docs(examples): support walletId type in go-account whitelist update script#9173
alia-bitgo merged 1 commit into
masterfrom
CAAS-1914-whitelist-type

Conversation

@alia-bitgo

@alia-bitgo alia-bitgo commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds WHITELIST_ITEM_TYPE env var to go-account-whitelist-update.ts to support whitelisting by walletId in addition to address
  • Renames WHITELIST_ADDRESS to WHITELIST_ITEM for generality
  • Renames WHITELIST_ADDRESS_LABEL to WHITELIST_ITEM_LABEL for consistency
  • Updates go-account-workflows.md with new env vars and a walletId usage example

Test plan

  • Run with WHITELIST_ITEM_TYPE=address (default) and verify address is whitelisted
  • Run with WHITELIST_ITEM_TYPE=walletId and verify wallet ID is whitelisted

Resolves CAAS-1914

🤖 Generated with Claude Code

…script

Update go-account-whitelist-update.ts to support whitelisting by walletId
in addition to address, via a new WHITELIST_ITEM_TYPE env var.
Rename WHITELIST_ADDRESS to WHITELIST_ITEM for generality.
Update go-account-workflows.md with new env vars and walletId example.

CAAS-1914

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

TICKET: CAAS-1914
@alia-bitgo alia-bitgo requested a review from a team as a code owner July 2, 2026 16:36
@linear-code

linear-code Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

CAAS-1914

@alia-bitgo alia-bitgo merged commit f2d7d23 into master Jul 2, 2026
22 checks passed
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.

2 participants