# "Almost compatibility" is unsafe

**URL:** <https://forum.polkadot.network/t/almost-compatibility-is-unsafe/12990>\
**Category:** Tech Talk\
**Created:** [May 19, 2025, 3:34pm UTC](https://forum.polkadot.network/t/almost-compatibility-is-unsafe/12990 "2025-05-19T15:34:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![burdges](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.polkadot.network/burdges/32/172_2.png) [@burdges](https://forum.polkadot.network/u/burdges)\
**Post date:** [May 20, 2025, 11:25am UTC](https://forum.polkadot.network/t/almost-compatibility-is-unsafe/12990/8 "2025-05-20T11:25:35Z")

</div>

Afaik solidity and EVM could never be “safe” per se. We have two primary concerns here:

- Can someone port Solidity code to run on Polkadot?

There is a long history of porting C code between architectures, so the concerns here look more like the blockchain specific tooling. As an example, if the user does not supply enough gas then does the RPC node catch this and report it in a similar enough way to how the EVM ecosystem handles this? Afaik yes

- W3F and treasury must give grants for Solidity development work. Are those teams going to get pissed off at Polkadot and switch to ETH or similar?

Again, the issue looks like the blockchain specific tooloing. As another example, there exists EVM in the browser tooling, probably not 100% EVM compatible either, but does revive match this browser tooling? If we hit difficulties matching the browser tooling with revive, then should we pay someone to improve revive compatiblity for the browser tooling?

Also we really want people to add their own rust for improved functionality over native EVM. In theory, grants could prioritize people doing some rust, in part [making this list longer](https://papermoonio.github.io/polkadot-mkdocs/develop/smart-contracts/precompiles/#standard-precompiles-in-polkadot-hub), but also just linking rust into their combiled solidity.

As a specific example, you cannot efficently implement a drand timelock bridge in solidity using EVM precompiles, but you can do one in polkadot, and it’d be efficent if we deploy [the ECC hostcalls](https://hackmd.io/@rgbPIkIdTwSICPuAq67Jbw/rkipBanIn) ([onegoing goals](https://hackmd.io/9s9pjtEFQcOWuCSFCUKm1A?view)). See

> [@Ideal Labs | Updates & Next Steps](https://forum.polkadot.network/t/ideal-labs-updates-next-steps/11046):
>
> Hey everyone, I’m Tony, a co-founder of Ideal Labs. Our team was formed out of the PBA2 cohort and we have spent the past year and a half collaborating to build and refine the Ideal Network, where we aim to bring secure, verifiable randomness game_die to the Polkadot ecosystem. As we approach the end of the year, we want to share an update with the community on the results we’ve accomplished, our plans for the future, and how the community is involved in them. Recently, we completed the fina…

Anyways..

We should catalog and prioritize the specific incompatiblities that look problematic, not just in revive but in all the tooling.

We could also quietly identify incompatiblities that exist between other parties EVMs and provide compiler flags in revive for improved compatiblity with those, which then maybe presents revive as a possibly better option for wider “EVM compatiblity” than EVM itself.

---

_[View the full topic](https://forum.polkadot.network/t/almost-compatibility-is-unsafe/12990)._
