Daniel Liu

Results 16 comments of Daniel Liu

OpenSea is using V2.2 according to https://github.com/ProjectWyvern/wyvern-ethereum#deployed-contracts

The function toUint24 is needed sometimes.

I encounter this error also when I use solidity 0.8.x : ```text TypeError: Unary operator - cannot be applied to type uint256 --> @uniswap/v3-core/contracts/libraries/FullMath.sol:64:24: | 64 | uint256 twos =...

Try to set envirment: ```shell export ETHEREUM_ANCESTOR_COUNT=1 export ETHEREUM_REORG_THRESHOLD=1 ```

@leoyvens Yes, `ETHEREUM_ANCESTOR_COUNT` has been removed. Thank you very much.

Only EIP-1559 provide the field `effectiveGasPrice`. This chain does not support EIP-1559 now. So I use the argument `--legacy` to disable EIP-1559. The chain info as below: - chain id:...

Update: I tested some versions: ```text Fail: Nightly (2024-04-10) https://github.com/foundry-rs/foundry/tree/nightly-460319558e455611be1de64be8364c65c6896d15 Pass: Nightly (2024-04-02) https://github.com/foundry-rs/foundry/tree/nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9 Fail: Nightly (2024-03-02) https://github.com/foundry-rs/foundry/tree/nightly-de33b6af53005037b463318d2628b5cfcaf39916 Pass: Nightly (2024-02-03) https://github.com/foundry-rs/foundry/tree/nightly-2cb875799419c907cc3709e586ece2559e6b340e ``` The version `Nightly (2024-04-02)` has no such...

Can we use solhint in hardhat-vscode now?

I also encounter this error: ```text Extension 'Prettier - Code formatter' is configured as formatter but it cannot format 'solidity'-files ``` ![1707385241469](https://github.com/prettier-solidity/prettier-plugin-solidity/assets/7695325/677de916-7296-4e54-b9e2-9be2d186a163) My vscode version: ```text Version: 1.86.0 Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937...