79555229

Date: 2025-04-04 11:55:44
Score: 2
Natty:
Report link

gm technicalerror620!

You need to pass it a CompactTypeVector that you can construct with new CompactTypeVector
Since you've exported Role, there should be a type definition for it in your compiled contract.

Check out the docs: https://docs.midnight.network/develop/reference/midnight-api/compact-runtime/classes/CompactTypeVector.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lolocoding