Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Results overwrites in map of sha256 #590

Closed
Acaccia opened this issue Dec 17, 2024 · 0 comments · Fixed by #594
Closed

Results overwrites in map of sha256 #590

Acaccia opened this issue Dec 17, 2024 · 0 comments · Fixed by #594
Assignees
Labels
bug Something isn't working

Comments

@Acaccia
Copy link
Collaborator

Acaccia commented Dec 17, 2024

This test fails :

#[test]
fn map_sha256() {
    crosscheck(
        "(map sha256 (list 1 2 3))",
        interpret("(list 0x4cbbd8ca5215b8d161aec181a74b694f4e24b001d5b081dc0030ed797a8973e0 0xb1535c7783ea8829b6b0cf67704539798b4d16c39bf0bfe09494c5d9f12eee30)"),
    );
}

The result of (sha256 2) seems to overwrite the result of (sha256 1).

The issue seems to come from map, since (list (sha256 1) (sha256 2)) behaves normally.

@Acaccia Acaccia added the bug Something isn't working label Dec 17, 2024
@github-project-automation github-project-automation bot moved this to Status: 🆕 New in Stacks Core Eng Dec 17, 2024
@Acaccia Acaccia changed the title Result overwrites in map of sha256 Results overwrites in map of sha256 Dec 17, 2024
@BowTiedWoo BowTiedWoo self-assigned this Jan 6, 2025
@github-project-automation github-project-automation bot moved this from Status: 🆕 New to Status: ✅ Done in Stacks Core Eng Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants