feat: RegisterAllActions now wires all 36 actions including HSD+DNS
Some checks are pending
Test / Test (push) Waiting to run
Security Scan / security (push) Successful in 14s

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 04:21:34 +01:00
parent c843d74f6d
commit 9266856cb5
No known key found for this signature in database
GPG key ID: AF404715446AEB41
2 changed files with 4 additions and 2 deletions

View file

@ -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.

View file

@ -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") }