fixup! Add MintBurn indexer
Inline getMaryOtherAssets helper -- it was used only once.
Inline getMaryOtherAssets helper -- it was used only once.
& filter (\(LA.RdmrPtr tag _, _) -> tag == LA.Mint)
& map (\(LA.RdmrPtr _ w, a) -> (w, a))
getMaryOtherAssets :: LM.Value c -> Map.Map (LM.PolicyID c) (Map.Map LM.AssetName Integer)
getMaryOtherAssets (LM.Value _ m) = m
getPolicyData :: C.TxBody era -> LM.Value OEra.StandardCrypto -> [(C.PolicyId, C.AssetName, C.Quantity, Word64, C.ScriptData)]
getPolicyData txb value = do
getPolicyData txb (LM.Value _ m) = do
let
policyIdList = Map.toList $ getMaryOtherAssets value
policyIdList = Map.toList m
getPolicyId index' = policyIdList !! fromIntegral index'
((maryPolicyID, assets), index'', (redeemer, _)) <- map (\(index', data_) -> (getPolicyId index', index', data_)) $ mintRedeemers txb
(assetName, quantity) :: (LM.AssetName, Integer) <- Map.toList assets
Adding Milkomeda Open Oracle dev guide
3815: Cleanup nix setup: remove unused cabal shell r=Unisay a=Unisay ### Overview This pull request cleans up our `flake.nix` configuration by * removing the unused `cabal-shell.nix` * making explicit which shell is created when doing `nix develop` (it's `….devShells.default`). ### Issue Number ADP-2447 Co-authored-by: Yura Lazarev <[email protected]>
fix CI not running on bors branches
5023: fix CI not running on bors branches r=disassembler a=dermetfan Looks like this was broken in #4930 as `prAndBorsIo` was added but not used. Also removed `nix` from the task name. I do not see what purpose it has and it makes the names unnecessarily long. Also we happen to need the old names in #5018. Co-authored-by: Robin Stumm <[email protected]>