diff --git a/site-cookbooks/kosmos-parity/recipes/node_testnet.rb b/site-cookbooks/kosmos-parity/recipes/node_testnet.rb index fcd6c6d..8becabb 100644 --- a/site-cookbooks/kosmos-parity/recipes/node_testnet.rb +++ b/site-cookbooks/kosmos-parity/recipes/node_testnet.rb @@ -13,17 +13,18 @@ rpc_proxy_port = 8546 rpc_port = 18546 dapps_port = 8181 +network_port = 30304 credentials = Chef::EncryptedDataBagItem.load('credentials', 'parity') parity_node "testnet" do password credentials["testnet_password"] config parity: { - chain: "testnet", + chain: "ropsten", no_download: true, # Don't Download Updates }, network: { - port: 30304, + port: network_port, warp: true, }, rpc: { @@ -49,7 +50,7 @@ end unless node.chef_environment == "development" include_recipe 'firewall' firewall_rule "parity_testnet" do - port rpc_proxy_port + port [ rpc_proxy_port, network_port ] protocol :tcp command :allow end