Skip to content

Solidity test documentation #7164

@michalbrabec

Description

@michalbrabec

Version of Hardhat

3.0.0-next.28

What happened?

Property solidityTest is not supported in HardhatUserConfig it is marked as unsupported value and it is ignored by the test runner (solidityTest/sender, solidityTest/ffi)
- It is not clear from the docs where the property can be used and how (can be a SW bug or unclear doc)

Minimal reproduction steps

Run npx hardhat test with hardhat.config.ts:

import type { HardhatUserConfig } from "hardhat/config";
import hardhatToolboxViemPlugin from "@nomicfoundation/hardhat-toolbox-viem";
import { configVariable } from "hardhat/config";

const config: HardhatUserConfig = {
  solidityTest: {
    sender: "0x1234567890123456789012345678901234567890"
  },
}

Search terms

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions