IntersectMBO / IntersectMBO/cardano-ledger
Previous `ScriptTestContext` might get overriden when concatenating `Map`s of `ScriptTestContext`s
Open
:detective: testing
bug
- Dominant language
- Haskell
- Stars
- 295
- Forks
- 179
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 29
Description
Note that the `Map` here has `ScriptHash` as the key type:
```
instance AlonzoEraImp ConwayEra where
scriptTestContexts =
plutusTestScripts SPlutusV1
<> plutusTestScripts SPlutusV2
<> plutusTestScripts SPlutusV3
```
That means that whenever a new `plutusTestScripts` with a different language is concatenated to the map, the previous `ScriptTestContext` gets overwritten.
Contributor guide
Assessment
This issue has not been assessed yet.