-
Hello,
I have a venom test which uses Smocker as mock server.
So one of the Venom test is:
```yml
name: Test 1
version: "2"
testcases:
- name: Init
steps:
- type: http
…
-
Hey, is there a way to edit a mock after creating it within the UI?
Or even to delete it (without resetting the whole session) and create a new one?
-
Is it possible to mock with an ABI instead of a contract name? As far as I understand, the integration of smock into hardhat allows it to access all the mocks that hardhat ethers is aware of. Is there…
-
**Describe the bug**
When setting the return value of the function on a FakeContract the call is reverted.
**Reproduction steps**
```sol
mapping(uint256 => SomeType) public typeMap
st…
-
I've made this contract as simple as possible. The same issue occurs on the mainnet and version 0.5.9
Dependencies:
```
"dependencies": {
"@openzeppelin/contracts": "^3.4.0"
},
"dev…
-
**Describe the bug**
When getting a faked struct from inside a real solidity contract this error is returned from faked struct.
`Transaction reverted: function returned an unexpected amount of data`…
-
I'm writing a test for a contract with hardhat that is forking mainnet. I'm deploying that contract and then creating a fake of it with smock.
```typescript
const signers = await ethers.getSigners…
-
**Is your feature request related to a problem? Please describe.**
I often would like to test contracts that depend on external/3rd party contracts. I'd like to only import the interfaces for those c…
-
There are sometimes addresses that can be hardcoded on a contract, and in unit testing those addresses are empty.
Ex.:
```js
address public constant override WETH = 0xC02aaA39b223FE8D0A0e5C4F27eA…
-
**Is your feature request related to a problem? Please describe.**
Smock v1 has a feature where an impersonated wallet gets attached to every fake/mock, which allows you to send transactions *from* a…