Skip to content

test: fix blockhash opcode related unit tests. #26

@lightscale-luke

Description

@lightscale-luke

Issue Type

Others

OS Platform and Distribution

No response

Current Behaviour?

Currently `blockhash_gadget_simple` and `blockhash_gadget_large` unit tests are disabled.
The reason is that some of the cases of the tests passes but some don't.
Need to fix the unit tests for all of them to pass.

Standalone code to reproduce the issue

command to use run unit tests: 

cargo test --workspace --exclude integration-tests --exclude testool --exclude mock --exclude external-tracer --release -- --test-threads=4


### Relevant log output

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions