{"record":{"id":"2d5448649b0efed4","repo":"nautechsystems/nautilus_trader","slug":"unassigned-active-intent-is-not-an-unsigned-pre","errorCode":null,"errorMessage":"Unassigned active intent {} is not an unsigned preparation","messagePattern":"Unassigned active intent (.+?) is not an unsigned preparation","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/adapters/blockchain/src/execution/client.rs","lineNumber":5432,"sourceCode":"                    records.push(ExecutionVerificationMigrationRecord {\n                        intent_id: intent.id,\n                        nonce: intent.nonce,\n                        transaction_hash: None,\n                        terminal_status: None,\n                        block_number: None,\n                        block_hash: None,\n                        receipt_success: None,\n                        gas_used: None,\n                        effective_gas_price: None,\n                        recover_prepared: false,\n                        decisions: vec![base_decision],\n                    });\n                    continue;\n                }\n            }\n\n            if intent.active && intent.nonce.is_none() {\n                anyhow::ensure!(\n                    intent.status == \"prepared\" && hashes.is_empty(),\n                    \"Unassigned active intent {} is not an unsigned preparation\",\n                    intent.id\n                );\n                records.push(ExecutionVerificationMigrationRecord {\n                    intent_id: intent.id,\n                    nonce: None,\n                    transaction_hash: None,\n                    terminal_status: None,\n                    block_number: None,\n                    block_hash: None,\n                    receipt_success: None,\n                    gas_used: None,\n                    effective_gas_price: None,\n                    recover_prepared: true,\n                    decisions: vec![base_decision],\n                });\n                continue;","sourceCodeStart":5414,"sourceCodeEnd":5450,"githubUrl":"https://github.com/nautechsystems/nautilus_trader/blob/18893faf8b356be3320add8de2f861b0b647cf06/crates/adapters/blockchain/src/execution/client.rs#L5414-L5450","documentation":"During verification migration, an intent is still active and unassigned but carries signed or prepared transaction payload state; the invariant that unassigned active intents must be unsigned preparations is violated, indicating corrupted or partially migrated state, so migration fails.","triggerScenarios":"Thrown at crates/adapters/blockchain/src/execution/client.rs:5432 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Correct the intent status or attach its preparation record","Rebuild the intent records from the database"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"18893faf8b356be3320add8de2f861b0b647cf06","analyzedAt":"2026-09-08T20:49:34.690Z","contentChangedAt":"2026-09-08T20:49:34.690Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}