mouseless-eth / rusty-sando

Implementation of a competitive v2/v3 multi-meat MEV sandwich bot written using Rust and Huff.
MIT License
767 stars 256 forks source link

Cannot deploy contract #20

Closed 0xsepu closed 1 year ago

0xsepu commented 1 year ago

Trying to deploy the huff contract it and it says:

    │   ├─ [0] VM::prank(HuffConfig: [0xC7f2Cf4845C6db0e1a1e91ED41Bcd0FcC1b0E141]) 
    │   │   └─ ← ()
    │   ├─ [0] VM::ffi([rm, src/__TEMP__exzchhtyiyilqpjvvhjrbtzfffmlwbyvsando.huff]) 
    │   │   └─ ← 0x
    │   ├─ [0] VM::broadcast() 
    │   │   └─ ← "You have an active prank. Broadcasting and pranks are not compatible. Disable one or the other"
    │   └─ ← "You have an active prank. Broadcasting and pranks are not compatible. Disable one or the other"
    └─ ← "You have an active prank. Broadcasting and pranks are not compatible. Disable one or the other"

Error: 
You have an active prank. Broadcasting and pranks are not compatible. Disable one or the other

Command used: forge script ./script/DeploySandwich.s.sol --rpc-url <alchemy_endpoint> --broadcast --private-key <privkey>

Any idea why ?

DaveBennet commented 1 year ago

https://github.com/mouseless-eth/rusty-sando/pull/11/commits/3fb7081a564136b5a2d9ee714e454f5f90cd3d50