@@ -13,7 +13,7 @@ import {
13
13
type AztecAddress ,
14
14
type ContractClassIdPreimage ,
15
15
EthAddress ,
16
- Gas ,
16
+ type Gas ,
17
17
type GasSettings ,
18
18
type GlobalVariables ,
19
19
L1_TO_L2_MSG_TREE_HEIGHT ,
@@ -53,9 +53,6 @@ import { createLogger } from '@aztec/foundation/log';
53
53
54
54
import { strict as assert } from 'assert' ;
55
55
56
- import { type AvmFinalizedCallResult } from '../avm/avm_contract_call_result.js' ;
57
- import { type AvmExecutionEnvironment } from '../avm/avm_execution_environment.js' ;
58
- import { type EnqueuedPublicCallExecutionResultWithSideEffects , type PublicFunctionCallResult } from './execution.js' ;
59
56
import { SideEffectLimitReachedError } from './side_effect_errors.js' ;
60
57
import { type PublicSideEffectTraceInterface } from './side_effect_trace_interface.js' ;
61
58
import { UniqueClassIds } from './unique_class_ids.js' ;
@@ -512,29 +509,6 @@ export class SideEffectTrace implements PublicSideEffectTraceInterface {
512
509
} ;
513
510
}
514
511
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
512
public toAvmCircuitPublicInputs (
539
513
/** Globals. */
540
514
globalVariables : GlobalVariables ,
@@ -585,21 +559,6 @@ export class SideEffectTrace implements PublicSideEffectTraceInterface {
585
559
) ;
586
560
}
587
561
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
562
public getPublicLogs ( ) {
604
563
return this . publicLogs ;
605
564
}
0 commit comments