Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Weird behavior when computing the hash of a module AGAIN :-( #1284

@CryptoPascal31

Description

@CryptoPascal31

Issue description

Hi,
@rsoeldner @jmcardon

This is related to #1277.

It looks like it's not really fixed. Sorry for the pain
The minimal non working example I gave on the previous issue is OK

But I have another non-working example : when embeding a modref in a list or an object

Steps to reproduce

(module my-mod G
 (defcap G() true))

(print (hash [my-mod]))
(print (hash [my-mod]))

gives

q_B1sx9o7P9EPykeqjCTaO2jRLNoB9E1IaiYgJbHRgo
imFUeRmYadt9t60RfsZqz8g4JL3uaL_XIHZ0ZI4eqqo
Load successful

Same observation as the previous issue. Works within interactive REPL, but not when launching a file.

Expected Behavior

Pact would give the same hash

Debug Information

Tested with a fresh compiled master HEAD: Git hash 590ae43

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions