Skip to content

Conversation

0xRVE
Copy link
Contributor

@0xRVE 0xRVE commented Oct 10, 2025

Enables the PVM backend part of this test call_invalid_opcode in polkadot-sdk/substrate/frame/revive/src/tests/sol/contract.rs

@0xRVE 0xRVE requested review from athei and pgherveou October 10, 2025 07:46
@0xRVE
Copy link
Contributor Author

0xRVE commented Oct 10, 2025

/cmd prdoc --audience runtime_dev --bump patch

@0xRVE 0xRVE added the T7-smart_contracts This PR/Issue is related to smart contracts. label Oct 10, 2025
@athei
Copy link
Member

athei commented Oct 10, 2025

As far as I can see it the behavior on resolc is wrong. So why would we write a test that enforces the wrong behavior? What we should do is to change the test to enforce the correct behavior and only enable it on complying backend.

So we should actually do the inverse here. Enabling it on solc. Or am I wrong?

@xermicus
Copy link
Member

So we should actually do the inverse here. Enabling it on solc. Or am I wrong?

Agreed.

@0xRVE 0xRVE changed the title enabled half of test call_invalid_opcode [WIP] enabled half of test call_invalid_opcode Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T7-smart_contracts This PR/Issue is related to smart contracts.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants