Skip to content

[Request]: update mock responses to match return formats #84

@cpb8010

Description

@cpb8010

📝 Description

There are some hard-coded mocks in the SDK tests that no longer reflect the ABI and data formats returned by the contracts.

We either need to manually update these or figure out how to avoid these kinds of manually (AI) generated mocks.

🤔 Rationale

For now I've updated the production code to expect what local node returns instead of what a test net might return, which fixes the test that no longer has good data.

Ideally these mocks are both correct and useful to ensure we will have good test net performance, but they are misleading now!

📋 Additional context

@jackpooleyml Can explain the purpose of these tests, and if they will also impact the rust tests!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions