From 9266856cb5a7b172b825933ba1d14b5aa42b96e1 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 04:21:34 +0100 Subject: [PATCH] feat: RegisterAllActions now wires all 36 actions including HSD+DNS Co-Authored-By: Charon --- actions.go | 4 +++- actions_test.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/actions.go b/actions.go index 233870e..ae15445 100644 --- a/actions.go +++ b/actions.go @@ -392,12 +392,14 @@ func RegisterForgeActions(c *core.Core) { // RegisterAllActions registers every blockchain action with Core. // // blockchain.RegisterAllActions(c, chain) -func RegisterAllActions(c *core.Core, ch *chain.Chain) { +func RegisterAllActions(c *core.Core, ch *chain.Chain, hsdURL, hsdKey string) { RegisterActions(c, ch) RegisterWalletActions(c) RegisterCryptoActions(c) RegisterAssetActions(c) RegisterForgeActions(c) + RegisterHSDActions(c, hsdURL, hsdKey) + RegisterDNSActions(c, ch, hsdURL, hsdKey) } // RegisterHSDActions registers sidechain query actions. diff --git a/actions_test.go b/actions_test.go index 4bfa6dd..be5f8ab 100644 --- a/actions_test.go +++ b/actions_test.go @@ -91,7 +91,7 @@ func TestAction_AssetDeploy_Bad(t *testing.T) { func TestAction_RegisterAll_Good(t *testing.T) { c := core.New() - RegisterAllActions(c, nil) + RegisterAllActions(c, nil, "", "") // Verify actions exist if !c.Action("blockchain.chain.height").Exists() { t.Error("chain.height not registered") } if !c.Action("blockchain.wallet.create").Exists() { t.Error("wallet.create not registered") }