Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite #29

Merged
merged 90 commits into from
Dec 17, 2023
Merged

SQLite #29

merged 90 commits into from
Dec 17, 2023

Conversation

rsoeldner
Copy link
Member

@rsoeldner rsoeldner commented Nov 15, 2023


pact-core-tests/Pact/Core/Test/PersistenceTests.hs Outdated Show resolved Hide resolved
pact-core-tests/pact-tests/namespaces.repl Outdated Show resolved Hide resolved
pact-core/Pact/Core/IR/Eval/CEK.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Repl/Runtime/ReplBuiltin.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Persistence/SQLite.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Repl/Utils.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Serialise/CBOR_V1.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Serialise/CBOR_V1.hs Show resolved Hide resolved
@@ -28,7 +28,8 @@ module Pact.Core.IR.Eval.CEK
, evalWithStackFrame
, emitEvent
, emitCapability
, guardForModuleCall) where
, guardForModuleCall
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a place we were missing this? Or is this for testing purposes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I'm not sure why it's part of this PR. But indeed that export is needed. coreEmitEvent raw builtin uses it. coreEmitEvent is not related to this PR. Confused.

pact-core/Pact/Core/Persistence.hs Show resolved Hide resolved
pact-core/Pact/Core/Serialise/LegacyPact.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Serialise/CBOR_V1.hs Show resolved Hide resolved
pact-core/Pact/Core/Serialise/CBOR_V1.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Serialise/CBOR_V1.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/IR/Eval/CEK.hs Show resolved Hide resolved
pact-core/Pact/Core/IR/ModuleHashing.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Persistence/SQLite.hs Show resolved Hide resolved
pact-core/Pact/Core/Persistence/SQLite.hs Outdated Show resolved Hide resolved
pact-core/Pact/Core/Persistence/SQLite.hs Show resolved Hide resolved
pact-core/Pact/Core/Parser.hs Outdated Show resolved Hide resolved
-- |
-- | A SQLite implementation of the PactDb persistence abstraction.

-- TODO: Consider using neat-interpolation to clean up the string literals in this module.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I do feel we should aim at minimising dependencies. So-far we use neat-interpolation just for our test suite and I don't think it's required for this work. But I agree, we should have this comment and consider these changes in the future

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jmcardon jmcardon merged commit dab49e4 into master Dec 17, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants