Skip to content

fix: exchange.multi_sig() always returns "Invalid multi-sig outer signer" for User-Signed Actions (sendAsset)#269

Open
KyaClaw wants to merge 2 commits intohyperliquid-dex:masterfrom
kyaky:fix/issue-263
Open

fix: exchange.multi_sig() always returns "Invalid multi-sig outer signer" for User-Signed Actions (sendAsset)#269
KyaClaw wants to merge 2 commits intohyperliquid-dex:masterfrom
kyaky:fix/issue-263

Conversation

@KyaClaw
Copy link

@KyaClaw KyaClaw commented Mar 2, 2026

Summary

Fix multi-sig outer signer validation by including the "type" field in action hash and using correct signatureChainId per network.

Changes

  • Update to include the "type" field when computing action hash (previously removed).
  • Update to set signatureChainId based on network (mainnet: 0xa4b1, testnet: 0x66eee) only if not already present.
  • Update to set signatureChainId dynamically.

Testing

Existing tests pass. Manual testing with multi-sig user-signed actions (sendAsset) should now succeed.

Fixes #263

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.

1 participant