waku-rlnv2-contract/envCheck.sh
Aaryamann Challani 48542f3f04
chore: integrate proxy (#8)
* forge install: openzeppelin-foundry-upgrades

v0.3.1

* forge install: openzeppelin-contracts-upgradeable

v5.0.2

* test: integrate transparent proxy

* test: patch

* fix 

* fix: adorno

* fix: add cardona deployment

* fix: broken test for upgrade

* fix: cleanup

* fix: cleanup

* fix: lint

* fix: remove upgrade from Deploy.s.sol

* fix: envCheck
2024-05-30 19:21:55 +05:30

23 lines
518 B
Bash
Executable File

# This script is used to assert if require env vars are present for deployment
# RPC_URL: RPC URL for the network
# ACCOUNT: Accessed with `cast wallet` command
# ETH_FROM: Address to send transactions from
# we need ETH_FROM because of the following bug:
# https://github.com/foundry-rs/foundry/issues/7255
if [ -z "$RPC_URL" ]; then
echo "RPC_URL is required"
exit 1
fi
if [ -z "$ACCOUNT" ]; then
echo "ACCOUNT is required"
exit 1
fi
if [ -z "$ETH_FROM" ]; then
echo "ETH_FROM is required"
exit 1
fi