Decoding Error 1010: What 'Invalid Transaction' Actually Means
You've deployed to Midnight testnet. The circuit compiles. The TypeScript driver looks right. And then: InvalidTransaction . No stack trace. No line number. Just the number 1010 staring back at you.
I spent four hours debugging this the first time. The fix took two lines of code. Here's what I learned.
Error 1010 on Midnight Network is the kind of thing that stops you cold. You've built the circuit, written the TypeScript driver, deployed to testnet β and then: InvalidTransaction . No stack trace. No obvious cause. Just a number.
Here's what's actually happening.
It Isn't Midnight's Error
This trips people up because they go digging in Midnight-specific docs first. Error 1010 isn't a custom Midnight error code.β¦