You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Blockifier's raw `Display` (what Pathfinder's `starknet_traceTransaction` returns, and what
499
+
// SNOS re-execution produces): the inner VM traceback IS present.
500
+
constCALL_CHAIN_TRACE_WITH_VM_TRACEBACK:&str = "Transaction execution has failed:\n0: Error in the called contract (contract address: 0x01fa85856d49323676bf3c6d81e19e444285f6f036ebeaa1770887d12b71b0de, class hash: 0x073414441639dcd11d1846f287650a00c60c416b9d3ba45d31c651672125b2c2, selector: 0x015d40a3d6ca2ac30f4031e42be28da9b056fef9bb7357ac5e85627ee876e5ad):\nError at pc=0:35988:\nCairo traceback (most recent call last):\nUnknown location (pc=0:330)\nUnknown location (pc=0:11695)\n\n1: Error in the called contract (contract address: 0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf, class hash: 0x0000000000000000000000000000000000000000000000000000000000000000, selector: 0x01987cbd17808b9a23693d4de7e246a443cfe37e6e7fbaeabd7d7e6532b07c3d):\nRequested contract address 0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf is not deployed.\n";
501
+
502
+
// The revert reason COMMITTED on-chain for the same tx (from `starknet_getTransactionReceipt`).
503
+
// The inner VM traceback was STRIPPED by the (old) sequencer at block-production time; this exact
504
+
// string fed the receipt commitment and therefore the stored block hash. SNOS must hash THIS,
505
+
// not the re-execution trace.
506
+
constCALL_CHAIN_COMMITTED_RECEIPT:&str = "Transaction execution has failed:\n0: Error in the called contract (contract address: 0x01fa85856d49323676bf3c6d81e19e444285f6f036ebeaa1770887d12b71b0de, class hash: 0x073414441639dcd11d1846f287650a00c60c416b9d3ba45d31c651672125b2c2, selector: 0x015d40a3d6ca2ac30f4031e42be28da9b056fef9bb7357ac5e85627ee876e5ad):\n1: Error in the called contract (contract address: 0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf, class hash: 0x0000000000000000000000000000000000000000000000000000000000000000, selector: 0x01987cbd17808b9a23693d4de7e246a443cfe37e6e7fbaeabd7d7e6532b07c3d):\nRequested contract address 0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf is not deployed.\n";
507
+
508
+
// Reconstructs the canonical blockifier error stack for the reverted tx:
509
+
// CallContract(0) -> VM traceback -> CallContract(1, undeployed, class hash 0x0) -> "not deployed".
0 commit comments