Skip to content

Commit

Permalink
feat: add stamp create, utility get-bee and utility redeem commands (#…
Browse files Browse the repository at this point in the history
…551)

* feat: add stamp create, utility get-bee and utility redeem commands

* style: adjust code style

* test: fix tests

* chore: simplify wording

* test: increase timeout

* feat: check for minimumAmount

* test: fix zero price per block in test

* fix: fix stamp picker remaining capacity

* fix: remove 1h case from ttl description
  • Loading branch information
Cafe137 authored Dec 5, 2024
1 parent 3525734 commit 8b0d5a4
Show file tree
Hide file tree
Showing 18 changed files with 1,371 additions and 162 deletions.
3 changes: 2 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* https://jestjs.io/docs/en/configuration.html
*/
import type { Config } from '@jest/types'
import { Dates } from 'cafe-utility'
import { getPssAddress } from './test/utility/address'
import { getOrBuyStamp } from './test/utility/stamp'

Expand Down Expand Up @@ -52,6 +53,6 @@ export default async (): Promise<Config.InitialOptions> => {
testPathIgnorePatterns: ['/node_modules/'],

// Increase timeout since we have long running cryptographic functions
testTimeout: 4 * 60 * 1000,
testTimeout: Dates.minutes(5),
}
}
Loading

0 comments on commit 8b0d5a4

Please sign in to comment.