Skip to content

Conversation

cmichi
Copy link
Contributor

@cmichi cmichi commented Sep 9, 2025

@athei @pgherveou Are you up for putting revm behind a feature flag? If yes, I'd take care of the failing CI.

Since you added the revm dep, 76 more child deps are pulled in for pallet-revive. We are noticing this in ink! with increased build times for anything related to our testing frameworks.

Besides the testing frameworks, the core ink! stuff still has some deps on pallet-revive. We are planning to change that in the future, but the build times for contracts have also increased significantly for the moment.

@cmichi cmichi force-pushed the cmichi-add-evm-feature-flag branch from c29c786 to 5e90d73 Compare September 9, 2025 16:06
@athei
Copy link
Member

athei commented Sep 10, 2025

Sorry but no. EVM is not an optional feature. It is just guarded behind a config knob for a very short time until it stabilizes.

Besides the testing frameworks, the core ink! stuff still has some deps on pallet-revive. We are planning to change that in the future, but the build times for contracts have also increased significantly for the moment.

So in the meantime you rather increase the complexity of somebody else codebase? Feature flags are really really really annoying.

@athei athei closed this Sep 10, 2025
@cmichi
Copy link
Contributor Author

cmichi commented Sep 10, 2025

Besides the testing frameworks, the core ink! stuff still has some deps on pallet-revive. We are planning to change that in the future, but the build times for contracts have also increased significantly for the moment.

So in the meantime you rather increase the complexity of somebody else codebase? Feature flags are really really really annoying.

As I wrote, the main issue motivating this PR is with our testing frameworks. Specifically, the ink! E2E testing environment which uses a sandboxed pallet-revive is affected by this overhead. It's not possible for us to remove the pallet-revive dependency for that. This testing environment is used by contract authors, hence there's a direct impact on the devx of users.

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.

2 participants