This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Repository navigation
Bump Pact Pin - #172
Merged
Merged
Bump Pact Pin#172
Conversation
fosskers
commented
Apr 25, 2019
fosskers
force-pushed
the
colin/bump-pact-pin
branch
from
April 26, 2019 20:20
a81142b to
0529938
Compare
fosskers
commented
Apr 26, 2019
| , baseUrlPath = "" } | ||
|
|
||
| escapedCmd :: BS.ByteString | ||
| escapedCmd = [r|{"cmds":[{"hash":"d0613e7a16bf938f45b97aa831b0cc04da485140bec11cc8954e0509ea65d823472b1e683fa2950da1766cbe7fae9de8ed416e80b0ccbf12bfa6549eab89aeb6","sigs":[{"addr":"368820f80c324bbc7c2b0610688a7da43e39f91d118732671cd9c7500ff43cca","sig":"71cdedd5b1305881b1fd3d4ac2009cb247d0ebb55d1d122a7f92586828a1ed079e6afc9e8b3f75fa25fba84398eeea6cc3b92949a315420431584ba372605d07","scheme":"ED25519","pubKey":"368820f80c324bbc7c2b0610688a7da43e39f91d118732671cd9c7500ff43cca"}],"cmd":"{\"payload\":{\"exec\":{\"data\":null,\"code\":\"(+ 1 2)\"}},\"meta\":{\"gasLimit\":100,\"chainId\":\"0\",\"gasPrice\":1.0e-4,\"sender\":\"sender00\"},\"nonce\":\"2019-03-29 20:35:45.012384811 UTC\"}"}]}|] |
Contributor
Author
There was a problem hiding this comment.
@marklnichols might take offense to the removal of this ;)
@emmanueldenloye and I figured it would be safer / more clear / more maintainable to carry around the Haskellized version of the same structure (testBatch). It also helped fix a bug.
Contributor
There was a problem hiding this comment.
That's fine as long as it produces the same Pact code I had pasted from Stuarts utility.
fosskers
force-pushed
the
colin/bump-pact-pin
branch
from
April 29, 2019 16:07
830837c to
dbb5ee7
Compare
This includes the new Module Persistence code.
fosskers
force-pushed
the
colin/bump-pact-pin
branch
from
April 29, 2019 17:49
dbb5ee7 to
9418cac
Compare
Paired with Mark to justify the removal of this.
| return $ Def {..} | ||
| return $ Def{..} | ||
|
|
||
| -- FIXME: This should be autoderivable, since `Generic1` is autoderivable. |
Contributor
There was a problem hiding this comment.
I'm just leaving this note as a reminder of our discussion in which we agreed upon there needing to be a separate PR to replace these instances with the auto-derivable ones.
emmanueldenloye
approved these changes
Apr 29, 2019
larskuhtz
approved these changes
Apr 29, 2019
| newBlockTest "new-block-0" reqQIO | ||
| , withPact testEmptyMemPool $ \reqQIO -> | ||
| newBlockTest "empty block tests" reqQIO | ||
| newBlockTest "empty-block-tests" reqQIO |
Contributor
There was a problem hiding this comment.
👍 thanks for noticing and fixing this. I had forgotten about it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will probably need help from @emilypi or @marklnichols to fix the API breakage.