Skip to content

Commit

Permalink
dqnet pt I
Browse files Browse the repository at this point in the history
  • Loading branch information
drchrispinnock committed Oct 17, 2024
1 parent 52b1428 commit 5744a83
Show file tree
Hide file tree
Showing 2 changed files with 279 additions and 0 deletions.
16 changes: 16 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,22 @@ new TezosFaucet(
provider
)

// Dal-test
const dqnet_chain = new TezosChain(
{
category: protocolCategory,
humanName: "DQnet-202410",
description: "Invitation only test chain for a pure DAL baking network. Please DM the Chief Baker.",
activationBucket: activationBucket,
helmValuesFile: "networks/dqnet/values.yaml",
bakingPrivateKey: private_teztnets_baking_key,
bootstrapPeers: [],
rpcUrls: [],
indexers: [],
chartRepoVersion: "7.0.9",
},
provider
)
/*
// Ooooo Qena 42 (I'm mean Oooo Vienna)
//
Expand Down
263 changes: 263 additions & 0 deletions networks/dqnet/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
# protocol_hash: PtA4NFGxa5mLmPaEAAxAofESvLzZPSJ6GQz66SobecGbnCy3FXE

node_config_network:
activation_account_name: teztnetsbaker
chain_name: TEZOS_DQNET_2024-10-17T08:00:00Z
genesis:
protocol: Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P
timestamp: "2024-10-17T08:00:00Z"
dal_config:
activated: true

activation:
protocol_hash: PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi
protocol_parameters:
adaptive_issuance_activation_vote_enable: true
adaptive_issuance_force_activation: false
adaptive_issuance_launch_ema_threshold: 0
adaptive_rewards_params:
issuance_ratio_final_min:
numerator: "1"
denominator: "400"
issuance_ratio_final_max:
numerator: "1"
denominator: "10"
issuance_ratio_initial_min:
numerator: "9"
denominator: "200"
issuance_ratio_initial_max:
numerator: "11"
denominator: "200"
initial_period: 10
transition_period: 50
max_bonus: "50000000000000"
growth_rate:
numerator: "1"
denominator: "100"
center_dz:
numerator: "1"
denominator: "2"
radius_dz:
numerator: "1"
denominator: "50"
autostaking_enable: true
blocks_per_commitment: 20
blocks_per_cycle: 168
blocks_preservation_cycles: 1
cache_sampler_state_cycles: 8
cache_script_size: 100000000
cache_stake_distribution_cycles: 8
consensus_committee_size: 7000
consensus_rights_delay: 2
consensus_threshold: 4667
cost_per_byte: '250'
cycles_per_voting_period: 1
dal_parametric:
feature_enable: true
incentives_enable: false
number_of_slots: 32
number_of_shards: 512
attestation_lag: 8
attestation_threshold: 66
slot_size: 126944
redundancy_factor: 8
page_size: 3967
delay_increment_per_round: "5"
delegate_parameters_activation_delay: 3
direct_ticket_spending_enable: false
edge_of_staking_over_delegation: 2
global_limit_of_staking_over_baking: 5
hard_gas_limit_per_block: "4160000"
hard_gas_limit_per_operation: "1040000"
hard_storage_limit_per_operation: "60000"
issuance_weights:
base_total_issued_per_minute: "85007812"
baking_reward_fixed_portion_weight: 5120
baking_reward_bonus_weight: 5120
attesting_reward_weight: 10240
vdf_revelation_tip_weight: 1
seed_nonce_revelation_tip_weight: 1
limit_of_delegation_over_baking: 9
liquidity_baking_subsidy: "5000000"
liquidity_baking_toggle_ema_threshold: 100000
max_operations_time_to_live: 150
max_slashing_per_block: 10000
max_slashing_threshold: 2334
minimal_block_delay: "5"
min_proposal_quorum: 500
minimal_frozen_stake: "600000000"
minimal_participation_ratio:
numerator: 2
denominator: 3
minimal_stake: "6000000000"
nonce_revelation_threshold: 40
ns_enable: true
origination_size: 257
percentage_of_frozen_deposits_slashed_per_double_attestation: 5000
percentage_of_frozen_deposits_slashed_per_double_baking: 700
proof_of_work_threshold: "-1"
quorum_max: 7000
quorum_min: 2000
smart_rollup_arith_pvm_enable: true
smart_rollup_challenge_window_in_blocks: 50
smart_rollup_commitment_period_in_blocks: 25
smart_rollup_max_active_outbox_levels: 25200
smart_rollup_max_lookahead_in_blocks: 37500
smart_rollup_max_number_of_cemented_commitments: 5
smart_rollup_max_number_of_parallel_games: 32
smart_rollup_max_outbox_messages_per_level: 100
smart_rollup_number_of_sections_in_dissection: 32
smart_rollup_origination_size: 6314
smart_rollup_private_enable: true
smart_rollup_riscv_pvm_enable: true
smart_rollup_stake_amount: "32000000"
smart_rollup_timeout_period_in_blocks: 625
smart_rollup_reveal_activation_level:
raw_data:
Blake2B: 0
metadata: 0
dal_page: 1
dal_parameters: 1
dal_attested_slots_validity_lag: 241920
testnet_dictator: tz1e1TX7KghsqWUBXWmBTAAtPK3W6JTbNc82
vdf_difficulty: '10000000'
zk_rollup_enable: true
zk_rollup_origination_size: 4000
zk_rollup_min_pending_to_process: 10
zk_rollup_max_ticket_payload_size: 2048
# bootstrap_parameters:
# bootstrap_smart_rollups:
# - address: "sr1RYurGZtN8KNSpkMcCt9CgWeUaNkzsAfXf"
# pvm_kind: "wasm_2_0_0"
# kernel: "fromfile#/usr/local/share/tezos/evm_kernel/evm_installer.wasm"
# parameters_ty:
# prim: pair
# args:
# - prim: pair
# args:
# - prim: bytes
# - prim: ticket
# args:
# - prim: unit
# - prim: pair
# args:
# - prim: nat
# - prim: bytes
#
nodes:
tezos-baking-node:
env:
all:
TEZOS_CLIENT_UNSAFE_DISABLE_DISCLAIMER: "Y"
instances:
- bake_using_accounts:
- teztnetsbaker
config:
shell:
history_mode: archive
rpc:
cors-headers: [ "content-type" ]
cors-origin: [ "*" ]
max_active_rpc_connections: 1000
metrics_addr: ["0.0.0.0:9932"]
is_bootstrap_node: true
identity:
# hard-coded identity - saves 1-2 minutes on daily cron
peer_id: idqnaeAw4oGfUEnKrLH2fZYRQo4Ev1
public_key:
c988f65dfbc50ef61d8db84b89ea8df93643328bbd0524321582e39d33e32115
secret_key:
38ffcb4629db7152141824835bebf42f12d90933d68773d78002f86637500b62
proof_of_work_stamp: 3ee07208e41a0489299909c0bd3cac5c05b20a9acc4a3bc7
runs:
- octez_node
- baker
- accuser
- vdf
bootstrapped_readiness_probe: false
storage_size: 100Gi
# Overwrite default values.yaml rolling-node
rolling-node: null

bootstrap_peers: []

dalNodes:
dal-bootstrap:
bootstrapProfile: true
node_rpc_url: http://tezos-baking-node-0.tezos-baking-node:8732
storageSize: 100Gi
ingress:
# ingress details filled up by pulumi
identity:
peer_id: "idtJh8bYedP2hKdRk6oCLX3SS2KuTM"
public_key:
"5a6cd66cbd2f69817fb2eb81e5dd2a9c4f88df950fc90a96a08fe3976724a063"
secret_key:
"42f716781cf80b2b7ad129ac56dfcb1b333f3021e49c6729199de8303c7152c9"
proof_of_work_stamp: "b7edd6ea938998f8f088b83b692baeddb49f5522f07572f9"
dal-dal1:
attest_using_accounts:
- teztnetsbaker
attesterProfiles: tz1TnEtqDV9mZyts2pfMy6Jw1BTPs4LMjL8M
node_rpc_url: http://tezos-baking-node-0.tezos-baking-node:8732
storageSize: 100Gi
ingress:
# ingress details filled up by pulumi
identity:
peer_id: "ids8gZ6Gu67e58DqPn2e9VyjasB1jo"
public_key:
"c4ea1f6dddfa43b87b6a37432c4c34e1c79baeed5ff165fee2a85ffafb819e5f"
secret_key:
"a67519da6166f97ca2dea6dc519f1a453d96e01348816d102fb9a7099ee08137"
proof_of_work_stamp: "c85a3aab8a1fc903e8c7e9bcd1714a890e22f160a96d9779"

dal_deploy_slot_injector:
enabled: true
inject_using_account: teztnetsbaker
node_rpc_url: http://tezos-baking-node-0.tezos-baking-node:8732
dal_node_rpc_url: http://dal-dal1:10732
slot_size: 65536

full_snapshot_url: null
rolling_snapshot_url: null
rolling_tarball_url: null
archive_tarball_url: null
snapshot_source: null

images:
octez: tezos/tezos:master_64df48cf_20241017065944

protocols:
- command: PsParisC
vote:
liquidity_baking_toggle_vote: "pass"
- command: PsQuebec
vote:
liquidity_baking_toggle_vote: "pass"


accounts:
teztnetsbaker:
# tz1TnEtqDV9mZyts2pfMy6Jw1BTPs4LMjL8M
bootstrap_balance: "1500000000000"
is_bootstrap_baker_account: true
type: secret
captstake:
# tz1N29q5T3jJ2i1JEWHax7q1NRkDMADj6fof
key: edpkvV1FvrCmd68k6yMCfhiW6WNXSb1kZPWJhkr9KZPTtW7ukBs8dj
is_bootstrap_baker_account: false
bootstrap_balance: "1000000000000"
tfrichfund:
# an account that would allow Chris to finally have that holiday
# if only it were on mainnet...
# tz1VRj54TQDtUGgv6gF4AbGbXMphyDpVkCpf
key: edpkvWFRKD8soryXJkcHCr9shnxhkxJLGG5FJAHquka992bgf86YxC
bootstrap_balance: "5000000000000000"
is_bootstrap_baker_account: false
# DAL Rich account and baker
# Contact: Francois Thire at Nomadic
dal_rich_account:
key: edpkuwL7MVYArfQN9jyR8pZTqmFGYFWTYhhF4F8KWjr2vB18ozTqbd
bootstrap_balance: "370000000000"
is_bootstrap_baker_account: false

0 comments on commit 5744a83

Please sign in to comment.