Skip to content

Commit

Permalink
try with shorter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Jan 10, 2024
1 parent dd17d3a commit eea82cf
Showing 1 changed file with 39 additions and 38 deletions.
77 changes: 39 additions & 38 deletions .github/workflows/live-testnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,46 +138,47 @@ jobs:
cat << EOF > network_config.toml
[RpcHttpUrls]
sepolia = [$(convert_to_toml_array "$SEPOLIA_HTTP_URLS")]
bsc_testnet = [$(convert_to_toml_array "$BSC_TESTNET_HTTP_URLS")]
optimism_sepolia = [$(convert_to_toml_array "$OPTIMISM_SEPOLIA_HTTP_URLS")]
arbitrum_sepolia = [$(convert_to_toml_array "$ARBITRUM_SEPOLIA_HTTP_URLS")]
base_goerli = [$(convert_to_toml_array "$BASE_GOERLI_HTTP_URLS")]
base_sepolia = [$(convert_to_toml_array "$BASE_SEPOLIA_HTTP_URLS")]
polygon_mumbai = [$(convert_to_toml_array "$POLYGON_MUMBAI_HTTP_URLS")]
avalanche_fuji = [$(convert_to_toml_array "$AVALANCHE_FUJI_HTTP_URLS")]
fantom_testnet = [$(convert_to_toml_array "$FANTOM_TESTNET_HTTP_URLS")]
celo_alfajores = [$(convert_to_toml_array "$CELO_ALFAJORES_HTTP_URLS")]
scroll_sepolia = [$(convert_to_toml_array "$SCROLL_SEPOLIA_HTTP_URLS")]
linea_goerli = [$(convert_to_toml_array "$LINEA_GOERLI_HTTP_URLS")]
mietek=stefan
# sepolia = [$(convert_to_toml_array "$SEPOLIA_HTTP_URLS")]
# bsc_testnet = [$(convert_to_toml_array "$BSC_TESTNET_HTTP_URLS")]
# optimism_sepolia = [$(convert_to_toml_array "$OPTIMISM_SEPOLIA_HTTP_URLS")]
# arbitrum_sepolia = [$(convert_to_toml_array "$ARBITRUM_SEPOLIA_HTTP_URLS")]
# base_goerli = [$(convert_to_toml_array "$BASE_GOERLI_HTTP_URLS")]
# base_sepolia = [$(convert_to_toml_array "$BASE_SEPOLIA_HTTP_URLS")]
# polygon_mumbai = [$(convert_to_toml_array "$POLYGON_MUMBAI_HTTP_URLS")]
# avalanche_fuji = [$(convert_to_toml_array "$AVALANCHE_FUJI_HTTP_URLS")]
# fantom_testnet = [$(convert_to_toml_array "$FANTOM_TESTNET_HTTP_URLS")]
# celo_alfajores = [$(convert_to_toml_array "$CELO_ALFAJORES_HTTP_URLS")]
# scroll_sepolia = [$(convert_to_toml_array "$SCROLL_SEPOLIA_HTTP_URLS")]
# linea_goerli = [$(convert_to_toml_array "$LINEA_GOERLI_HTTP_URLS")]
[RpcWsUrls]
sepolia = [$(convert_to_toml_array "$SEPOLIA_URLS")]
bsc_testnet = [$(convert_to_toml_array "$BSC_TESTNET_URLS")]
optimism_sepolia = [$(convert_to_toml_array "$OPTIMISM_SEPOLIA_URLS")]
arbitrum_sepolia = [$(convert_to_toml_array "$ARBITRUM_SEPOLIA_URLS")]
base_goerli = [$(convert_to_toml_array "$BASE_GOERLI_URLS")]
base_sepolia = [$(convert_to_toml_array "$BASE_SEPOLIA_URLS")]
polygon_mumbai = [$(convert_to_toml_array "$POLYGON_MUMBAI_URLS")]
avalanche_fuji = [$(convert_to_toml_array "$AVALANCHE_FUJI_URLS")]
fantom_testnet = [$(convert_to_toml_array "$FANTOM_TESTNET_URLS")]
celo_alfajores = [$(convert_to_toml_array "$CELO_ALFAJORES_URLS")]
scroll_sepolia = [$(convert_to_toml_array "$SCROLL_SEPOLIA_URLS")]
linea_goerli = [$(convert_to_toml_array "$LINEA_GOERLI_URLS")]
# [RpcWsUrls]
# sepolia = [$(convert_to_toml_array "$SEPOLIA_URLS")]
# bsc_testnet = [$(convert_to_toml_array "$BSC_TESTNET_URLS")]
# optimism_sepolia = [$(convert_to_toml_array "$OPTIMISM_SEPOLIA_URLS")]
# arbitrum_sepolia = [$(convert_to_toml_array "$ARBITRUM_SEPOLIA_URLS")]
# base_goerli = [$(convert_to_toml_array "$BASE_GOERLI_URLS")]
# base_sepolia = [$(convert_to_toml_array "$BASE_SEPOLIA_URLS")]
# polygon_mumbai = [$(convert_to_toml_array "$POLYGON_MUMBAI_URLS")]
# avalanche_fuji = [$(convert_to_toml_array "$AVALANCHE_FUJI_URLS")]
# fantom_testnet = [$(convert_to_toml_array "$FANTOM_TESTNET_URLS")]
# celo_alfajores = [$(convert_to_toml_array "$CELO_ALFAJORES_URLS")]
# scroll_sepolia = [$(convert_to_toml_array "$SCROLL_SEPOLIA_URLS")]
# linea_goerli = [$(convert_to_toml_array "$LINEA_GOERLI_URLS")]
[WalletKeys]
sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
bsc_testnet = [$(convert_to_toml_array "$EVM_KEYS")]
optimism_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
arbitrum_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
base_goerli = [$(convert_to_toml_array "$EVM_KEYS")]
base_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
polygon_mumbai = [$(convert_to_toml_array "$EVM_KEYS")]
avalanche_fuji = [$(convert_to_toml_array "$EVM_KEYS")]
fantom_testnet = [$(convert_to_toml_array "$EVM_KEYS")]
celo_alfajores = [$(convert_to_toml_array "$EVM_KEYS")]
scroll_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
linea_goerli = [$(convert_to_toml_array "$EVM_KEYS")]
# [WalletKeys]
# sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
# bsc_testnet = [$(convert_to_toml_array "$EVM_KEYS")]
# optimism_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
# arbitrum_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
# base_goerli = [$(convert_to_toml_array "$EVM_KEYS")]
# base_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
# polygon_mumbai = [$(convert_to_toml_array "$EVM_KEYS")]
# avalanche_fuji = [$(convert_to_toml_array "$EVM_KEYS")]
# fantom_testnet = [$(convert_to_toml_array "$EVM_KEYS")]
# celo_alfajores = [$(convert_to_toml_array "$EVM_KEYS")]
# scroll_sepolia = [$(convert_to_toml_array "$EVM_KEYS")]
# linea_goerli = [$(convert_to_toml_array "$EVM_KEYS")]
EOF
BASE64_NETWORK_CONFIG=$(cat network_config.toml | base64 -w 0 | base64 -w 0)
Expand Down

0 comments on commit eea82cf

Please sign in to comment.