Skip to content

Commit

Permalink
fix missing preset renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi committed Jan 27, 2025
1 parent 7fcae17 commit 730e203
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class SpecConfigEip7805Impl extends DelegatingSpecConfigElectra

private final Bytes4 eip7805ForkVersion;
private final UInt64 eip7805ForkEpoch;
private final int ilCommitteeSize;
private final int inclusionListCommitteeSize;
private final int maxTransactionsPerInclusionList;
private final int maxRequestInclusionList;
private final int maxBytesPerInclusionList;
Expand All @@ -33,14 +33,14 @@ public SpecConfigEip7805Impl(
final SpecConfigElectra specConfig,
final Bytes4 eip7805ForkVersion,
final UInt64 eip7805ForkEpoch,
final int ilCommitteeSize,
final int inclusionListCommitteeSize,
final int maxTransactionsPerInclusionList,
final int maxRequestInclusionList,
final int maxBytesPerInclusionList) {
super(specConfig);
this.eip7805ForkVersion = eip7805ForkVersion;
this.eip7805ForkEpoch = eip7805ForkEpoch;
this.ilCommitteeSize = ilCommitteeSize;
this.inclusionListCommitteeSize = inclusionListCommitteeSize;
this.maxTransactionsPerInclusionList = maxTransactionsPerInclusionList;
this.maxRequestInclusionList = maxRequestInclusionList;
this.maxBytesPerInclusionList = maxBytesPerInclusionList;
Expand All @@ -58,7 +58,7 @@ public UInt64 getEip7805ForkEpoch() {

@Override
public int getInclusionListCommitteeSize() {
return ilCommitteeSize;
return inclusionListCommitteeSize;
}

@Override
Expand Down Expand Up @@ -98,7 +98,7 @@ public boolean equals(final Object o) {
return Objects.equals(specConfig, that.specConfig)
&& Objects.equals(eip7805ForkVersion, that.eip7805ForkVersion)
&& Objects.equals(eip7805ForkEpoch, that.eip7805ForkEpoch)
&& ilCommitteeSize == that.ilCommitteeSize
&& inclusionListCommitteeSize == that.inclusionListCommitteeSize
&& maxTransactionsPerInclusionList == that.maxTransactionsPerInclusionList
&& maxRequestInclusionList == that.maxRequestInclusionList
&& maxBytesPerInclusionList == that.maxBytesPerInclusionList;
Expand All @@ -110,7 +110,7 @@ public int hashCode() {
specConfig,
eip7805ForkVersion,
eip7805ForkEpoch,
ilCommitteeSize,
inclusionListCommitteeSize,
maxTransactionsPerInclusionList,
maxRequestInclusionList,
maxBytesPerInclusionList);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Eip7805Builder implements ForkConfigBuilder<SpecConfigElectra, Spec
private Bytes4 eip7805ForkVersion;
private UInt64 eip7805ForkEpoch;

private Integer ilCommitteeSize;
private Integer inclusionListCommitteeSize;
private Integer maxTransactionsPerInclusionList;
private Integer maxRequestInclusionList;
private Integer maxBytesPerInclusionList;
Expand All @@ -47,7 +47,7 @@ public SpecConfigAndParent<SpecConfigEip7805> build(
specConfigAndParent.specConfig(),
eip7805ForkVersion,
eip7805ForkEpoch,
ilCommitteeSize,
inclusionListCommitteeSize,
maxTransactionsPerInclusionList,
maxRequestInclusionList,
maxBytesPerInclusionList),
Expand All @@ -66,9 +66,9 @@ public Eip7805Builder eip7805ForkVersion(final Bytes4 eip7805ForkVersion) {
return this;
}

public Eip7805Builder ilCommitteeSize(final Integer ilCommitteeSize) {
checkNotNull(ilCommitteeSize);
this.ilCommitteeSize = ilCommitteeSize;
public Eip7805Builder inclusionListCommitteeSize(final Integer inclusionListCommitteeSize) {
checkNotNull(inclusionListCommitteeSize);
this.inclusionListCommitteeSize = inclusionListCommitteeSize;
return this;
}

Expand Down Expand Up @@ -112,7 +112,7 @@ public Map<String, Object> getValidationMap() {

constants.put("eip7805ForkEpoch", eip7805ForkEpoch);
constants.put("eip7805ForkVersion", eip7805ForkVersion);
constants.put("ilCommitteeSize", ilCommitteeSize);
constants.put("inclusionListCommitteeSize", inclusionListCommitteeSize);
constants.put("maxTransactionsPerInclusionList", maxTransactionsPerInclusionList);
constants.put("maxRequestInclusionList", maxRequestInclusionList);
constants.put("maxBytesPerInclusionList", maxBytesPerInclusionList);
Expand Down

0 comments on commit 730e203

Please sign in to comment.