{"action":"created","comment":{"url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments/197680834","pull_request_review_id":131469202,"id":197680834,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzY4MDgzNA==","diff_hunk":"@@ -0,0 +1,1739 @@\n+{-# LANGUAGE OverloadedStrings #-}\n+module Test.Pos.Core.Bi\n+       ( tests\n+       ) where\n+\n+import           Universum\n+\n+import           Cardano.Crypto.Wallet (xprv, xpub)\n+import qualified Crypto.SCRAPE as Scrape\n+import           Data.Coerce (coerce)\n+import           Data.Fixed (Fixed (..))\n+import qualified Data.HashMap.Strict as HM\n+import           Data.List (zipWith4, (!!))\n+import           Data.List.NonEmpty (fromList)\n+import qualified Data.Map as M\n+import           Data.Maybe (fromJust)\n+import qualified Data.Text as Text (unpack)\n+import           Data.Time.Units (Millisecond, fromMicroseconds)\n+import qualified Data.Vector as V\n+import           Hedgehog (Group (..), GroupName, Property, PropertyName)\n+import qualified Hedgehog as H\n+import           Serokell.Data.Memory.Units (Byte)\n+\n+import           Pos.Binary.Class (Bi, Raw (..), asBinary)\n+import           Pos.Core.Block (BlockHeader (..), BlockHeaderAttributes, BlockSignature (..),\n+                                 GenesisBlockHeader, GenesisBody (..), GenesisConsensusData (..),\n+                                 GenesisProof (..), HeaderHash, MainBlockHeader, MainBody (..),\n+                                 MainConsensusData (..), MainExtraBodyData (..),\n+                                 MainExtraHeaderData (..), MainProof (..), MainToSign (..),\n+                                 mkGenesisHeader, mkMainHeaderExplicit)\n+import           Pos.Core.Common (AddrAttributes (..), AddrSpendingData (..),\n+                                  AddrStakeDistribution (..), AddrType (..), BlockCount (..),\n+                                  ChainDifficulty (..), Coeff (..), Coin (..), CoinPortion (..),\n+                                  IsBootstrapEraAddr (..), Script (..), ScriptVersion,\n+                                  SharedSeed (..), SlotLeaders, StakeholderId, StakesList,\n+                                  TxFeePolicy (..), TxSizeLinear (..), addressHash, makeAddress,\n+                                  makePubKeyAddress)\n+import           Pos.Core.Configuration (GenesisHash (..))\n+import           Pos.Core.Delegation (DlgPayload (..), HeavyDlgIndex (..), LightDlgIndices (..),\n+                                      ProxySKBlockInfo, ProxySKHeavy)\n+import           Pos.Core.ProtocolConstants (ProtocolConstants (..))\n+import           Pos.Core.Slotting (EpochIndex (..), EpochOrSlot (..), FlatSlotId,\n+                                    LocalSlotIndex (..), SlotCount (..), SlotId (..), TimeDiff (..),\n+                                    Timestamp (..))\n+import           Pos.Core.Ssc (Commitment, CommitmentSignature, CommitmentsMap, InnerSharesMap,\n+                               Opening, OpeningsMap, SharesDistribution, SignedCommitment,\n+                               SscPayload (..), SscProof (..), VssCertificate (..),\n+                               VssCertificate (..), VssCertificatesHash, VssCertificatesMap (..),\n+                               mkCommitmentsMap, mkVssCertificate, mkVssCertificatesMap,\n+                               randCommitmentAndOpening)\n+import           Pos.Core.Txp (Tx (..), TxAux (..), TxId, TxIn (..), TxInWitness (..), TxOut (..),\n+                               TxOutAux (..), TxPayload (..), TxProof (..), TxSig, TxSigData (..),\n+                               TxWitness, mkTxPayload)\n+import           Pos.Core.Update (ApplicationName (..), BlockVersion (..), BlockVersionData (..),\n+                                  BlockVersionModifier (..), SoftforkRule (..),\n+                                  SoftwareVersion (..), SystemTag (..), UpAttributes, UpId,\n+                                  UpdateData (..), UpdatePayload (..), UpdateProof, UpdateProposal,\n+                                  UpdateProposalToSign (..), UpdateVote (..), mkUpdateProof,\n+                                  mkUpdateProposalWSign, mkUpdateVoteSafe)\n+import           Pos.Crypto (AbstractHash (..), EncShare (..), HDAddressPayload (..), Hash,\n+                             ProtocolMagic (..), PublicKey (..), RedeemPublicKey, RedeemSignature,\n+                             SafeSigner (..), Secret (..), SecretKey (..), SecretProof (..),\n+                             SignTag (..), VssKeyPair, VssPublicKey (..), abstractHash, createPsk,\n+                             decryptShare, deterministic, deterministicVssKeyGen, hash, proxySign,\n+                             redeemDeterministicKeyGen, redeemSign, safeCreatePsk, sign, toPublic,\n+                             toVssPublicKey)\n+import           Pos.Data.Attributes (Attributes, mkAttributes)\n+import           Pos.Merkle (mkMerkleTree, mtRoot)\n+\n+import           Test.Pos.Binary.Helpers.GoldenRoundTrip (discoverGolden, discoverRoundTrip, eachOf,\n+                                                          goldenTestBi, roundTripsBiBuildable,\n+                                                          roundTripsBiShow)\n+import           Test.Pos.Core.Gen\n+import           Test.Pos.Crypto.Bi (getBytes)\n+import           Test.Pos.Crypto.Gen (genProtocolMagic)\n+\n+--------------------------------------------------------------------------------\n+-- Address\n+--------------------------------------------------------------------------------\n+\n+golden_Address :: Property\n+golden_Address = goldenTestBi a \"test/golden/Address\"\n+  where\n+    a = makeAddress exampleAddrSpendingData_PubKey attrs\n+    attrs = AddrAttributes hap BootstrapEraDistr\n+    hap = Just (HDAddressPayload (getBytes 32 32))\n+\n+roundTripAddressBi :: Property\n+roundTripAddressBi = eachOf 1000 genAddress roundTripsBiBuildable\n+\n+--------------------------------------------------------------------------------\n+-- AddrSpendingData\n+--------------------------------------------------------------------------------\n+\n+golden_AddrSpendingData_PubKey :: Property\n+golden_AddrSpendingData_PubKey = goldenTestBi exampleAddrSpendingData_PubKey\n+                                              \"test/golden/AddrSpendingData_PubKey\"\n+\n+golden_AddrSpendingData_Script :: Property\n+golden_AddrSpendingData_Script = goldenTestBi asd \"test/golden/AddrSpendingData_Script\"\n+  where asd = ScriptASD exampleScript\n+\n+golden_AddrSpendingData_Redeem :: Property\n+golden_AddrSpendingData_Redeem = goldenTestBi asd \"test/golden/AddrSpendingData_Redeem\"\n+  where\n+    asd = RedeemASD redeemPublicKey\n+    Just redeemPublicKey = fst <$> redeemDeterministicKeyGen (getBytes 0 32)\n+\n+golden_AddrSpendingData_Unknown :: Property\n+golden_AddrSpendingData_Unknown = goldenTestBi asd \"test/golden/AddrSpendingData_Unknown\"\n+  where asd = UnknownASD 247 (getBytes 3 32)\n+\n+roundTripAddrSpendingDataBi :: Property\n+roundTripAddrSpendingDataBi = eachOf 1000 genAddrSpendingData roundTripsBiBuildable\n+\n+--------------------------------------------------------------------------------\n+-- AddrStakeDistribution\n+--------------------------------------------------------------------------------\n+\n+golden_AddrStakeDistribution_Bootstrap :: Property\n+golden_AddrStakeDistribution_Bootstrap =\n+    goldenTestBi BootstrapEraDistr \"test/golden/AddrStakeDistribution_Bootstrap\"\n+\n+golden_AddrStakeDistribution_SingleKey :: Property\n+golden_AddrStakeDistribution_SingleKey =\n+    goldenTestBi asd \"test/golden/AddrStakeDistribution_SingleKey\"\n+  where\n+    asd = SingleKeyDistr (abstractHash examplePublicKey)\n+\n+golden_AddrStakeDistribution_UnsafeMultiKey :: Property\n+golden_AddrStakeDistribution_UnsafeMultiKey =\n+    goldenTestBi asd \"test/golden/AddrStakeDistribution_UnsafeMultiKey\"\n+  where\n+    asd   =  M.fromList (zip sis coins) :: Map StakeholderId CoinPortion\n+    sis   = [si1, si2, si3]\n+    coins = map (CoinPortion . exp10_14) [3,2,5]\n+    exp10_14 x = x * (10 :: Word64) ^ (14 :: Word64)\n+    Right si1 = abstractHash . PublicKey <$> xpub (getBytes  0 64)\n+    Right si2 = abstractHash . PublicKey <$> xpub (getBytes 13 64)\n+    Right si3 = abstractHash . PublicKey <$> xpub (getBytes 27 64)\n+\n+roundTripAddrStakeDistributionBi :: Property\n+roundTripAddrStakeDistributionBi = eachOf 1000 genAddrStakeDistribution roundTripsBiBuildable\n+\n+--------------------------------------------------------------------------------\n+-- AddrType\n+--------------------------------------------------------------------------------\n+\n+golden_AddrType_PK :: Property\n+golden_AddrType_PK = goldenTestBi at \"test/golden/AddrType_PK\"\n+  where at = ATPubKey","path":"core/test/Test/Pos/Core/Bi.hs","position":151,"original_position":151,"commit_id":"5ea2c8ce575aa0601dcc9e437e2f4ae650c9ce1a","original_commit_id":"5ea2c8ce575aa0601dcc9e437e2f4ae650c9ce1a","user":{"login":"erikd","id":307277,"node_id":"MDQ6VXNlcjMwNzI3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/307277?v=4","gravatar_id":"","url":"https://api.github.com/users/erikd","html_url":"https://github.com/erikd","followers_url":"https://api.github.com/users/erikd/followers","following_url":"https://api.github.com/users/erikd/following{/other_user}","gists_url":"https://api.github.com/users/erikd/gists{/gist_id}","starred_url":"https://api.github.com/users/erikd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikd/subscriptions","organizations_url":"https://api.github.com/users/erikd/orgs","repos_url":"https://api.github.com/users/erikd/repos","events_url":"https://api.github.com/users/erikd/events{/privacy}","received_events_url":"https://api.github.com/users/erikd/received_events","type":"User","site_admin":false},"body":"Why not just replace `at` with `ATPubKey`? Saves you 7 characters :)","created_at":"2018-06-25T05:11:59Z","updated_at":"2018-06-25T05:11:59Z","html_url":"https://github.com/input-output-hk/cardano-sl/pull/3120#discussion_r197680834","pull_request_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments/197680834"},"html":{"href":"https://github.com/input-output-hk/cardano-sl/pull/3120#discussion_r197680834"},"pull_request":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120"}}},"pull_request":{"url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120","id":196864294,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2ODY0Mjk0","html_url":"https://github.com/input-output-hk/cardano-sl/pull/3120","diff_url":"https://github.com/input-output-hk/cardano-sl/pull/3120.diff","patch_url":"https://github.com/input-output-hk/cardano-sl/pull/3120.patch","issue_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/3120","number":3120,"state":"open","locked":false,"title":"CDEC-364 | Create golden & roundtrip tests for all datatypes in `cardano-sl-core` with Bi instances","user":{"login":"mhuesch","id":1151946,"node_id":"MDQ6VXNlcjExNTE5NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1151946?v=4","gravatar_id":"","url":"https://api.github.com/users/mhuesch","html_url":"https://github.com/mhuesch","followers_url":"https://api.github.com/users/mhuesch/followers","following_url":"https://api.github.com/users/mhuesch/following{/other_user}","gists_url":"https://api.github.com/users/mhuesch/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuesch/subscriptions","organizations_url":"https://api.github.com/users/mhuesch/orgs","repos_url":"https://api.github.com/users/mhuesch/repos","events_url":"https://api.github.com/users/mhuesch/events{/privacy}","received_events_url":"https://api.github.com/users/mhuesch/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\nCreate golden & roundtrip tests for all datatypes in `cardano-sl-core` with Bi instances\r\n\r\n## Linked issue\r\n\r\nhttps://iohk.myjetbrains.com/youtrack/issue/CDEC-364\r\n\r\n## Type of change\r\n- [~] 🐞 Bug fix (non-breaking change which fixes an issue)\r\n- [~] 🛠 New feature (non-breaking change which adds functionality)\r\n- [~] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)\r\n- [x] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc\r\n- [x] 🔨 New or improved tests for existing code\r\n- [~] ⛑ git-flow chore (backport, hotfix, etc)\r\n\r\n## Developer checklist\r\n<!--- A mental checklist for the developer submitting the PR. Put an `x` in all the boxes that apply and `~` in the ones that do not: --->\r\n- [x] I have read the [style guide](https://github.com/input-output-hk/cardano-sl/blob/develop/docs/style-guide.md) document, and my code follows the code style of this project.\r\n- [x] If my code deals with exceptions, it follows the [guidelines](https://github.com/input-output-hk/cardano-sl/blob/develop/docs/exceptions.md).\r\n- [x] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on [cardanodocs.com](https://github.com/input-output-hk/cardanodocs.com), amending the inline [Haddock](https://www.haskell.org/haddock/) comments, any relevant README file or one of the document listed in the [docs](https://github.com/input-output-hk/cardano-sl/tree/develop/docs) directory.\r\n\r\n## Testing checklist\r\n- [x] I have added tests to cover my changes.\r\n- [x] All new and existing tests passed.","created_at":"2018-06-22T23:15:10Z","updated_at":"2018-06-25T05:11:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da38b8f2f6175a521a1667ba3041f138d3809776","assignee":null,"assignees":[],"requested_reviewers":[{"login":"vincenthz","id":174631,"node_id":"MDQ6VXNlcjE3NDYzMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174631?v=4","gravatar_id":"","url":"https://api.github.com/users/vincenthz","html_url":"https://github.com/vincenthz","followers_url":"https://api.github.com/users/vincenthz/followers","following_url":"https://api.github.com/users/vincenthz/following{/other_user}","gists_url":"https://api.github.com/users/vincenthz/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthz/subscriptions","organizations_url":"https://api.github.com/users/vincenthz/orgs","repos_url":"https://api.github.com/users/vincenthz/repos","events_url":"https://api.github.com/users/vincenthz/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthz/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120/commits","review_comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120/comments","review_comment_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/3120/comments","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/5ea2c8ce575aa0601dcc9e437e2f4ae650c9ce1a","head":{"label":"input-output-hk:mhuesch/CDEC-364","ref":"mhuesch/CDEC-364","sha":"5ea2c8ce575aa0601dcc9e437e2f4ae650c9ce1a","user":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"repo":{"id":70913997,"node_id":"MDEwOlJlcG9zaXRvcnk3MDkxMzk5Nw==","name":"cardano-sl","full_name":"input-output-hk/cardano-sl","owner":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/input-output-hk/cardano-sl","description":"Cryptographic currency implementing Ouroboros PoS protocol","fork":false,"url":"https://api.github.com/repos/input-output-hk/cardano-sl","forks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/forks","keys_url":"https://api.github.com/repos/input-output-hk/cardano-sl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/input-output-hk/cardano-sl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/input-output-hk/cardano-sl/teams","hooks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/hooks","issue_events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/events{/number}","events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/events","assignees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/assignees{/user}","branches_url":"https://api.github.com/repos/input-output-hk/cardano-sl/branches{/branch}","tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/tags","blobs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/refs{/sha}","trees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/{sha}","languages_url":"https://api.github.com/repos/input-output-hk/cardano-sl/languages","stargazers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/stargazers","contributors_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contributors","subscribers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscribers","subscription_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscription","commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/commits{/sha}","git_commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/commits{/sha}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/comments{/number}","issue_comment_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/comments{/number}","contents_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contents/{+path}","compare_url":"https://api.github.com/repos/input-output-hk/cardano-sl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/input-output-hk/cardano-sl/merges","archive_url":"https://api.github.com/repos/input-output-hk/cardano-sl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/input-output-hk/cardano-sl/downloads","issues_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues{/number}","pulls_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls{/number}","milestones_url":"https://api.github.com/repos/input-output-hk/cardano-sl/milestones{/number}","notifications_url":"https://api.github.com/repos/input-output-hk/cardano-sl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/input-output-hk/cardano-sl/labels{/name}","releases_url":"https://api.github.com/repos/input-output-hk/cardano-sl/releases{/id}","deployments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/deployments","created_at":"2016-10-14T13:44:38Z","updated_at":"2018-06-24T22:48:50Z","pushed_at":"2018-06-24T10:43:46Z","git_url":"git://github.com/input-output-hk/cardano-sl.git","ssh_url":"git@github.com:input-output-hk/cardano-sl.git","clone_url":"https://github.com/input-output-hk/cardano-sl.git","svn_url":"https://github.com/input-output-hk/cardano-sl","homepage":"","size":102364,"stargazers_count":2685,"watchers_count":2685,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":434,"mirror_url":null,"archived":false,"open_issues_count":166,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":434,"open_issues":166,"watchers":2685,"default_branch":"develop"}},"base":{"label":"input-output-hk:develop","ref":"develop","sha":"f2877d00dc15ff644e13f1a0bc56b45c07628c13","user":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"repo":{"id":70913997,"node_id":"MDEwOlJlcG9zaXRvcnk3MDkxMzk5Nw==","name":"cardano-sl","full_name":"input-output-hk/cardano-sl","owner":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/input-output-hk/cardano-sl","description":"Cryptographic currency implementing Ouroboros PoS protocol","fork":false,"url":"https://api.github.com/repos/input-output-hk/cardano-sl","forks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/forks","keys_url":"https://api.github.com/repos/input-output-hk/cardano-sl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/input-output-hk/cardano-sl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/input-output-hk/cardano-sl/teams","hooks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/hooks","issue_events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/events{/number}","events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/events","assignees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/assignees{/user}","branches_url":"https://api.github.com/repos/input-output-hk/cardano-sl/branches{/branch}","tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/tags","blobs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/refs{/sha}","trees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/{sha}","languages_url":"https://api.github.com/repos/input-output-hk/cardano-sl/languages","stargazers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/stargazers","contributors_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contributors","subscribers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscribers","subscription_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscription","commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/commits{/sha}","git_commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/commits{/sha}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/comments{/number}","issue_comment_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/comments{/number}","contents_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contents/{+path}","compare_url":"https://api.github.com/repos/input-output-hk/cardano-sl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/input-output-hk/cardano-sl/merges","archive_url":"https://api.github.com/repos/input-output-hk/cardano-sl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/input-output-hk/cardano-sl/downloads","issues_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues{/number}","pulls_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls{/number}","milestones_url":"https://api.github.com/repos/input-output-hk/cardano-sl/milestones{/number}","notifications_url":"https://api.github.com/repos/input-output-hk/cardano-sl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/input-output-hk/cardano-sl/labels{/name}","releases_url":"https://api.github.com/repos/input-output-hk/cardano-sl/releases{/id}","deployments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/deployments","created_at":"2016-10-14T13:44:38Z","updated_at":"2018-06-24T22:48:50Z","pushed_at":"2018-06-24T10:43:46Z","git_url":"git://github.com/input-output-hk/cardano-sl.git","ssh_url":"git@github.com:input-output-hk/cardano-sl.git","clone_url":"https://github.com/input-output-hk/cardano-sl.git","svn_url":"https://github.com/input-output-hk/cardano-sl","homepage":"","size":102364,"stargazers_count":2685,"watchers_count":2685,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":434,"mirror_url":null,"archived":false,"open_issues_count":166,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":434,"open_issues":166,"watchers":2685,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120"},"html":{"href":"https://github.com/input-output-hk/cardano-sl/pull/3120"},"issue":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/3120"},"comments":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/3120/comments"},"review_comments":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120/comments"},"review_comment":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/3120/commits"},"statuses":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/5ea2c8ce575aa0601dcc9e437e2f4ae650c9ce1a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"erikd"}}