Skip to content

Instantly share code, notes, and snippets.

@Wizard1209
Wizard1209 / test-classid-mismatch.mjs
Created January 22, 2026 04:06
test-classid-mismatch.mjs
/**
* Test manual bytecode conversion
*
* This script demonstrates that registry artifacts have correct data,
* but bytecode is stored as base64 string instead of Buffer.
* Converting base64 back to Buffer fixes the classId computation.
*
* HOW TO RUN:
* node scripts/test-classid-mismatch.mjs
*