Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
qiweiii committed Nov 21, 2024
1 parent 5c035ec commit a53cd03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public struct AvailabilitySpecifications: Sendable, Equatable, Codable {
public var segmentRoot: Data32

// n
public var segmentCount: Int
public var segmentCount: UInt16

public init(
workPackageHash: Data32,
Expand Down
1 change: 1 addition & 0 deletions JAMTests/Tests/JAMTests/CodecTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ struct CodecTests {
"len": json["length"]!,
"erasure_root": json["erasureRoot"]!,
"exports_root": json["segmentRoot"]!,
"exports_count": json["segmentCount"]!,
].json
}
if let value = value as? ExtrinsicGuarantees {
Expand Down

0 comments on commit a53cd03

Please sign in to comment.