Open thelostone-mc opened 7 months ago
Have you edited the deploy script from main
at all? The address its trying to deploy to isnt the canonical deploy address that I would expect.
I get the same error. I haven't made any modifications at all. Simply forge install and then forge script --broadcast etc. like below:
$ forge script --broadcast --chain-id 325000 --rpc-url https://rpc-campnetwork.xyz --private-key <PK> --verify script/DeployPermit2.s.sol:DeployPermit2
[⠢] Compiling...
No files changed, compilation skipped
Traces:
[2117050] → new DeployPermit2@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
└─ ← 10353 bytes of code
[144] DeployPermit2::setUp()
└─ ← ()
[9079256848778920913] DeployPermit2::run()
├─ [0] VM::startBroadcast()
│ └─ ← ()
├─ [0] → new Permit2@0x000000000022D473030F116dDEE9F6B43aC78BA3
│ └─ ← 9152 bytes of code
└─ ← "EvmError: Revert"
Error:
Script failed.
Permit2 should be already in that chain.
When i run
It errors out with
I've also tried it with a sepolia RPC but end up with the same error. Would love some guidance on how to get past this