@@ -467,6 +467,73 @@ snapshot[`call-trace debug_traceCall 1`] = `
467467}
468468` ;
469469
470+ snapshot [` call-trace selfdestruct 1` ] = `
471+ {
472+ calls : [
473+ {
474+ from: " <contract_addr>" ,
475+ gas: " <gas>" ,
476+ gasUsed: " <gas>" ,
477+ input: " 0x" ,
478+ to: " 0x0000000000000000000000000000000000000000" ,
479+ type: " SELFDESTRUCT" ,
480+ value: " <selfdestruct_value>" ,
481+ },
482+ ],
483+ from : " 0x0000000000000000000000000000000000000000" ,
484+ gas : " <gas>" ,
485+ gasUsed : " <gas>" ,
486+ input : " 0x2b68b9c6" ,
487+ to : " <contract_addr>" ,
488+ type : " CALL" ,
489+ value : " 0x0" ,
490+ }
491+ ` ;
492+
493+ snapshot [` call-trace create_and_destruct 1` ] = `
494+ {
495+ calls : [
496+ {
497+ from: " <contract_addr>" ,
498+ gas: " <gas>" ,
499+ gasUsed: " <gas>" ,
500+ input: " <tracing_callee_init_code>" ,
501+ output: " <tracing_callee_runtime_code>" ,
502+ to: " <addr>" ,
503+ type: " CREATE" ,
504+ value: " 0x0" ,
505+ },
506+ {
507+ calls: [
508+ {
509+ from: " <addr>" ,
510+ gas: " <gas>" ,
511+ gasUsed: " <gas>" ,
512+ input: " 0x" ,
513+ to: " <contract_addr>" ,
514+ type: " SELFDESTRUCT" ,
515+ value: " <selfdestruct_value>" ,
516+ },
517+ ],
518+ from: " <contract_addr>" ,
519+ gas: " <gas>" ,
520+ gasUsed: " <gas>" ,
521+ input: " 0x2b68b9c6" ,
522+ to: " <addr>" ,
523+ type: " CALL" ,
524+ value: " 0x0" ,
525+ },
526+ ],
527+ from : " 0x0000000000000000000000000000000000000000" ,
528+ gas : " <gas>" ,
529+ gasUsed : " <gas>" ,
530+ input : " 0xfadbb018" ,
531+ to : " <contract_addr>" ,
532+ type : " CALL" ,
533+ value : " 0x0" ,
534+ }
535+ ` ;
536+
470537snapshot [` prestate deploy_contract.diff 1` ] = `
471538{
472539 post : {
@@ -1050,3 +1117,57 @@ snapshot[`prestate trace_tx_write_storage_twice.no_diff 1`] = `
10501117 },
10511118}
10521119` ;
1120+
1121+ snapshot [` prestate selfdestruct.diff 1` ] = `
1122+ {
1123+ post : {
1124+ " <tracing_contract_addr>" : {
1125+ balance: " <balance>" ,
1126+ },
1127+ },
1128+ pre : {
1129+ " <tracing_contract_addr>" : {
1130+ balance: " <balance>" ,
1131+ code: " <code>" ,
1132+ nonce: " <nonce>" ,
1133+ },
1134+ },
1135+ }
1136+ ` ;
1137+
1138+ snapshot [` prestate selfdestruct.no_diff 1` ] = `
1139+ {
1140+ " <tracing_contract_addr>" : {
1141+ balance: " <balance>" ,
1142+ code: " <code>" ,
1143+ nonce: " <nonce>" ,
1144+ },
1145+ }
1146+ ` ;
1147+
1148+ snapshot [` prestate create_and_destruct.diff 1` ] = `
1149+ {
1150+ post : {
1151+ " <tracing_contract_addr>" : {
1152+ nonce: " <nonce>" ,
1153+ },
1154+ },
1155+ pre : {
1156+ " <tracing_contract_addr>" : {
1157+ balance: " <balance>" ,
1158+ code: " <code>" ,
1159+ nonce: " <nonce>" ,
1160+ },
1161+ },
1162+ }
1163+ ` ;
1164+
1165+ snapshot [` prestate create_and_destruct.no_diff 1` ] = `
1166+ {
1167+ " <tracing_contract_addr>" : {
1168+ balance: " <balance>" ,
1169+ code: " <code>" ,
1170+ nonce: " <nonce>" ,
1171+ },
1172+ }
1173+ ` ;
0 commit comments