Skip to content

fix(identity): remove no-op cross_contract_helper - #1072

Open
Moonwalker-rgb wants to merge 1 commit into
MettaChain:mainfrom
Moonwalker-rgb:fix/1025-remove-noop-cross-contract-helper
Open

fix(identity): remove no-op cross_contract_helper#1072
Moonwalker-rgb wants to merge 1 commit into
MettaChain:mainfrom
Moonwalker-rgb:fix/1025-remove-noop-cross-contract-helper

Conversation

@Moonwalker-rgb

@Moonwalker-rgb Moonwalker-rgb commented Aug 27, 2026

Copy link
Copy Markdown

Closes #1025

Summary

contracts/identity/src/cross_contract_helper.rs was a pass-through: call_contract just invoked the closure it was given, with no actual cross-contract call, gas handling, or error translation. Nothing in contracts/identity/ used it, so it was dead and misleading.

Changes

  • Delete contracts/identity/src/cross_contract_helper.rs.
  • Remove the pub mod cross_contract_helper include from contracts/identity/src/dashboard.rs.

Verification

  • cargo test -p propchain-identity passes (25 tests).

call_contract merely invoked the closure it was given, performing no
actual cross-contract call, gas handling, or error translation, and
nothing in the crate used it. Remove the dead helper and the module
include in dashboard.rs. Fixes MettaChain#1025.
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@Moonwalker-rgb Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Identity cross_contract_helper is a no-op wrapper: call_contract just invokes the closure it is given

1 participant