Closed curi0n-s closed 1 year ago
Hmm... odd. Thanks for reporting.
Can you run this script and see what it gives you?
bash /home/curion/crypto_dev/projectname/projectname-arb/lib/foundry-devops/src/get_recent_deployment.sh ConfigManager 421613 /home/curion/crypto_dev/projectname/projectname-arb//broadcast
You can see in the logs that's the script it's running to find your recent deploys. If you look in the folder /home/curion/crypto_dev/projectname/projectname-arb//broadcast
you should see it saved under latest-run
or something. The script looks for the CREATE
opcode.
Ahh ok, I ran this, this gave me a "jq: command not found" error, so I ran (ubuntu) sudo apt-get install jq
and that fixed things. I can now grab the latest address. Thanks for your help / maybe that will come in handy for someone else!
Hi, I'd like to sort out a "no contract deployed" error while deploying to the Arbitrum testnet. Here were the steps I took:
src/ConfigManager.sol
with scriptConfigManager.s.sol
(below)broadcast/ConfigManager.s.sol/421613/run-latest.json
existsGetConfigManager.s.sol
which uses foundry-devops to retrieve the latest deploymentThanks in advance for any advice!
-curion
ConfigManager.s.sol:
GetConfigManager.s.sol:
Traces: