Compilation failed during instrumentation of solidity-coverage

Getting compilation failed error, while running solidity-coverage. Truffle compile is working fine Here is my truffle config networks: { coverage: { host: ‘127.0.0.1’, network_id: 5777, port: 8555, gas: 0xfffffffffff, gasPrice: 0x01 }, }, compilers: { solc: { version: ‘0.5.7’, settings: { optimizer: { enabled: true, runs: 200 } } } }, plugins: [“solidity-coverage”] }; Command…

How to call function via interface from another contract when calldata type is used

I have declared the following interface: interface Test { function airDropMultiple( address[] calldata recipients, uint[] calldata tokenAmount ) external returns (bool); } I am attempting to call it like this: Test(ContractAddress).airDropMultiple( [testWalletAddress[4], testWalletAddress[3]], [10**18, 10**19] ); I am receiving the following compiler error: Invalid implicit conversion from address[2] memory to address[] memory requested. How I…