Skip to content

Commit

Permalink
Merge pull request NomicFoundation#2702 from NomicFoundation/fix-fork…
Browse files Browse the repository at this point in the history
…-tests-high-gas-prices

Fix fork tests when gas prices are high
  • Loading branch information
fvictorio committed May 12, 2022
2 parents 885cb16 + 2e8b74b commit f9549d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ describe("Debug module", function () {
const impersonatedAddress =
"0xC014BA5EC014ba5ec014Ba5EC014ba5Ec014bA5E";

await this.provider.send("hardhat_setNextBlockBaseFeePerGas", [
"0x0",
]);

await this.provider.send("eth_sendTransaction", [
{
from: DEFAULT_ACCOUNTS_ADDRESSES[0],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ describe("Hardhat module", function () {
const impersonatedAddress =
"0xC014BA5EC014ba5ec014Ba5EC014ba5Ec014bA5E";

await this.provider.send("hardhat_setNextBlockBaseFeePerGas", [
"0x0",
]);

await this.provider.send("eth_sendTransaction", [
{
from: DEFAULT_ACCOUNTS_ADDRESSES[0],
Expand Down

0 comments on commit f9549d2

Please sign in to comment.