Skip to content

Commit c1d0855

Browse files
disable RPC logs
1 parent 8d746d6 commit c1d0855

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Echidna/Exec.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ execTxWith executeTx tx = do
113113
case getQuery vmResult of
114114
-- A previously unknown contract is required
115115
Just q@(PleaseFetchContract addr _ continuation) -> do
116-
logMsg $ "INFO: Performing RPC: " <> show q
116+
--logMsg $ "INFO: Performing RPC: " <> show q
117117
case config.rpcUrl of
118118
Just rpcUrl -> do
119119
session <- asks (.fetchSession)
@@ -130,15 +130,15 @@ execTxWith executeTx tx = do
130130
-- RPC server returning junk etc.
131131
fromEVM (continuation emptyAccount)
132132
Nothing -> do
133-
logMsg $ "ERROR: Requested RPC but it is not configured: " <> show q
133+
--logMsg $ "ERROR: Requested RPC but it is not configured: " <> show q
134134
-- TODO: How should we fail here? RPC is not configured but VM
135135
-- wants to fetch
136136
fromEVM (continuation emptyAccount)
137137
runFully -- resume execution
138138

139139
-- A previously unknown slot is required
140140
Just q@(PleaseFetchSlot addr slot continuation) -> do
141-
logMsg $ "INFO: Performing RPC: " <> show q
141+
--logMsg $ "INFO: Performing RPC: " <> show q
142142
case config.rpcUrl of
143143
Just rpcUrl -> do
144144
session <- asks (.fetchSession)
@@ -152,7 +152,7 @@ execTxWith executeTx tx = do
152152
logMsg $ "ERROR: Failed to fetch slot: " <> show q
153153
fromEVM (continuation 0)
154154
Nothing -> do
155-
logMsg $ "ERROR: Requested RPC but it is not configured: " <> show q
155+
--logMsg $ "ERROR: Requested RPC but it is not configured: " <> show q
156156
-- Use the zero slot
157157
fromEVM (continuation 0)
158158
runFully -- resume execution

0 commit comments

Comments
 (0)