-
It would be very useful to have an option to stop emitting events in mock contracts.
### Use case
Contract, that calls another contracts, emits an event. I want to test proper emit behaviour (tha…
-
**Describe the bug**
It seems that
```typescript
const counterFactory = await ethers.getContractFactory('Counter');
const counter = await counterFactory.deploy(1);
// result in different deplo…
-
Below are two ways you can reproduce the bug
```typescript
// Helper class used below
class SnapshotManager {
snapshots: { [id: string]: string } = {};
async take(): Promise {
const …
-
https://ethereum.org/en/developers/docs/smart-contracts/testing/
lots of tools at https://github.com/bkrem/awesome-solidity
-
-
Thelast NPM release is from 4 months ago. Maybe it's time to cut a new release? I am particularly interested in new types in `types.ts` as in the current NPM version mock is typed as `any`.
Btw. I …
-
```
Possible extra node near connection
Nodes around the connection may need to be moved or deleted.
```
when sending edits to the server, it issues many such warnings. They look pretty meaningles…
-
Hello team,
First of all I highly appreciate the work that you are doing for the open source community by providing such robust and highly designed models and I am very thankful for this.
Coming t…
-
Hi,
In my team, we use smock for some core projects but, lately, we have been wondering whether the project is still supported or not.
The lack of activity is what triggered the question so could yo…
-
I am updating from Hardhat 2.16.1 to 2.22.3 to gain Cancun support. My contracts compile and generate types, and I can run simple unit tests. However, when I try to run a test that deploys a complic…