NethermindEth / warp

Warp - Bringing Solidity to Starknet at warp speed. Warp is a Solidity to Cairo Compiler, this allows teams to write/migrate Solidity to Cairo for easy onboarding into the StarkNet ecosystem.
https://nethermind.io/warp/
Apache License 2.0
754 stars 70 forks source link

Hashbuiltin is always imported #976

Closed piwonskp closed 1 year ago

piwonskp commented 1 year ago

Even if unused HashBuiltin import is present in the code Example:

pragma solidity ^0.8.14;

contract C {
  function f() public {
    uint8 u = 1;
  }
}