We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
❯ forge script script/FallbackSolution.s.sol -vvvv [⠃] Compiling... No files changed, compilation skipped Traces: [315867] → new FallbackSolution@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519 └─ ← 1467 bytes of code
[8306] FallbackSolution::run() ├─ [0] VM::envUint("PRIVATE_KEY") [staticcall] │ └─ ← ├─ [0] VM::startBroadcast() │ └─ ← () └─ ← EvmError: Revert
Error: script failed:
something wrong ,i have been set up the private key correcttly
The text was updated successfully, but these errors were encountered:
same issues encountered when using sepolia
Sorry, something went wrong.
fixed , try adding --rpc-url when running forge script command
--rpc-url
forge script
HI mate, I am facing the same issue... how did you go about it?
You need to add in this command and the Sepolia rpc url. See example below:
forge script script/level0_solution.s.sol -vvvv --rpc-url https://rpc.sepolia.org
No branches or pull requests
❯ forge script script/FallbackSolution.s.sol -vvvv
[⠃] Compiling...
No files changed, compilation skipped
Traces:
[315867] → new FallbackSolution@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
└─ ← 1467 bytes of code
[8306] FallbackSolution::run()
├─ [0] VM::envUint("PRIVATE_KEY") [staticcall]
│ └─ ←
├─ [0] VM::startBroadcast()
│ └─ ← ()
└─ ← EvmError: Revert
Error:
script failed:
something wrong ,i have been set up the private key correcttly
The text was updated successfully, but these errors were encountered: