Skip to content

Conversation

@blishko
Copy link
Collaborator

@blishko blishko commented Oct 27, 2025

We introduce a new helper type, Blockchain contract, that is used only locally. It is a simple projection of a concrete contract. The benefit is that it can be trivially parsed from JSON and we can avoid akward definition of FromJSON for Contract.

Description

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

We introduce a new helper type, Blockchain contract, that is used only
locally. It is a simple projection of a concrete contract.
The benefit is that it can be trivially parsed from JSON and we can
avoid akward definition of FromJSON for Contract.
@blishko blishko requested a review from msooseth October 27, 2025 09:21
Copy link
Collaborator

@msooseth msooseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@blishko blishko merged commit 7e978cf into main Oct 27, 2025
7 checks passed
@blishko blishko deleted the refactor-bc-tests branch October 27, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants