Let chain_id and network_id be numbers not strings

This commit is contained in:
ligi 2019-05-21 02:32:31 +02:00
parent 7efe16c522
commit cd83af805e
No known key found for this signature in database
GPG Key ID: 8E81894010ABF23D

View File

@ -5,11 +5,11 @@ permalink: chains.json
[{% for json in site.data.chains %}{% assign chain = json[1] %} [{% for json in site.data.chains %}{% assign chain = json[1] %}
{ {
"name": "{{ chain.name }}", "name": "{{ chain.name }}",
"chain_id": "{{ chain.chain_id }}", "chain_id": {{ chain.chain_id }},
"short_name": "{{ chain.short_name }}", "short_name": "{{ chain.short_name }}",
"chain": "{{ chain.chain }}", "chain": "{{ chain.chain }}",
"network": "{{ chain.network }}", "network": "{{ chain.network }}",
"network_id": "{{ chain.network_id }}", "network_id": {{ chain.network_id }},
"name": "EtherInc", "name": "EtherInc",
"rpc": [{% for rpc in chain.rpc %}"{{ rpc }}"{% unless forloop.last %},{% endunless %}{%endfor%}], "rpc": [{% for rpc in chain.rpc %}"{{ rpc }}"{% unless forloop.last %},{% endunless %}{%endfor%}],
"faucets": [{% for faucet in chain.faucets %}"{{ faucet }}"{% unless forloop.last %},{% endunless %}{%endfor%}], "faucets": [{% for faucet in chain.faucets %}"{{ faucet }}"{% unless forloop.last %},{% endunless %}{%endfor%}],