@@ -1027,39 +1027,19 @@ export const handlers: Map<number, OpHandler> = new Map([
10271027 const [ dest , source , count ] = runState . stack . popN ( 3 )
10281028 const copySize = Number ( count ) * runState . evmmaxState . getActive ( ) ?. getElemSize ( )
10291029 const srcBuf = runState . memory . read ( Number ( source ) , Number ( count ) * copySize )
1030- console . log ( 'dbg400' )
1031- // console.log(dest)
1032- // console.log(source)
1033- // console.log(count)
1034- // console.log(srcBuf)
1035- // console.log(runState.memory._store)
1036- console . log ( runState . evmmaxState . getActive ( ) . scratchSpace )
10371030 runState . evmmaxState . getActive ( ) ?. store ( Number ( dest ) , Number ( count ) , srcBuf )
1038- console . log ( runState . evmmaxState . getActive ( ) . scratchSpace )
10391031 } ,
10401032 ] ,
10411033 // 0xc3: ADDMODX
10421034 [
10431035 0xc3 ,
10441036 function ( runState , _common ) {
1045- console . log ( 'dbg100' )
1046- console . log ( runState . code )
10471037 const [ out , outStride , x , xStride , y , yStride , count ] = extractEVMMAXImmediateInputs (
10481038 runState . programCounter - 1 ,
10491039 runState . code ,
10501040 )
10511041 runState . programCounter += 7
1052- // console.log('dbg500')
1053- // console.log(out)
1054- // console.log(outStride)
1055- // console.log(x)
1056- // console.log(xStride)
1057- // console.log(y)
1058- // console.log(yStride)
1059- // console.log(count)
1060- // console.log(runState.evmmaxState.getActive().scratchSpace)
10611042 runState . evmmaxState . getActive ( ) . addM ( out , outStride , x , xStride , y , yStride , count )
1062- // console.log(runState.evmmaxState.getActive().scratchSpace)
10631043 } ,
10641044 ] ,
10651045 // 0xc4: SUBMODX
@@ -1071,10 +1051,7 @@ export const handlers: Map<number, OpHandler> = new Map([
10711051 runState . code ,
10721052 )
10731053 runState . programCounter += 7
1074- console . log ( 'dbg701' )
1075- console . log ( runState . evmmaxState . getActive ( ) . scratchSpace )
10761054 runState . evmmaxState . getActive ( ) . subM ( out , outStride , x , xStride , y , yStride , count )
1077- console . log ( runState . evmmaxState . getActive ( ) . scratchSpace )
10781055 } ,
10791056 ] ,
10801057 // 0xc5: MULMODX
@@ -1086,10 +1063,7 @@ export const handlers: Map<number, OpHandler> = new Map([
10861063 runState . code ,
10871064 )
10881065 runState . programCounter += 7
1089- console . log ( 'dbg700' )
1090- console . log ( runState . evmmaxState . getActive ( ) . scratchSpace )
10911066 runState . evmmaxState . getActive ( ) . mulM ( out , outStride , x , xStride , y , yStride , count )
1092- console . log ( runState . evmmaxState . getActive ( ) . scratchSpace )
10931067 } ,
10941068 ] ,
10951069 // 0xd0: DATALOAD
0 commit comments