Skip to content

Commit

Permalink
Add cuttlefish-part2 (#1032)
Browse files Browse the repository at this point in the history
## Summary

Add `cuttlefish-part2` protocol update.
  • Loading branch information
iamyulong authored Nov 20, 2024
2 parents c8190e1 + 2c3182e commit ca383d9
Show file tree
Hide file tree
Showing 19 changed files with 252 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,16 @@ public record ProtocolConfig(
public static final String GENESIS_PROTOCOL_VERSION_NAME = "babylon-genesis";
public static final String ANEMONE_PROTOCOL_VERSION_NAME = "anemone";
public static final String BOTTLENOSE_PROTOCOL_VERSION_NAME = "bottlenose";
public static final String CUTTLEFISH_PROTOCOL_VERSION_NAME = "cuttlefish";
public static final String CUTTLEFISH_PART1_PROTOCOL_VERSION_NAME = "cuttlefish";
public static final String CUTTLEFISH_PART2_PROTOCOL_VERSION_NAME = "cuttlefish-part2";

public static ImmutableList<String> VERSION_NAMES =
ImmutableList.of(
GENESIS_PROTOCOL_VERSION_NAME,
ANEMONE_PROTOCOL_VERSION_NAME,
BOTTLENOSE_PROTOCOL_VERSION_NAME,
CUTTLEFISH_PROTOCOL_VERSION_NAME);
CUTTLEFISH_PART1_PROTOCOL_VERSION_NAME,
CUTTLEFISH_PART2_PROTOCOL_VERSION_NAME);

public static final String LATEST_PROTOCOL_VERSION_NAME =
VERSION_NAMES.get(VERSION_NAMES.size() - 1);
Expand Down
160 changes: 116 additions & 44 deletions core-rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ca383d9

Please sign in to comment.