Skip to content
Snippets Groups Projects

Change distance evaluation period from Sessions to Blocks

Merged Benjamin Gallois requested to merge 202-distance-oracle-reevaluation into master

Closes #202 (closed) Closes #207 (closed)

  • Create evaluation period in block.
  • Update tests.
  • Weight accounting
  • Upgrade the distance oracle.
  • Fix #207 (closed).
  • Closes #174 (closed): the worst and simplest estimation equates to one evaluation being 0.0037% of a block's weight, based on the current reference machine. To maintain a reasonable load on the system, it's advisable that the cumulative weight of all evaluations does not surpass 5-10% of a block's capacity. Consequently, setting MAX_EVALUATIONS_PER_SESSION between 1 300 and 2 600 would ensure safe operation.
Edited by Benjamin Gallois

Merge request reports

Merge request pipeline #36430 passed

Merge request pipeline passed for 8aa82134

Merged by Hugo TrentesauxHugo Trentesaux 10 months ago (Mar 6, 2024 2:05pm UTC)

Merge details

Pipeline #36431 passed

Pipeline passed for 3669c6a6 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Benjamin Gallois marked this merge request as draft

    marked this merge request as draft

  • Benjamin Gallois marked the checklist item Weight accounting as completed

    marked the checklist item Weight accounting as completed

  • added 1 commit

    Compare with previous version

  • Benjamin Gallois resolved all threads

    resolved all threads

  • Benjamin Gallois marked this merge request as ready

    marked this merge request as ready

  • requested review from @HugoTrentesaux

  • Benjamin Gallois marked this merge request as draft

    marked this merge request as draft

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading