mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Deprecate the 'network' field
This commit is contained in:
parent
02b0a54d6e
commit
1f02ea7293
|
@ -2,7 +2,6 @@
|
|||
"name": "Görli",
|
||||
"title": "Ethereum Testnet Görli",
|
||||
"chain": "ETH",
|
||||
"network": "goerli",
|
||||
"rpc": [
|
||||
"https://rpc.goerli.mudit.blog/",
|
||||
"https://rpc.slock.it/goerli",
|
||||
|
|
|
@ -7,7 +7,8 @@ data class Chain(
|
|||
val name: String,
|
||||
val shortName: String,
|
||||
val chain: String,
|
||||
val network: String,
|
||||
@Deprecated("Will be removed in the future")
|
||||
val network: String?,
|
||||
val chainId: Long,
|
||||
val networkId: Long,
|
||||
val rpc: List<String>,
|
||||
|
|
|
@ -8,7 +8,6 @@ val mandatory_fields = listOf(
|
|||
"name",
|
||||
"shortName",
|
||||
"chain",
|
||||
"network",
|
||||
"chainId",
|
||||
"networkId",
|
||||
"rpc",
|
||||
|
@ -22,6 +21,7 @@ val optionalFields = listOf(
|
|||
"icon",
|
||||
"explorers",
|
||||
"title",
|
||||
"network",
|
||||
"parent"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"name": "Ethereum",
|
||||
"shortName": "eth",
|
||||
"chain": "ETH",
|
||||
"network": "mainnet",
|
||||
"chainId": 1,
|
||||
"networkId": 1,
|
||||
"rpc": [
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"name": "Ethereum Testnet Görli",
|
||||
"chain": "ETH",
|
||||
"network": "goerli",
|
||||
"rpc": [
|
||||
"https://rpc.goerli.mudit.blog/",
|
||||
"https://rpc.slock.it/goerli ",
|
||||
|
|
Loading…
Reference in New Issue
Block a user