File tree Expand file tree Collapse file tree 4 files changed +1
-15
lines changed Expand file tree Collapse file tree 4 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
- We now try to simplify expressions fully before trying to cast them to a concrete value
20
20
This should improve issues when "Unexpected Symbolic Arguments to Opcode" was
21
21
unnecessarily output
22
+ - Removed dead code related to IOAct in the now deprecated and removed debugger
22
23
23
24
## [ 0.54.2] - 2024-12-12
24
25
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ module EVM.Stepper
10
10
, wait
11
11
, ask
12
12
, evm
13
- , evmIO
14
13
, enter
15
14
, interpret
16
15
)
@@ -49,9 +48,6 @@ data Action t s a where
49
48
-- | Embed a VM state transformation
50
49
EVM :: EVM t s a -> Action t s a
51
50
52
- -- | Perform an IO action
53
- IOAct :: IO a -> Action t s a
54
-
55
51
-- | Type alias for an operational monad of @Action@
56
52
type Stepper t s a = Program (Action t s ) a
57
53
@@ -72,9 +68,6 @@ ask = singleton . Ask
72
68
evm :: EVM t s a -> Stepper t s a
73
69
evm = singleton . EVM
74
70
75
- evmIO :: IO a -> Stepper t s a
76
- evmIO = singleton . IOAct
77
-
78
71
-- | Run the VM until final result, resolving all queries
79
72
execFully :: Stepper Concrete s (Either EvmError (Expr Buf ))
80
73
execFully =
@@ -121,9 +114,6 @@ interpret fetcher vm = eval . view
121
114
m <- fetcher q
122
115
vm' <- liftIO $ stToIO $ execStateT m vm
123
116
interpret fetcher vm' (k () )
124
- IOAct m -> do
125
- r <- liftIO m
126
- interpret fetcher vm (k r)
127
117
EVM m -> do
128
118
(r, vm') <- liftIO $ stToIO $ runStateT m vm
129
119
interpret fetcher vm' (k r)
Original file line number Diff line number Diff line change @@ -306,9 +306,6 @@ interpret fetcher maxIter askSmtIters heuristic vm =
306
306
Stepper. Exec -> do
307
307
(r, vm') <- liftIO $ stToIO $ runStateT exec vm
308
308
interpret fetcher maxIter askSmtIters heuristic vm' (k r)
309
- Stepper. IOAct q -> do
310
- r <- liftIO q
311
- interpret fetcher maxIter askSmtIters heuristic vm (k r)
312
309
Stepper. Ask (PleaseChoosePath cond continue) -> do
313
310
frozen <- liftIO $ stToIO $ freezeVM vm
314
311
evalLeft <- toIO $ do
Original file line number Diff line number Diff line change @@ -581,8 +581,6 @@ interpretWithTrace fetcher =
581
581
vm' <- liftIO $ stToIO $ State. execStateT m vm
582
582
assign _1 vm'
583
583
interpretWithTrace fetcher (k () )
584
- Stepper. IOAct q ->
585
- liftIO q >>= interpretWithTrace fetcher . k
586
584
Stepper. EVM m -> do
587
585
vm <- use _1
588
586
(r, vm') <- liftIO $ stToIO $ State. runStateT m vm
You can’t perform that action at this time.
0 commit comments