mirror of
https://github.com/waku-org/waku-rlnv2-contract.git
synced 2025-01-25 23:19:09 +00:00
48542f3f04
* 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
23 lines
518 B
Bash
Executable File
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
|