Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 98bef63

Browse files
committed
deact: prints
1 parent 416d48e commit 98bef63

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ethereum/specials.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
def proc_ecrecover(ext, msg):
8-
print('ecrecover proc', msg.gas)
8+
#print('ecrecover proc', msg.gas)
99
OP_GAS = opcodes.GECRECOVER
1010
gas_cost = OP_GAS
1111
if msg.gas < gas_cost:
@@ -24,7 +24,7 @@ def proc_ecrecover(ext, msg):
2424

2525

2626
def proc_sha256(ext, msg):
27-
print('sha256 proc', msg.gas)
27+
#print('sha256 proc', msg.gas)
2828
OP_GAS = opcodes.GSHA256BASE + \
2929
(utils.ceil32(msg.data.size) / 32) * opcodes.GSHA256WORD
3030
gas_cost = OP_GAS
@@ -36,7 +36,7 @@ def proc_sha256(ext, msg):
3636

3737

3838
def proc_ripemd160(ext, msg):
39-
print('ripemd160 proc', msg.gas)
39+
#print('ripemd160 proc', msg.gas)
4040
OP_GAS = opcodes.GRIPEMD160BASE + \
4141
(utils.ceil32(msg.data.size) / 32) * opcodes.GRIPEMD160WORD
4242
gas_cost = OP_GAS
@@ -48,7 +48,7 @@ def proc_ripemd160(ext, msg):
4848

4949

5050
def proc_identity(ext, msg):
51-
print('identity proc', msg.gas)
51+
#print('identity proc', msg.gas)
5252
OP_GAS = opcodes.GIDENTITYBASE + \
5353
opcodes.GIDENTITYWORD * (utils.ceil32(msg.data.size) / 32)
5454
gas_cost = OP_GAS

ethereum/vm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def vm_execute(ext, msg, code):
459459
data = b''.join(map(ascii_chr, mem[mstart: mstart + msz]))
460460
ext.log(msg.to, topics, data)
461461
log_log.trace('LOG', to=msg.to, topics=topics, data=list(map(safe_ord, data)))
462-
print('LOG', msg.to, topics, list(map(safe_ord, data)))
462+
# print('LOG', msg.to, topics, list(map(safe_ord, data)))
463463

464464
elif op == 'CREATE':
465465
value, mstart, msz = stk.pop(), stk.pop(), stk.pop()
@@ -546,7 +546,7 @@ def vm_execute(ext, msg, code):
546546
ext.set_balance(msg.to, 0)
547547
ext.set_balance(to, ext.get_balance(to) + xfer)
548548
ext.add_suicide(msg.to)
549-
print('suiciding %s %s %d' % (msg.to, to, xfer))
549+
# print('suiciding %s %s %d' % (msg.to, to, xfer))
550550
return 1, compustate.gas, []
551551
for a in stk:
552552
assert is_numeric(a)

0 commit comments

Comments
 (0)