@@ -24,7 +24,7 @@ import {
2424} from '@aztec/stdlib/contract' ;
2525import type { AztecNode } from '@aztec/stdlib/interfaces/server' ;
2626import { PublicKeys , deriveKeys , hashPublicKey } from '@aztec/stdlib/keys' ;
27- import { AppTaggingSecret , AppTaggingSecretKind , PendingTaggedLog , SiloedTag } from '@aztec/stdlib/logs' ;
27+ import { AppTaggingSecret , AppTaggingSecretKind , SiloedTag } from '@aztec/stdlib/logs' ;
2828import { Note , NoteDao } from '@aztec/stdlib/note' ;
2929import { makeL2Tips , randomContractInstanceWithAddress } from '@aztec/stdlib/testing' ;
3030import {
@@ -708,14 +708,17 @@ describe('Utility Execution test suite', () => {
708708 ) ;
709709 expect ( queried ) . toContain ( constrainedModeTag . value . toString ( ) ) ;
710710 expect ( queried ) . not . toContain ( sameSecretUnconstrainedModeTag . value . toString ( ) ) ;
711- const resultLogs = result . readAll ( service ) . map ( log => log . toFields ( ) ) ;
712- const expectedConstrainedModeLogFields = new PendingTaggedLog (
713- log . logData ,
714- log . txHash ,
715- log . noteHashes ,
716- log . nullifiers [ 0 ] ,
717- ) . toFields ( ) ;
718- expect ( resultLogs ) . toEqual ( [ expectedConstrainedModeLogFields ] ) ;
711+ const resultLogs = result . readAll ( service ) ;
712+ expect ( resultLogs ) . toEqual ( [
713+ {
714+ log : log . logData ,
715+ context : {
716+ txHash : log . txHash ,
717+ uniqueNoteHashesInTx : log . noteHashes ,
718+ firstNullifierInTx : log . nullifiers [ 0 ] ,
719+ } ,
720+ } ,
721+ ] ) ;
719722 } ) ;
720723 } ) ;
721724
0 commit comments