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
("single_signatures","case when {:single_signature:}.signer_id is null then json('[]') else json_group_array(json_object('party_id', {:single_signature:}.signer_id, 'signature', {:single_signature:}.signature, 'indexes', json({:single_signature:}.lottery_indexes))) end","text")
443
443
])
444
444
}
445
445
}
@@ -509,7 +509,7 @@ mod tests {
509
509
]);
510
510
511
511
assert_eq!(
512
-
"open_message.open_message_id as open_message_id, open_message.epoch_setting_id as epoch_setting_id, open_message.beacon as beacon, open_message.signed_entity_type_id as signed_entity_type_id, open_message.protocol_message as protocol_message, open_message.is_certified as is_certified, open_message.created_at as created_at, json_group_array(json_object('signer_id', single_signature.signer_id, 'signature', single_signature.signature, 'won_indexes', single_signature.lottery_indexes)) as single_signatures".to_string(),
512
+
"open_message.open_message_id as open_message_id, open_message.epoch_setting_id as epoch_setting_id, open_message.beacon as beacon, open_message.signed_entity_type_id as signed_entity_type_id, open_message.protocol_message as protocol_message, open_message.is_certified as is_certified, open_message.created_at as created_at, case when single_signature.signer_id is null then json('[]') else json_group_array(json_object('party_id', single_signature.signer_id, 'signature', single_signature.signature, 'indexes', json(single_signature.lottery_indexes))) end as single_signatures".to_string(),
0 commit comments