-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement same components for Mainnet and Mocha as Arabica (#1453)
* feat: implement same components for Mainnet and Mocha as Arabica * docs: suggestions fro mcoderabbit
- Loading branch information
Showing
8 changed files
with
225 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<template> | ||
<table> | ||
<tr> | ||
<th>Detail</th> | ||
<th>Value</th> | ||
</tr> | ||
<tr> | ||
<td>Chain ID</td> | ||
<td><code>{{ constants.mainnetChainId }}</code></td> | ||
</tr> | ||
<tr> | ||
<td>Genesis hash</td> | ||
<td><code>6BE39EFD10BA412A9DB5288488303F5DD32CF386707A5BEF33617F4C43301872</code></td> | ||
</tr> | ||
<tr> | ||
<td>Genesis file</td> | ||
<td> | ||
<a | ||
:href="`https://github.com/celestiaorg/networks/blob/master/${constants.mainnetChainId}/genesis.json`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
https://github.com/celestiaorg/networks/blob/master/{{constants.mainnetChainId}}/genesis.json | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Peers file</td> | ||
<td> | ||
<a | ||
:href="`https://github.com/celestiaorg/networks/blob/master/${constants.mainnetChainId}/peers.txt`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
https://github.com/celestiaorg/networks/blob/master/{{constants.mainnetChainId}}/peers.txt | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Validators</td> | ||
<td> | ||
100 | ||
</td> | ||
</tr> | ||
</table> | ||
</template> | ||
|
||
<script> | ||
import constants from "/.vitepress/constants/constants.js"; | ||
export default { | ||
name: 'MainnetBetaDetails', | ||
data() { | ||
return { | ||
constants | ||
}; | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,47 @@ | ||
<template> | ||
<ul> | ||
<li> | ||
Celestia chain ID - | ||
<a | ||
:href="`https://github.com/celestiaorg/networks/tree/master/${constants.mainnetChainId}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ constants.mainnetChainId }} | ||
</a> | ||
</li> | ||
<li> | ||
celestia-node - | ||
<a | ||
:href="`https://github.com/celestiaorg/celestia-node/releases/tag/${mainnetVersions['node-latest-tag']}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ mainnetVersions['node-latest-tag'] }} | ||
</a> | ||
</li> | ||
<li> | ||
celestia-app - | ||
<a | ||
:href="`https://github.com/celestiaorg/celestia-app/releases/tag/${mainnetVersions['app-latest-tag']}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ mainnetVersions['app-latest-tag'] }} | ||
</a> | ||
</li> | ||
<li> | ||
Rollkit - | ||
<a | ||
:href="`https://github.com/rollkit/rollkit/releases/tag/${constants.mainnetRollkitVersion}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ constants.mainnetRollkitVersion }} | ||
</a> | ||
</li> | ||
</ul> | ||
<table> | ||
<tr> | ||
<th>Software</th> | ||
<th>Version</th> | ||
</tr> | ||
<tr> | ||
<td>celestia-node</td> | ||
<td> | ||
<a | ||
:href="`https://github.com/celestiaorg/celestia-node/releases/tag/${mainnetVersions['node-latest-tag']}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ mainnetVersions['node-latest-tag'] }} | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>celestia-app</td> | ||
<td> | ||
<a | ||
:href="`https://github.com/celestiaorg/celestia-app/releases/tag/${mainnetVersions['app-latest-tag']}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ mainnetVersions['app-latest-tag'] }} | ||
</a> | ||
</td> | ||
</tr> | ||
</table> | ||
</template> | ||
|
||
<script> | ||
import mainnetVersions from "/.vitepress/constants/mainnet_versions.js"; | ||
import constants from "/.vitepress/constants/constants.js"; | ||
export default { | ||
name: 'mainnetVersionTags', | ||
name: 'MainnetVersionTags', | ||
data() { | ||
return { | ||
mainnetVersions, | ||
constants | ||
}; | ||
} | ||
} | ||
</script> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<template> | ||
<table> | ||
<tr> | ||
<th>Detail</th> | ||
<th>Value</th> | ||
</tr> | ||
<tr> | ||
<td>Chain ID</td> | ||
<td><code>{{ constants.mochaChainId }}</code></td> | ||
</tr> | ||
<tr> | ||
<td>Genesis hash</td> | ||
<td><code>B93BBE20A0FBFDF955811B6420F8433904664D45DB4BF51022BE4200C1A1680D</code></td> | ||
</tr> | ||
<tr> | ||
<td>Genesis file</td> | ||
<td> | ||
<a | ||
:href="`https://github.com/celestiaorg/networks/blob/master/${constants.mochaChainId}/genesis.json`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
https://github.com/celestiaorg/networks/blob/master/{{constants.mochaChainId}}/genesis.json | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Peers file</td> | ||
<td> | ||
<a | ||
:href="`https://github.com/celestiaorg/networks/blob/master/${constants.mochaChainId}/peers.txt`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
https://github.com/celestiaorg/networks/blob/master/{{constants.mochaChainId}}/peers.txt | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Validators</td> | ||
<td> | ||
100 | ||
</td> | ||
</tr> | ||
</table> | ||
</template> | ||
|
||
<script> | ||
import constants from "/.vitepress/constants/constants.js"; | ||
export default { | ||
name: 'MochaTestnetDetails', | ||
data() { | ||
return { | ||
constants | ||
}; | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.