fix: DeployLocal.sol feeDest 0xf6a3... may have code on Base Sepolia fork (#760)
This commit is contained in:
parent
99d6da7032
commit
89580171b7
2 changed files with 8 additions and 2 deletions
|
|
@ -154,8 +154,10 @@ main() {
|
|||
# as a contract and locks permanently. Strip code so they behave as EOAs.
|
||||
bootstrap_log "Clearing code from deployer + feeDest (fork safety)"
|
||||
cast rpc --rpc-url "$ANVIL_RPC" anvil_setCode "$DEPLOYER_ADDR" "0x" 2>/dev/null || true
|
||||
# feeDest = address(uint160(uint256(keccak256("harb.local.feeDest"))))
|
||||
cast rpc --rpc-url "$ANVIL_RPC" anvil_setCode "0x8A9145E1Ea4C4d7FB08cF1011c8ac1F0e10F9383" "0x" 2>/dev/null || true
|
||||
# 0xf6a3... carries 171 bytes of code on Base mainnet and may also carry code on Base
|
||||
# Sepolia. Clear it before setFeeDestination is called so LiquidityManager does not
|
||||
# permanently lock feeDestinationLocked (#760).
|
||||
cast rpc --rpc-url "$ANVIL_RPC" anvil_setCode "$FEE_DEST" "0x" 2>/dev/null || true
|
||||
|
||||
derive_txnbot_wallet
|
||||
run_forge_script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue