-
### Version of Hardhat
2.22.10
### What happened?
1. in the ./contracts dir, I've saved the .sol
2. in the ./ignition/modules, I've saved x.**js** and ran it with `npx hardhat ignition deplo…
-
**Github username:** --
**Twitter username:** --
**Submission hash (on-chain):** 0x65d14e46226e3fe211f9a932d91b9c193e86fc09db47c78b5dfb243ca9382529
**Severity:** low
**Description:**
## Description
…
-
Right now we have to construct the inputs for verifying in Solidity by hand. It would be better if we can just marshal `witness.Witness` into Solidity inputs with performing all the conversions and in…
-
Pick 5 real smart contracts with less than 4096 tokens and reverse an "average" prompt out of them with a prompt similar to the used to generate the dataset:
> Create a prompt for an average user wit…
-
Hi, thanks for the great lib!
I have encountered a bug where the same type is used for arguments which are both a different struct, for example, in the generated output:
```javascript
calcDue( …
-
A _very_ common mistake is doing this:
```
solidity: "0.8.4",
settings: { ... }
```
instead of
```
solidity: {
version: "0.8.4",
settings: { ... }
}
```
I think it's worth dete…
-
Ever since `0.8.11` a type-checking encoder exists in Solidity:
https://docs.soliditylang.org/en/v0.8.11/units-and-global-variables.html#abi-encoding-and-decoding-functions
We should be using it i…
-
**Description**
Solidity 0.6 introduces the `abstract` keyword for abstract contracts: https://solidity.readthedocs.io/en/v0.6.0/contracts.html#abstract-contracts
Works:
```Solidity
// Test.sol
…
-
1. Repurpose the functions that track operations in the record keeping state to now call into an external contract
2. Create record keeping contract type, new solidity file
3. Initialization of reco…
-
## Page
https://docs.soliditylang.org/en/latest/abi-spec.html#examples
## Abstract
Encoding process of bytes and string is confusing(wrong). In the first example function `bar(bytes3[2] memory)`,…