Skip to content

Commit

Permalink
format files
Browse files Browse the repository at this point in the history
  • Loading branch information
rjnrohit committed Mar 12, 2024
1 parent 4e0cb0f commit 25baab0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ExecutionPayload(Block block)
public ulong Timestamp { get; set; }

private byte[][] _encodedTransactions = Array.Empty<byte[]>();
private byte[][]? _encodedInclusionList =null;
private byte[][]? _encodedInclusionList = null;

/// <summary>
/// Gets or sets an array of RLP-encoded transaction where each item is a byte list (data)
Expand Down Expand Up @@ -231,7 +231,8 @@ public void SetTransactions(params Transaction[] transactions)
/// Decodes and returns an array of <see cref="Transaction"/> from <see cref="InclusionList"/>.
/// </summary>
/// <Param name="inclusionList">An array of transactions to encode.</Param>
public void SetInclusionList(params Transaction[]? inclusionList){
public void SetInclusionList(params Transaction[]? inclusionList)
{

if (inclusionList is null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ namespace Nethermind.Merge.Plugin.Data;
/// <summary>
/// Represent an object mapping the <c>ExecutionPayloadV4</c> structure of the beacon chain spec.
/// </summary>
public class ExecutionPayloadV4: ExecutionPayloadV3
public class ExecutionPayloadV4 : ExecutionPayloadV3
{
public override bool ValidateFork(ISpecProvider specProvider) =>
specProvider.GetSpec(BlockNumber, Timestamp).IsEip7547Enabled;
}
}

0 comments on commit 25baab0

Please sign in to comment.