Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
drchrispinnock authored Apr 2, 2024
2 parents 7024edc + f05d8a3 commit 7e912ad
Show file tree
Hide file tree
Showing 13 changed files with 687 additions and 180 deletions.
70 changes: 67 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ new TezosFaucet(
provider
)


// Oxfordnet
//
const oxfordnet_chain = new TezosChain(
{
category: protocolCategory,
Expand Down Expand Up @@ -186,6 +189,67 @@ new TezosFaucet(
provider
)

// Paris network
const parisneta_chain = new TezosChain(
{
category: featureCategory,
humanName: "Preparisanet",
description: "Exploratory Chain for Paris A protocol",
activationBucket: activationBucket,
helmValuesFile: "networks/preparisanet/values.yaml",
bakingPrivateKey: private_teztnets_baking_key,
bootstrapPeers: [],
rpcUrls: [],
indexers: [],
chartRepoVersion: "7.1.2",
},
provider
)
new TezosFaucet(
parisneta_chain.name,
{
namespace: parisneta_chain.namespace,
humanName: "Preparisanet",
helmValuesFile: "networks/preparisanet/faucet_values.yaml",
faucetPrivateKey: faucetPrivateKey,
faucetRecaptchaSiteKey: faucetRecaptchaSiteKey,
faucetRecaptchaSecretKey: faucetRecaptchaSecretKey,
chartRepoVersion: "7.1.2",
},
provider
)

// Paris network
const parisnetb_chain = new TezosChain(
{
category: featureCategory,
humanName: "Preparisbnet",
description: "Exploratory Chain for Paris B protocol",
activationBucket: activationBucket,
helmValuesFile: "networks/preparisbnet/values.yaml",
bakingPrivateKey: private_teztnets_baking_key,
// bootstrapPeers: ["parisnet.tzinit.net"],
bootstrapPeers: [],
rpcUrls: [],
indexers: [],
chartRepoVersion: "7.1.2",
},
provider
)
new TezosFaucet(
parisnetb_chain.name,
{
namespace: parisnetb_chain.namespace,
humanName: "Preparisbnet",
helmValuesFile: "networks/preparisbnet/faucet_values.yaml",
faucetPrivateKey: faucetPrivateKey,
faucetRecaptchaSiteKey: faucetRecaptchaSiteKey,
faucetRecaptchaSecretKey: faucetRecaptchaSecretKey,
chartRepoVersion: "7.1.2",
},
provider
)

// Paris network
/*const parisnet_chain = new TezosChain(
{
Expand All @@ -207,7 +271,7 @@ new TezosFaucet(
parisnet_chain.name,
{
namespace: parisnet_chain.namespace,
humanName: "PreParisnet",
humanName: "Parisnet",
helmValuesFile: "networks/parisnet/faucet_values.yaml",
faucetPrivateKey: faucetPrivateKey,
faucetRecaptchaSiteKey: faucetRecaptchaSiteKey,
Expand Down Expand Up @@ -397,7 +461,7 @@ const ghostnetNetwork = {
}

export const networks = {
...getNetworks([weeklynet_chain, oxfordnet_chain, predalnet_chain]),
...getNetworks([weeklynet_chain, oxfordnet_chain, predalnet_chain, parisneta_chain, parisnetb_chain]),
...{ ghostnet: ghostnetNetwork },
}

Expand Down Expand Up @@ -463,7 +527,7 @@ const mainnetMetadata = {
}

export const teztnets = {
...getTeztnets([weeklynet_chain, oxfordnet_chain, predalnet_chain]),
...getTeztnets([weeklynet_chain, oxfordnet_chain, predalnet_chain, parisneta_chain, parisnetb_chain]),
...{ ghostnet: ghostnetTeztnet, mainnet: mainnetMetadata },
}

Expand Down
2 changes: 1 addition & 1 deletion networks/oxfordnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Oxfordnet has 8 second blocks (twice faster than mainnet).

Oxfordnet started on Nairobi protocol then upgraded to Oxford at the end of cycle 1 (the second cycle).

Adaptive Issuance is disabled on Oxfordnet. To test Adaptive Issuance, please use Weeklynet or Dailynet.
Adaptive Issuance is disabled on Oxfordnet. To test Adaptive Issuance, please use Weeklynet.
2 changes: 1 addition & 1 deletion networks/oxfordnet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ nodes:
- baker
- accuser
- vdf
storage_size: 200Gi
storage_size: 250Gi
# Overwrite default values.yaml rolling-node
rolling-node: null

Expand Down
3 changes: 3 additions & 0 deletions networks/parisnet/faucet_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ minTez: 1
# The maximum Tez allowed per request.
maxTez: 12000

# Faucet won't dispense to an address if its balance exceeds this.
maxBalance: 48000

#disableChallenges: false
disableChallenges: true
# Minimum number of challenges required for the minimum Tez request.
Expand Down
Loading

0 comments on commit 7e912ad

Please sign in to comment.