-
### Overview
right now to compile only vyper contracts, i do this:
```sh
ape compile contracts/*.vy
```
but that approach is a bit limited.
### Specification
Have it automatically wor…
-
- 2.x文档内关于使用Java SDK压力测试部分,在按照文档内容下载Java SDK Demo后,第四步执行示例压力测试程序,需要手动新建solidity目录,将/root/fisco/java-sdk-demo/src/main/java/org/fisco/bcos/sdk/demo/contract/sol下的合约拷贝到/root/fisco/java-sdk-demo/dist/con…
-
# Problem
## Using `require` to validate inputs
In our (bridge) Solidity contracts, we are using the pattern `if (!cond) revert Error` to validate inputs. This is not the best practice and there …
-
**Github username:** @0xmahdirostami
**Twitter username:** 0xmahdirostami
**Submission hash (on-chain):** 0x043ecfb1a268e58df701e8b70701f98617a303ba8adf0501e03b0b0510d645bb
**Severity:** low
**Descr…
-
Hi,
I noticed an insecure practice in the following example (_GameItem.sol_), from the documentation: https://docs.openzeppelin.com/contracts/4.x/erc721#constructing_an_erc721_token_contract
`…
-
## Description
When the same path is specified under `urls` of multiple contracts in Standard JSON input, we get an ICE in the import callback.
## Environment
- Compiler version: 0.8.27
##…
-
Since 0.8.4 Solidity supports [custom errors](https://blog.soliditylang.org/2021/04/21/custom-errors/). We might consider using them. First need to check how well it is supported in our tooling etc th…
-
As of today, all the solidity typing using strict versioning, like so:
```javascript
pragma solidity 0.8.20
```
While this is perfect for deploying contracts at a specific pragma, what needs t…
-
## Problem
When inferring ABIs from bytecode, WhatsABI currently omits names for tuple components that are likely derived from Solidity structs. While the ABI specification technically allows unnam…
-
Decoding of V1 vs V2 system contract signatures is a bit messy and spread over multiple files, making it hard to study and maintain.
Move things around so that they're more clearly understood. P…