Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Deploy to Fly.io
run: |
if flyctl deploy --config fly.mainnet.toml --remote-only; then
if flyctl deploy --config fly.mainnet.toml; then
echo "Deploy succeeded"
else
echo "Deploy failed — cleaning up unreachable machines..."
Expand All @@ -35,7 +35,7 @@ jobs:
done

echo "Retrying deploy..."
flyctl deploy --config fly.mainnet.toml --remote-only
flyctl deploy --config fly.mainnet.toml
fi
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Deploy to Fly.io
run: |
if flyctl deploy --config fly.testnet.toml --remote-only; then
if flyctl deploy --config fly.testnet.toml; then
echo "Deploy succeeded"
else
echo "Deploy failed — cleaning up unreachable machines..."
Expand All @@ -34,7 +34,7 @@ jobs:
done

echo "Retrying deploy..."
flyctl deploy --config fly.testnet.toml --remote-only
flyctl deploy --config fly.testnet.toml
fi
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion src/core/state/store_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ Deno.test("sparklines return 60 buckets, count events in the right bucket", () =

Deno.test("sparklines volume sums deposit + settlement amounts in whole units", () => {
const s = makeStore();
const now = Date.now();
s.replaceTopology([
council("CA", [{ contractId: "CH1", assetContractId: "SAC1" }]),
]);
Expand All @@ -239,7 +240,7 @@ Deno.test("sparklines volume sums deposit + settlement amounts in whole units",
amount: "5000000", // 0.5 in whole units
}, "CA"),
);
const sp = s.sparklines();
const sp = s.sparklines(now);
assertEquals(sp.volume[SPARKLINE_BUCKET_COUNT - 1], 2);
});

Expand Down
Loading