From 9c41a7f7f62cca002c0d1023717108c20c9d2bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20B=C3=A9k=C3=A9si?= Date: Thu, 7 May 2026 15:54:08 +0200 Subject: [PATCH 1/3] feat: show time data at stamp expiration --- src/command/stamp/list.ts | 2 +- src/service/stamp/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/stamp/list.ts b/src/command/stamp/list.ts index f6a69888..57c2a91b 100644 --- a/src/command/stamp/list.ts +++ b/src/command/stamp/list.ts @@ -46,7 +46,7 @@ export class List extends StampCommand implements LeafCommand { super.init() this.console.verbose(`Listing postage stamps...`) - const stamps = (await this.bee.getAllPostageBatch()) || [] + const stamps = (await this.bee.getPostageBatches()) || [] if (stamps.length === 0) { this.console.error('You do not have any stamps.') diff --git a/src/service/stamp/index.ts b/src/service/stamp/index.ts index 1598176c..ffaa877d 100644 --- a/src/service/stamp/index.ts +++ b/src/service/stamp/index.ts @@ -60,7 +60,7 @@ export function printStamp(stamp: PostageBatch, console: CommandLog, settings?: if (settings?.showTtl) { const ttl = Dates.secondsToHumanTime(stamp.duration.toSeconds()) - const expires = stamp.duration.toEndDate().toISOString().slice(0, 10) + const expires = stamp.duration.toEndDate().toISOString().replace('T', ' ').slice(0, 19) + ' UTC' console.log(createKeyValue('TTL', `${ttl} (${expires})`)) } From 40998cb24391e83563e807f83ab90206162fcd20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20B=C3=A9k=C3=A9si?= Date: Wed, 6 May 2026 10:31:28 +0200 Subject: [PATCH 2/3] ci: update deposit command --- .github/workflows/tests-rc.yaml | 10 +++++----- .github/workflows/tests.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests-rc.yaml b/.github/workflows/tests-rc.yaml index 83c8ddc2..47cb462d 100644 --- a/.github/workflows/tests-rc.yaml +++ b/.github/workflows/tests-rc.yaml @@ -58,11 +58,11 @@ jobs: - name: Deposit to chequebook run: | - swarm-cli cheque deposit 100000000000000000 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:11633 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:21633 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:31633 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:41633 + swarm-cli cheque deposit 10 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:11633 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:21633 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:31633 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:41633 - name: Print swarm-cli status continue-on-error: true diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e752252a..7e8863bc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,11 +42,11 @@ jobs: - name: Deposit to chequebook run: | - swarm-cli cheque deposit 100000000000000000 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:11633 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:21633 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:31633 - swarm-cli cheque deposit 100000000000000000 --bee-api-url http://localhost:41633 + swarm-cli cheque deposit 10 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:11633 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:21633 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:31633 + swarm-cli cheque deposit 10 --bee-api-url http://localhost:41633 - name: Print swarm-cli status continue-on-error: true From 45f83980804e19de52c52f3f2cd1f17276878845 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 14:33:07 +0000 Subject: [PATCH 3/3] test: update test coverage