@@ -28,15 +28,15 @@ it('should retrieve transaction traces', async () => {
2828
2929 // Assert proper response for `structLog`
3030 let txTrace = response . body . result
31- assert . equal ( txTrace . gas , 1130512 )
31+ assert . equal ( txTrace . gas , 1171555 )
3232 assert . equal ( txTrace . failed , false )
33- assert . lengthOf ( txTrace . returnValue , 9806n )
33+ assert . lengthOf ( txTrace . returnValue , 9968n )
3434 assert . deepEqual (
3535 txTrace . structLogs [ 0 ] ,
3636 {
3737 pc : 0 ,
3838 op : 'PUSH1' ,
39- gas : 1013648 ,
39+ gas : 1052352 ,
4040 gasCost : 3 ,
4141 depth : 1 ,
4242 stack : [ ]
@@ -60,11 +60,11 @@ it('should retrieve transaction traces', async () => {
6060 // Assert proper response for `callTracer`
6161 txTrace = response . body . result
6262 assert . equal ( txTrace . from , '0xfacf71692421039876a5bb4f10ef7a439d8ef61e' )
63- assert . equal ( txTrace . gas , '0x1167ac ' )
64- assert . equal ( txTrace . gasUsed , '0x114010 ' )
63+ assert . equal ( txTrace . gas , '0x120944 ' )
64+ assert . equal ( txTrace . gasUsed , '0x11e063 ' )
6565 assert . equal ( txTrace . to , '0x99a64c993965f8d69f985b5171bc20065cc32fab' )
66- assert . lengthOf ( txTrace . input , 9856n )
67- assert . lengthOf ( txTrace . output , 9806n )
66+ assert . lengthOf ( txTrace . input , 10186n )
67+ assert . lengthOf ( txTrace . output , 9968n )
6868 assert . isUndefined ( txTrace . logs )
6969 assert . equal ( txTrace . value , '0x0' )
7070 assert . equal ( txTrace . type , 'CREATE' )
@@ -82,14 +82,22 @@ it('should retrieve transaction traces', async () => {
8282 assert . deepEqual (
8383 txTrace ,
8484 {
85- PUSH1 : 2 ,
85+ PUSH1 : 3 ,
8686 MSTORE : 1 ,
87- PUSH2 : 3 ,
88- PUSH0 : 3 ,
89- DUP2 : 1 ,
90- SWAP1 : 1 ,
91- SSTORE : 1 ,
92- POP : 1 ,
87+ PUSH2 : 4 ,
88+ PUSH0 : 4 ,
89+ DUP2 : 3 ,
90+ SWAP1 : 3 ,
91+ SSTORE : 2 ,
92+ POP : 2 ,
93+ PUSH20 : 3 ,
94+ EXP : 1 ,
95+ SLOAD : 1 ,
96+ MUL : 2 ,
97+ NOT : 1 ,
98+ AND : 2 ,
99+ DUP4 : 1 ,
100+ OR : 1 ,
93101 DUP1 : 1 ,
94102 CODECOPY : 1 ,
95103 RETURN : 1
@@ -149,15 +157,15 @@ it('should retrieve transaction traces', async () => {
149157 )
150158 assert . deepEqual (
151159 txTrace . pre [ '0xfacf71692421039876a5bb4f10ef7a439d8ef61e' ] ,
152- { balance : '0x456391823ad876a0 ' , nonce : 1 }
160+ { balance : '0x456391823a7a85fe ' , nonce : 1 }
153161 )
154162 assert . deepEqual (
155163 txTrace . post [ '0x0000000000000000000000030000000000000000' ] ,
156164 { balance : '0x4098ea' }
157165 )
158166 assert . deepEqual (
159167 txTrace . post [ '0xfacf71692421039876a5bb4f10ef7a439d8ef61e' ] ,
160- { balance : '0x456391823a97ddb6 ' , nonce : 2 }
168+ { balance : '0x456391823a39ed14 ' , nonce : 2 }
161169 )
162170
163171 response = await helpers . callRPCMethod (
@@ -402,8 +410,8 @@ it('should retrieve transaction traces', async () => {
402410 txTrace ,
403411 {
404412 from : conf . eoa . address . toLowerCase ( ) ,
405- gas : '0xb56b ' ,
406- gasUsed : '0x6147 ' ,
413+ gas : '0xb56a ' ,
414+ gasUsed : '0x6146 ' ,
407415 to : contractAddress . toLowerCase ( ) ,
408416 input : '0xc550f90f' ,
409417 output : '0x0000000000000000000000000000000000000000000000000000000000000006' ,
@@ -526,7 +534,7 @@ it('should retrieve call traces', async () => {
526534 let callTrace = response . body . result
527535 assert . equal ( callTrace . from , '0xfacf71692421039876a5bb4f10ef7a439d8ef61e' )
528536 assert . equal ( callTrace . gas , '0x75ab' )
529- assert . equal ( callTrace . gasUsed , '0x5be0 ' )
537+ assert . equal ( callTrace . gasUsed , '0x5bdf ' )
530538 assert . equal ( callTrace . to , '0x99a64c993965f8d69f985b5171bc20065cc32fab' )
531539 assert . equal ( callTrace . input , '0x2e64cec1' )
532540 assert . equal (
@@ -561,7 +569,7 @@ it('should retrieve call traces', async () => {
561569 } ,
562570 pre : {
563571 '0xfacf71692421039876a5bb4f10ef7a439d8ef61e' : {
564- balance : '0x456391823a5ede1c ' ,
572+ balance : '0x456391823a00ee10 ' ,
565573 nonce : 3
566574 }
567575 }
@@ -646,15 +654,15 @@ it('should retrieve call traces', async () => {
646654 PUSH1 : 7 ,
647655 MSTORE : 2 ,
648656 CALLVALUE : 1 ,
649- DUP1 : 6 ,
657+ DUP1 : 5 ,
650658 ISZERO : 1 ,
651659 PUSH2 : 13 ,
652660 JUMPI : 5 ,
653661 JUMPDEST : 12 ,
654662 POP : 9 ,
655663 CALLDATASIZE : 1 ,
656664 LT : 1 ,
657- PUSH0 : 5 ,
665+ PUSH0 : 6 ,
658666 CALLDATALOAD : 1 ,
659667 SHR : 1 ,
660668 PUSH4 : 3 ,
@@ -699,7 +707,7 @@ it('should retrieve call traces', async () => {
699707 callTrace = response . body . result
700708 assert . equal ( callTrace . from , '0xfacf71692421039876a5bb4f10ef7a439d8ef61e' )
701709 assert . equal ( callTrace . gas , '0x75ab' )
702- assert . equal ( callTrace . gasUsed , '0x5be0 ' )
710+ assert . equal ( callTrace . gasUsed , '0x5bdf ' )
703711 assert . equal ( callTrace . to , '0x99a64c993965f8d69f985b5171bc20065cc32fab' )
704712 assert . equal ( callTrace . input , '0x2e64cec1' )
705713 assert . equal (
@@ -780,14 +788,14 @@ it('should retrieve call traces', async () => {
780788 {
781789 from : conf . eoa . address . toLowerCase ( ) ,
782790 gas : '0xcdd4' ,
783- gasUsed : '0xb3ed ' ,
791+ gasUsed : '0xb3ec ' ,
784792 to : contractAddress . toLowerCase ( ) ,
785793 input : '0xc550f90f' ,
786794 output : '0x0000000000000000000000000000000000000000000000000000000000000007' ,
787795 calls : [
788796 {
789797 from : contractAddress . toLowerCase ( ) ,
790- gas : '0x6d44 ' ,
798+ gas : '0x6d45 ' ,
791799 gasUsed : '0x52a8' ,
792800 to : '0x0000000000000000000000010000000000000001' ,
793801 input : '0x53e87d66' ,
@@ -827,7 +835,7 @@ it('should retrieve call traces', async () => {
827835 updateTrace = response . body . result
828836 assert . equal ( updateTrace . from , '0xfacf71692421039876a5bb4f10ef7a439d8ef61e' )
829837 assert . equal ( updateTrace . gas , '0x95ab' )
830- assert . equal ( updateTrace . gasUsed , '0x6094 ' )
838+ assert . equal ( updateTrace . gasUsed , '0x60a8 ' )
831839 assert . equal ( updateTrace . to , '0x99a64c993965f8d69f985b5171bc20065cc32fab' )
832840 assert . equal (
833841 updateTrace . input ,
0 commit comments