Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
1
answer
26
views
Permit2 Invalid Nonce when running on Hardhat
I'm writing tests for an application that is meant to perform swaps. When running with hardhat as rpc forked with the latest block of mainnet or a pinned block I always encounter this error:
response …
0
votes
Accepted
Permit2 Invalid Nonce when running on Hardhat
Apparently setting a fixed chain id solves it.
Using the following config made the trick:
module.exports = {
solidity: "0.8.17",
networks: {
hardhat: {
forking: {
url: "RPC",
…