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

feat: Remove custom in impl trait #314

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

kulikthebird
Copy link
Contributor

There is no need for users to add #[sv::custom] for impl Interface for Contract {...}. It was used only by multitest module and it was fixed by this PR.

@kulikthebird kulikthebird changed the base branch from main to feat/error_on_missing_module February 28, 2024 12:09
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.01%. Comparing base (dbfa509) to head (b17503c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #314      +/-   ##
==========================================
- Coverage   86.08%   86.01%   -0.08%     
==========================================
  Files          39       39              
  Lines        2904     2888      -16     
==========================================
- Hits         2500     2484      -16     
  Misses        404      404              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kulikthebird kulikthebird added this to the 1.0.0 milestone Feb 28, 2024
examples/contracts/custom/Cargo.toml Outdated Show resolved Hide resolved
sylvia-derive/src/multitest.rs Outdated Show resolved Hide resolved
sylvia-derive/src/multitest.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@jawoznia jawoznia left a comment

Choose a reason for hiding this comment

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

Fix one comment and otherwise LGTM

sylvia-derive/src/multitest.rs Outdated Show resolved Hide resolved
@kulikthebird kulikthebird force-pushed the feat/error_on_missing_module branch 3 times, most recently from 5f354bc to 6a78bc8 Compare March 4, 2024 22:16
@kulikthebird kulikthebird force-pushed the feat/remove_custom_in_impl_trait branch from f4328b7 to bc1aace Compare March 4, 2024 22:27
@kulikthebird kulikthebird force-pushed the feat/remove_custom_in_impl_trait branch from bc1aace to e658828 Compare March 4, 2024 22:31
Base automatically changed from feat/error_on_missing_module to main March 5, 2024 12:20
@kulikthebird kulikthebird force-pushed the feat/remove_custom_in_impl_trait branch from e658828 to b17503c Compare March 5, 2024 12:27
@kulikthebird kulikthebird enabled auto-merge (squash) March 5, 2024 12:28
@kulikthebird kulikthebird merged commit 5a14db9 into main Mar 5, 2024
11 checks passed
@kulikthebird kulikthebird deleted the feat/remove_custom_in_impl_trait branch March 5, 2024 12:39
@github-actions github-actions bot mentioned this pull request Mar 18, 2024
@github-actions github-actions bot mentioned this pull request Mar 27, 2024
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.

None yet

2 participants