Skip to content

Commit

Permalink
Preview has forked, adjust the tests.
Browse files Browse the repository at this point in the history
  There's one more era to the summary, and the execution cost have been lowered due to new Plutus optimizations.
  • Loading branch information
KtorZ committed Aug 6, 2024
1 parent 466f213 commit b85be34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('Local state queries', () => {
expect(bound.slot).toBeDefined()

const eraSummaries = await client.eraSummaries()
expect(eraSummaries).toHaveLength(6)
expect(eraSummaries).toHaveLength(7)

const byronGenesis = await client.genesisConfiguration('byron')
expect((byronGenesis as GenesisByron).initialVouchers).toBeDefined()
Expand Down Expand Up @@ -318,7 +318,7 @@ describe('Local state queries', () => {
describe('eraSummaries', () => {
it('can fetch era summaries for slotting arithmetic', async () => {
const eraSummaries = await LedgerStateQuery.eraSummaries(context)
expect(eraSummaries).toHaveLength(6)
expect(eraSummaries).toHaveLength(7)
eraSummaries.forEach(s => {
expect(s.start).toBeDefined()
expect(s.end).toBeDefined()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ describe('TransactionSubmission', () => {
},
budget: {
memory: 15694,
cpu: 5134808
cpu: 3776833
}
}])
})
Expand Down Expand Up @@ -206,7 +206,7 @@ describe('TransactionSubmission', () => {
},
budget: {
memory: 15694,
cpu: 5134808
cpu: 3776833
}
}])
})
Expand Down

0 comments on commit b85be34

Please sign in to comment.