Skip to content

Commit

Permalink
Add a short node_id test
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed May 7, 2024
1 parent fdad206 commit b256bba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ def test_get_custody_columns__max_node_id_max_custody_subnet_count_minus_1(spec)
)


@with_eip7594_and_later
@spec_test
@single_phase
def test_get_custody_columns__short_node_id(spec):
rng = random.Random(1234)
yield from _run_get_custody_columns(spec, rng, node_id=123)


@with_eip7594_and_later
@spec_test
@single_phase
Expand Down
2 changes: 1 addition & 1 deletion tests/formats/networking/get_custody_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

```yaml
description: string -- optional: description of test case, purely for debugging purposes.
node_id: int -- argument: the NodeId input.
node_id: int -- argument: the NodeID input.
custody_subnet_count: int -- argument: the count of custody subnets.
result: list of int -- output: the list of resulting column indices.
```

0 comments on commit b256bba

Please sign in to comment.