Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify the number of sidecar subnets #7168

Conversation

StefanBratanov
Copy link
Contributor

PR Description

  • Introduce BLOB_SIDECAR_SUBNET_COUNT
  • Implemented and used compute_subnet_for_blob_sidecar

Fixed Issue(s)

fixes #7167

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@@ -84,8 +84,8 @@
Assertions.fail(
BLOB_SIDECAR_TOPIC_PATTERN + " regex does not match the topic: " + topicName);
}
final int index = Integer.parseInt(matcher.group(1));
topicChannels.put(index, topicChannel);
final int subnetId = Integer.parseInt(matcher.group(1));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException

Potential uncaught 'java.lang.NumberFormatException'.
Copy link
Contributor

@tbenr tbenr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StefanBratanov StefanBratanov merged commit c2cfc7e into Consensys:master May 23, 2023
@StefanBratanov StefanBratanov deleted the specify_number_of_blob_sidecar_subnets branch May 23, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specify the number of sidecar subnets
2 participants