Skip to content

Update resource allocation file - add new type #1162

Description

@dmytrotkk

Currently, we have resource allocation options for 3 types of chains:

  • large (1/1)
  • medium (1/8)
  • small (1/128)

We need to update the resource allocation file to add support for the additional type: 1/64 (

The file that has to be updated in skale-node: schain_allocation.yml (generated using helper-scripts/generate_schain_allocation.py

We need to:

  • Update generate_schain_allocation.py in skale-admin/tools (new types: light64, divider = 64; light32, divider = 32)
  • Re-generate schain_allocation.yml in skale-node
  • Update SchainType enum in skale-admin
  • Test changes
    • Add new schain types: [2, 4] - light65 and [4, 4] - light32 (using skale.schains_internal.add_schain_type(part_of_node, number_of_nodes))
    • Create multiple chains to test performance (light64 type)
    • Try linking IMA (skale_ima.linker.connect_schain)
    • Test IMA

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status
To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions