Skip to content

fix(dpp): wasm-drive-verify build failing due to feature flag - #2908

Merged
QuantumExplorer merged 1 commit into
feat/platformAddressesfrom
fix/wasm-drive-verify-build
Dec 18, 2025
Merged

QuantumExplorer merged 1 commit into
feat/platformAddressesfrom
fix/wasm-drive-verify-build

Conversation

@pauldelucia

Copy link
Copy Markdown
Member

Issue being fixed or feature implemented

UnsupportedFeatureError import was behind #[cfg(feature = "state-transition-validation")] but the impl block using it wasn't. Broke wasm-drive-verify build since it doesn't enable that feature.

Removed the flag from the import rather than adding it to the impl block because:

  • StateTransitionStructureValidation trait is unconditional
  • all other impls of this trait are unconditional
  • UnsupportedFeatureError itself has no feature flags
  • before the recent change, this impl was also unconditional (just returned default)

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@coderabbitai

coderabbitai Bot commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/wasm-drive-verify-build

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@QuantumExplorer
QuantumExplorer merged commit 69a4c2c into feat/platformAddresses Dec 18, 2025
@QuantumExplorer
QuantumExplorer deleted the fix/wasm-drive-verify-build branch December 18, 2025 04:59
@thephez thephez added this to the v3.0 milestone Dec 22, 2025
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