Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hive hive
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 141
    • Issues 141
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hivehive
  • hivehive
  • Merge requests
  • !839

Add unit test for chaining proxy

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Andrzej Lisak requested to merge abw_proxy_chain_test into develop Jan 25, 2023
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

During creation of some python tests it turned out that code that limits length of chain of proxy accounts has some holes in it. The test uses the hole to create chain that is too long according to rules. It also checks that propagation of voting power stops on HIVE_MAX_PROXY_RECURSION_DEPTH (4), so there is no threat from too long chain (we could create arbitrarily long chain and the effect would be that all but 4 top accounts don't influence governance vote power, there would be no excessive execution time).

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: abw_proxy_chain_test