Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy onto new network #249

Open
thelostone-mc opened this issue Apr 10, 2024 · 1 comment
Open

deploy onto new network #249

thelostone-mc opened this issue Apr 10, 2024 · 1 comment

Comments

@thelostone-mc
Copy link

When i run

forge script --broadcast --rpc-url https://evm-rpc-arctic-1.sei-apis.com/ --private-key <PRIVATE_KEY> --verify script/DeployPermit2.s.sol:DeployPermit2

It errors out with

[⠊] Compiling...
[⠒] Compiling 1 files with 0.8.17Compiler run successful!
[⠢] Compiling 1 files with 0.8.17
[⠆] Solc 0.8.17 finished in 7.42s
Traces:
  [2120457] → new DeployPermit2@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
    └─ ← 10421 bytes of code

  [147] DeployPermit2::setUp()
    └─ ← ()

  [9079256848778899849] DeployPermit2::run()
    ├─ [0] VM::startBroadcast()
    │   └─ ← ()
    ├─ [0] → new <unknown>@0x8a8dDbE4c64CF1857360DC25883a581933D5ca4b
    │   └─ ← 9345 bytes of code
    └─ ← EvmError: Revert

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

@hensha256
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants