浏览代码

docs: document ethers version issue with waffle

Paul Razvan Berg 3 年之前
父节点
当前提交
ff050aa4c9
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      README.md

+ 8 - 0
README.md

@@ -101,3 +101,11 @@ $ yarn deploy --greeting "Bonjour, le monde!"
 ## Syntax Highlighting
 ## Syntax Highlighting
 
 
 If you use VSCode, you can enjoy syntax highlighting for your Solidity code via the [hardhat-vscode](https://github.com/NomicFoundation/hardhat-vscode) extension.
 If you use VSCode, you can enjoy syntax highlighting for your Solidity code via the [hardhat-vscode](https://github.com/NomicFoundation/hardhat-vscode) extension.
+
+## Caveats
+
+### Ethers and Waffle
+
+If you can't get the [Waffle matchers](https://ethereum-waffle.readthedocs.io/en/latest/matchers.html) to work, try to
+make your `ethers` package version match the version used by the `@ethereum-waffle/chai` package. Seem
+[#111](https://github.com/paulrberg/solidity-template/issues/111) for more details.