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

Rename BftForkSpec to ForkSpec and make it generic #3087

Merged
merged 3 commits into from
Nov 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename var
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
  • Loading branch information
jframe committed Nov 19, 2021
commit 7b120ab4bf0b84eb4c7036938934d9d64662ee18
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ public ProtocolSchedule createProtocolSchedule(
bftForksSchedule
.getForks()
.forEach(
bftForkSpec ->
forkSpec ->
specMap.put(
bftForkSpec.getBlock(),
forkSpec.getBlock(),
builder ->
applyBftChanges(
bftForkSpec.getValue(),
forkSpec.getValue(),
builder,
config.isQuorum(),
createBlockHeaderRuleset(bftForkSpec.getValue()),
createBlockHeaderRuleset(forkSpec.getValue()),
bftExtraDataCodec,
Optional.of(bftForkSpec.getValue().getBlockRewardWei()))));
Optional.of(forkSpec.getValue().getBlockRewardWei()))));

final ProtocolSpecAdapters specAdapters = new ProtocolSpecAdapters(specMap);

Expand Down