Skip to content

Commit

Permalink
wip: core integration
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundnoble committed Jul 19, 2024
1 parent 0a71607 commit d5f619b
Show file tree
Hide file tree
Showing 97 changed files with 3,850 additions and 2,848 deletions.
6 changes: 3 additions & 3 deletions bench/Chainweb/Pact/Backend/ForkingBench.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ import Chainweb.Payload.PayloadStore
import Chainweb.Payload.PayloadStore.InMemory
import Chainweb.Test.TestVersions (slowForkingCpmTestVersion)
import Chainweb.Time
import Chainweb.Transaction
import qualified Chainweb.Pact4.Transaction as Pact4
import Chainweb.Utils
import Chainweb.Utils.Bench
import Chainweb.Version
Expand Down Expand Up @@ -492,8 +492,8 @@ safeCapitalize :: String -> String
safeCapitalize = maybe [] (uncurry (:) . bimap toUpper (Prelude.map toLower)) . Data.List.uncons


-- TODO: Use the new `assertCommand` function.
validateCommand :: Command Text -> Either String Pact4Transaction
-- TODO: Use the new `assertPact4Command` function.
validateCommand :: Command Text -> Either String Pact4.Transaction
validateCommand cmdText = case verifyCommand cmdBS of
ProcSucc cmd -> Right (mkPayloadWithTextOld <$> cmd)
ProcFail err -> Left err
Expand Down
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ packages:
source-repository-package
type: git
location: https://github.com/kadena-io/pact.git
tag: 4c0acc5fb322014b120c4a5942db8505968ab046
tag: 532d74dcf36f1b0119412af8ec14bb0f3298fb91
--sha256: 0kyh6xwm06npbw73dil5xpngfr7h6ppsn5jz7hjkirq9hj33aqqv

-- source-repository-package
Expand Down
343 changes: 0 additions & 343 deletions cabal.project.freeze

This file was deleted.

Loading

0 comments on commit d5f619b

Please sign in to comment.