Chan-Ho Suh

Results 31 comments of Chan-Ho Suh

The gist of my explanation is that you should just do the naive thing and forget you are using `SafeERC20`. It's irrelevant for the purpose of mocking what library you...

> As a funny aside, this dispatching does wreak havoc if you use `revertsWithReason` instead of `returns`, since the wrapper will intercept the revert reason and include its own "SafeERC20:...

@JChiaramonte7 you're really asking a different question than this issue is about, but I'll answer it, because it's an interesting issue that has also bit me in the past :D...

Any workaround for this? Changing the settings and restarting isn't fixing it for me. :(

@juanfranblanco here are my extension-specific settings... I put them both into user and workspace settings. ``` "solidity.linter": "solhint", "solidity.packageDefaultDependenciesContractsDirectory": "contracts", "solidity.packageDefaultDependenciesDirectory": "node_modules", "solidity.compileUsingRemoteVersion": "v0.6.6+commit.6c089d02", "solidity.enabledSolium": false ``` Let me know...

imports are: ``` import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; ``` But... your advice of removing "contracts" worked! :). So strange.

Actually the numerator isn't correct either. The whole thing should be: `D[j+1] = (A * n**n * sum(x_i) + n * D[j]**(n+1) / (n**n prod(x_i))) / (A * n**n +...

> Although it's not supposed to be used...¯\_(ツ)_/¯ You need to add it to `__all__`.

How did you try to access it? If you `curl` like in your example, it won't work since `curl` requires the `--location` option to follow redirects. The redirect does seem...

Vyper's default currently is "paris". I don't believe brownie or ganache supports that. I found this works fine in my case (set in brownie config): ``` compiler: evm_version: berlin ```