Menu

Decoding Error 1010: What 'Invalid Transaction' Actually Means on Midnight
πŸ“°

Decoding Error 1010: What 'Invalid Transaction' Actually Means on Midnight

DEV CommunityΒ·ToshΒ·6 months ago
#6cgYbjt9
#blockchain#web3#midnight#tutorial#zk
Reading 0:00
15s threshold

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

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.