Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up the network configuration #235

Closed
ValentinTrinque opened this issue Feb 15, 2023 · 2 comments
Closed

Clean up the network configuration #235

ValentinTrinque opened this issue Feb 15, 2023 · 2 comments

Comments

@ValentinTrinque
Copy link
Contributor

ValentinTrinque commented Feb 15, 2023

When Vega 0.68 is deployed, each network configuration should be updated as follow:

Old

Host = "127.0.0.1"
Level = "info"
Name = "fairground"
Port = 1789
TokenExpiry = "168h0m0s"

[API]

  [API.GRPC]
    Hosts = ["api.n06.testnet.vega.xyz:3007", "api.n07.testnet.vega.xyz:3007", "api.n08.testnet.vega.xyz:3007", "api.n09.testnet.vega.xyz:3007", "api.n10.testnet.vega.xyz:3007", "api.n11.testnet.vega.xyz:3007", "api.n12.testnet.vega.xyz:3007"]
    Retries = 5

  [API.GraphQL]
    Hosts = ["https://api.n06.testnet.vega.xyz/graphql", "https://api.n07.testnet.vega.xyz/graphql", "https://api.n08.testnet.vega.xyz/graphql", "https://api.n09.testnet.vega.xyz/graphql", "https://api.n10.testnet.vega.xyz/graphql", "https://api.n11.testnet.vega.xyz/graphql", "https://api.n12.testnet.vega.xyz/graphql"]

  [API.REST]
    Hosts = ["https://api.n06.testnet.vega.xyz", "https://api.n07.testnet.vega.xyz", "https://api.n08.testnet.vega.xyz", "https://api.n09.testnet.vega.xyz", "https://api.n10.testnet.vega.xyz", "https://api.n11.testnet.vega.xyz", "https://api.n12.testnet.vega.xyz"]

[Console]
  LocalPort = 1847
  URL = "console.fairground.wtf"

[TokenDApp]
  LocalPort = 1848
  URL = "token.fairground.wtf"

New

Name = "fairground"

[[Metadata]]
Key = "network"
Value = "testnet"

[API]

  [API.GRPC]
    Hosts = ["api.n06.testnet.vega.xyz:3007", "api.n07.testnet.vega.xyz:3007", "api.n08.testnet.vega.xyz:3007", "api.n09.testnet.vega.xyz:3007", "api.n10.testnet.vega.xyz:3007", "api.n11.testnet.vega.xyz:3007", "api.n12.testnet.vega.xyz:3007"]
    Retries = 5

  [API.GraphQL]
    Hosts = ["https://api.n06.testnet.vega.xyz/graphql", "https://api.n07.testnet.vega.xyz/graphql", "https://api.n08.testnet.vega.xyz/graphql", "https://api.n09.testnet.vega.xyz/graphql", "https://api.n10.testnet.vega.xyz/graphql", "https://api.n11.testnet.vega.xyz/graphql", "https://api.n12.testnet.vega.xyz/graphql"]

  [API.REST]
    Hosts = ["https://api.n06.testnet.vega.xyz", "https://api.n07.testnet.vega.xyz", "https://api.n08.testnet.vega.xyz", "https://api.n09.testnet.vega.xyz", "https://api.n10.testnet.vega.xyz", "https://api.n11.testnet.vega.xyz", "https://api.n12.testnet.vega.xyz"]

[Apps]
  Console = "console.fairground.wtf"
  Governance = "token.fairground.wtf"
  Explorer = "explorer.fairground.wtf" 

Note: The metadata section should contain network = testnet when it's a testnet and mainnet when it's a mainnet

@ValentinTrinque
Copy link
Contributor Author

@fkondej It has been decided to rename tokendapp to Governance, once this issue below is merged, we will have to update network configuration with the new name:

vegaprotocol/vega#7710

I updated the original post with the change

@fkondej
Copy link
Contributor

fkondej commented Sep 3, 2023

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
Development

No branches or pull requests

2 participants