@@ -103,15 +103,15 @@ func TestTracer(t *testing.T) {
103
103
{ // tests that we don't panic on bad arguments to memory access
104
104
code : "{depths: [], step: function(log) { this.depths.push(log.memory.slice(-1,-2)); }, fault: function() {}, result: function() { return this.depths; }}" ,
105
105
want : `` ,
106
- fail : "Tracer accessed out of bound memory: offset -1, end -2 at step (<eval>:1:53(15)) in server-side tracer function 'step'" ,
106
+ fail : "tracer accessed out of bound memory: offset -1, end -2 at step (<eval>:1:53(15)) in server-side tracer function 'step'" ,
107
107
}, { // tests that we don't panic on bad arguments to stack peeks
108
108
code : "{depths: [], step: function(log) { this.depths.push(log.stack.peek(-1)); }, fault: function() {}, result: function() { return this.depths; }}" ,
109
109
want : `` ,
110
- fail : "Tracer accessed out of bound stack: size 0, index -1 at step (<eval>:1:53(13)) in server-side tracer function 'step'" ,
110
+ fail : "tracer accessed out of bound stack: size 0, index -1 at step (<eval>:1:53(13)) in server-side tracer function 'step'" ,
111
111
}, { // tests that we don't panic on bad arguments to memory getUint
112
112
code : "{ depths: [], step: function(log, db) { this.depths.push(log.memory.getUint(-64));}, fault: function() {}, result: function() { return this.depths; }}" ,
113
113
want : `` ,
114
- fail : "Tracer accessed out of bound memory: available 0, offset -64, size 32 at step (<eval>:1:58(13)) in server-side tracer function 'step'" ,
114
+ fail : "tracer accessed out of bound memory: available 0, offset -64, size 32 at step (<eval>:1:58(13)) in server-side tracer function 'step'" ,
115
115
}, { // tests some general counting
116
116
code : "{count: 0, step: function() { this.count += 1; }, fault: function() {}, result: function() { return this.count; }}" ,
117
117
want : `3` ,
@@ -232,7 +232,7 @@ func TestIsPrecompile(t *testing.T) {
232
232
t .Error (err )
233
233
}
234
234
if string (res ) != "false" {
235
- t .Errorf ("Tracer should not consider blake2f as precompile in byzantium" )
235
+ t .Errorf ("tracer should not consider blake2f as precompile in byzantium" )
236
236
}
237
237
238
238
tracer , _ = newJsTracer ("{addr: toAddress('0000000000000000000000000000000000000009'), res: null, step: function() { this.res = isPrecompiled(this.addr); }, fault: function() {}, result: function() { return this.res; }}" , nil )
@@ -242,7 +242,7 @@ func TestIsPrecompile(t *testing.T) {
242
242
t .Error (err )
243
243
}
244
244
if string (res ) != "true" {
245
- t .Errorf ("Tracer should consider blake2f as precompile in istanbul" )
245
+ t .Errorf ("tracer should consider blake2f as precompile in istanbul" )
246
246
}
247
247
}
248
248
0 commit comments