@@ -512,29 +512,6 @@ export class SideEffectTrace implements PublicSideEffectTraceInterface {
512
512
} ;
513
513
}
514
514
515
- /**
516
- * Get the results of public execution.
517
- */
518
- public toPublicEnqueuedCallExecutionResult (
519
- /** The call's results */
520
- avmCallResults : AvmFinalizedCallResult ,
521
- ) : EnqueuedPublicCallExecutionResultWithSideEffects {
522
- return {
523
- endGasLeft : Gas . from ( avmCallResults . gasLeft ) ,
524
- endSideEffectCounter : new Fr ( this . sideEffectCounter ) ,
525
- returnValues : avmCallResults . output ,
526
- reverted : avmCallResults . reverted ,
527
- revertReason : avmCallResults . revertReason ,
528
- sideEffects : {
529
- publicDataWrites : this . publicDataWrites ,
530
- noteHashes : this . noteHashes ,
531
- nullifiers : this . nullifiers ,
532
- l2ToL1Messages : this . l2ToL1Messages ,
533
- publicLogs : this . publicLogs ,
534
- } ,
535
- } ;
536
- }
537
-
538
515
public toAvmCircuitPublicInputs (
539
516
/** Globals. */
540
517
globalVariables : GlobalVariables ,
@@ -585,21 +562,6 @@ export class SideEffectTrace implements PublicSideEffectTraceInterface {
585
562
) ;
586
563
}
587
564
588
- public toPublicFunctionCallResult (
589
- /** The execution environment of the nested call. */
590
- _avmEnvironment : AvmExecutionEnvironment ,
591
- /** How much gas was available for this public execution. */
592
- _startGasLeft : Gas ,
593
- /** Bytecode used for this execution. */
594
- _bytecode : Buffer ,
595
- /** The call's results */
596
- _avmCallResults : AvmFinalizedCallResult ,
597
- /** Function name for logging */
598
- _functionName : string = 'unknown' ,
599
- ) : PublicFunctionCallResult {
600
- throw new Error ( 'Not implemented' ) ;
601
- }
602
-
603
565
public getPublicLogs ( ) {
604
566
return this . publicLogs ;
605
567
}
0 commit comments