Skip to content

#1 – Correct Epoch Length

Passed

Proposal ID: 1

Type: Update Params

Submit: 2025-09-05 21:51 UTC

Voting: 2025-09-05 21:51 UTC → 2025-09-07 21:51 UTC

Proposer: gonka18lluv53n4h9z34qu20vxcvypgdkhsg6nn2cl2d

Metadata: https://github.com/gonka-ai/gonka/blob/9f34f2c3c8203d8ae269934facaa79069f4d8012/proposals/epoch-length/README.md

View on gonka.gg

Proposal updates epoch_length and restrictions length according to real block length in seconds.



Full Proposal

Full proposal — click to expand · Open in separate page →

Adjust Params According to real block length

The proposal changes parameters: - epoch_params.epoch_length of inference module from 17280 to 15391 - restriction_end_block of restrictions module from 1555200 to 1385263 - blocks_per_year of mint module from 6307200 to 5618012

Motivation

The initial values for epoch_params.epoch_length and restriction_end_block were calculated based on an estimated block time of 5 seconds per block. In practice, the average block time is closer to 5.61 seconds. This has led to epochs lasting approximately 27 hours instead of the intended 24 hours, and has similarly extended the transfer restriction period.

New values estimations

At /chain-rpc/status we can get (for genesis nodes):

      "latest_block_height": "223562",
      "latest_block_time": "2025-09-05T21:17:32.061238117Z",
      ...
      "earliest_block_height": "1",
      "earliest_block_time": "2025-08-22T08:42:00.713839Z",

Then: - sec_per_day = 24*60*60 = 86400 - sec_per_block = (latest_block_time - earliest_block_time) / (latest_block_height - earliest_block_height) = 5.613373295874505 - epoch_params.epoch_length = 1 * sec_per_day // sec_per_block = 15391 - restriction_end_block = 90 * sec_per_day // sec_per_block = 1385263 - blocks_per_year = 365 * sec_per_day // sec_per_block = 5618012

Final Tally

Yes 100.0% (74,474) No 0.0% (0) Veto 0.0% (0) Abstain 0.0% (0) Total 74,474 votes

Messages

# Type
1 /inference.inference.MsgUpdateParams
2 /inference.restrictions.MsgUpdateParams
3 /cosmos.mint.v1beta1.MsgUpdateParams
Contract Details
[
  {
    "@type": "/inference.inference.MsgUpdateParams",
    "authority": "gonka10d07y265gmmuvt4z0w9aw880jnsr700j2h5m33",
    "params": {
      "epoch_params": {
        "epoch_length": "15391",
        "epoch_multiplier": "1",
        "epoch_shift": "16980",
        "default_unit_of_compute_price": "100",
        "poc_stage_duration": "60",
        "poc_exchange_duration": "5",
        "poc_validation_delay": "5",
        "poc_validation_duration": "20",
        "set_new_validators_delay": "120",
        "inference_validation_cutoff": "80",
        "inference_pruning_epoch_threshold": "2",
        "inference_pruning_max": "0",
        "poc_pruning_max": "0",
        "poc_slot_allocation": null,
        "confirmation_poc_safety_window": "0"
      },
      "validation_params": {
        "false_positive_rate": {
          "value": "5",
          "exponent": -2
        },
        "min_ramp_up_measurements": 10,
        "pass_value": {
          "value": "99",
          "exponent": -2
        },
        "min_validation_average": {
          "value": "1",
          "exponent": -2
        },
        "max_validation_average": {
          "value": "1",
          "exponent": 0
        },
        "expiration_blocks": "20",
        "epochs_to_max": "30",
        "full_validation_traffic_cutoff": "10000",
        "min_validation_halfway": {
          "value": "5",
          "exponent": -2
        },
        "min_validation_traffic_cutoff": "100",
        "miss_percentage_cutoff": {
          "value": "1",
          "exponent": -2
        },
        "miss_requests_penalty": {
          "value": "1",
          "exponent": 0
        },
        "timestamp_expiration": "60",
        "timestamp_advance": "30",
        "estimated_limits_per_block_kb": "0",
        "invalid_reputation_preserve": null,
        "bad_participant_invalidation_rate": null,
        "invalidation_h_threshold": null,
        "downtime_good_percentage": null,
        "downtime_bad_percentage": null,
        "downtime_h_threshold": null,
        "downtime_reputation_preserve": null,
        "quick_failure_threshold": null,
        "binom_test_p0": null,
        "claim_validation_enabled": false,
        "logprobs_mode": ""
      },
      "poc_params": {
        "default_difficulty": 5,
        "validation_sample_size": 200,
        "poc_data_pruning_epoch_threshold": "1",
        "weight_scale_factor": null,
        "model_params": null,
        "model_id": "",
        "seq_len": "0",
        "poc_v2_enabled": false,
        "confirmation_poc_v2_enabled": false,
        "stat_test": null,
        "validation_slots": 0,
        "poc_normalization_enabled": false,
        "poc_stronger_rng_enabled": false,
        "models": [],
        "validation_vote_threshold_bps": 0,
        "dynamic_coefficient_params": null
      },
      "tokenomics_params": {
        "subsidy_reduction_interval": {
          "value": "5",
          "exponent": -2
        },
        "subsidy_reduction_amount": {
          "value": "2",
          "exponent": -1
        },
        "current_subsidy_percentage": {
          "value": "9",
          "exponent": -1
        },
        "work_vesting_period": "180",
        "reward_vesting_period": "180"
      },
      "collateral_params": {
        "slash_fraction_invalid": {
          "value": "2",
          "exponent": -1
        },
        "slash_fraction_downtime": {
          "value": "1",
          "exponent": -1
        },
        "downtime_missed_percentage_threshold": {
          "value": "5",
          "exponent": -2
        },
        "grace_period_end_epoch": "180",
        "base_weight_ratio": {
          "value": "2",
          "exponent": -1
        },
        "collateral_per_weight_unit": {
          "value": "42",
          "exponent": -1
        }
      },
      "bitcoin_reward_params": {
        "use_bitcoin_rewards": true,
        "initial_epoch_reward": "323000000000000",
        "decay_rate": {
          "value": "-475",
          "exponent": -6
        },
        "genesis_epoch": "1",
        "utilization_bonus_factor": {
          "value": "5",
          "exponent": -1
        },
        "full_coverage_bonus_factor": {
          "value": "12",
          "exponent": -1
        },
        "partial_coverage_bonus_factor": {
          "value": "1",
          "exponent": -1
        }
      },
      "dynamic_pricing_params": {
        "stability_zone_lower_bound": {
          "value": "4",
          "exponent": -1
        },
        "stability_zone_upper_bound": {
          "value": "6",
          "exponent": -1
        },
        "price_elasticity": {
          "value": "5",
          "exponent": -2
        },
        "utilization_window_duration": "60",
        "min_per_token_price": "1",
        "base_per_token_price": "100",
        "grace_period_end_epoch": "90",
        "grace_period_per_token_price": "0"
      },
      "bandwidth_limits_params": {
        "estimated_limits_per_block_kb": "10752",
        "kb_per_input_token": {
          "value": "23",
          "exponent": -4
        },
        "kb_per_output_token": {
          "value": "64",
          "exponent": -2
        },
        "invalidations_limit": "0",
        "invalidations_sample_period": "0",
        "invalidations_limit_curve": "0",
        "minimum_concurrent_invalidations": 0,
        "max_inferences_per_block": "0"
      },
      "confirmation_poc_params": null,
      "genesis_guardian_params": null,
      "developer_access_params": null,
      "participant_access_params": null,
      "transfer_agent_access_params": null,
      "devshard_escrow_params": null,
      "fee_params": null,
      "delegation_params": null,
      "maintenance_params": null,
      "poc_challenge_params": null
    }
  },
  {
    "@type": "/inference.restrictions.MsgUpdateParams",
    "authority": "gonka10d07y265gmmuvt4z0w9aw880jnsr700j2h5m33",
    "params": {
      "restriction_end_block": "1385263",
      "emergency_transfer_exemptions": [],
      "exemption_usage_tracking": []
    }
  },
  {
    "@type": "/cosmos.mint.v1beta1.MsgUpdateParams",
    "authority": "gonka10d07y265gmmuvt4z0w9aw880jnsr700j2h5m33",
    "params": {
      "mint_denom": "ngonka",
      "inflation_rate_change": "0.130000000000000000",
      "inflation_max": "0.200000000000000000",
      "inflation_min": "0.070000000000000000",
      "goal_bonded": "0.670000000000000000",
      "blocks_per_year": "5618012"
    }
  }
]