Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Oct 21, 2024
1 parent 201670d commit e9c3f5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Boka/Tests/BokaTests/BokaTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class BokaTests {
@Test func commandWithAllConfig() async throws {
let sepc = ResourceLoader.loadResource(named: "devnet_allconfig_spec.json")!.path()
let genesis: Genesis = .file(path: sepc)
let (_, protocolConfig) = try await genesis.load()
let (_, _, protocolConfig) = try await genesis.load()
#expect(protocolConfig.value.maxWorkItems == 2)
#expect(protocolConfig.value.serviceMinBalance == 100)
}
Expand All @@ -49,7 +49,7 @@ final class BokaTests {
let sepc = ResourceLoader.loadResource(named: "mainnet_someconfig_spec.json")!.path()
let genesis: Genesis = .file(path: sepc)
let config = ProtocolConfigRef.mainnet.value
let (_, protocolConfig) = try await genesis.load()
let (_, _, protocolConfig) = try await genesis.load()
#expect(protocolConfig.value.auditTranchePeriod == 100)
#expect(protocolConfig.value.pvmProgramInitSegmentSize == config.pvmProgramInitSegmentSize)
}
Expand All @@ -58,7 +58,7 @@ final class BokaTests {
let sepc = ResourceLoader.loadResource(named: "devnet_noconfig_spec.json")!.path()
let genesis: Genesis = .file(path: sepc)
let config = ProtocolConfigRef.dev.value
let (_, protocolConfig) = try await genesis.load()
let (_, _, protocolConfig) = try await genesis.load()
#expect(protocolConfig.value.maxWorkItems == config.maxWorkItems)
#expect(protocolConfig.value.serviceMinBalance == config.serviceMinBalance)
}
Expand Down

0 comments on commit e9c3f5c

Please sign in to comment.