Skip to content

Commit

Permalink
remove unrelated eval change
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcardon committed Mar 27, 2024
1 parent 484e365 commit 4245018
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Pact/Eval.hs
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,7 @@ eval' (TModule _tm@(MDModule m) bod i) =
govM <- loadModule mangledM bod i
szVer <- getSizeOfVersion
_ <- computeGas (Left (i,"module")) (GPreWrite (WriteModule (_mName m) (_mCode m)) szVer)
pdm <- traverse (traverse toPersistDirect') govM
liftIO $ print $ J.encode pdm
writeRow i Write Modules (_mName mangledM) pdm
writeRow i Write Modules (_mName mangledM) =<< traverse (traverse toPersistDirect') govM
endAdvice govM
return (msg $ "Loaded module " <> pretty (_mName mangledM) <> ", hash " <> pretty (_mHash mangledM))

Expand Down

0 comments on commit 4245018

Please sign in to comment.