Skip to content

[Compilers]<Disabling errors/warning in zksolc> #740

Answered by uF4No
Szczepoo13 asked this question in Compilers
Discussion options

You must be logged in to vote

In Hardhat, you can add this in the zksolc settings in the hardhat.config.ts file as detailed in the documentation

import "@matterlabs/hardhat-zksync";

const config: HardhatUserConfig = {

zksolc:{
    settings:{
      suppressedErrors:["sendtransfer"]
    }
  },

Let me check what's the corresponding setting in foundry

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@uF4No
Comment options

@Szczepoo13
Comment options

Answer selected by uF4No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Question for compiling
2 participants