Skip to content

Commit e1380d6

Browse files
authored
Merge branch 'main' into feat/custom-evm-networks-ui
2 parents e7d01c9 + 4b56073 commit e1380d6

File tree

7 files changed

+14
-9
lines changed

7 files changed

+14
-9
lines changed

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.94.1"
2+
channel = "1.95.0"
33
targets = ["wasm32-unknown-unknown"]

src/backend/src/utils/housekeeping.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ pub(crate) fn start_periodic_housekeeping_timers() {
129129
set_timer(immediate, spawn_housekeeping_if_idle);
130130

131131
// Then periodically:
132-
let hour = Duration::from_secs(60 * 60);
132+
let hour = Duration::from_hours(1);
133133
let _ = set_timer_interval(hour, spawn_housekeeping_if_idle);
134134
}
135135

src/backend/tests/it/signer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ fn test_housekeeping_lock_resets_after_failed_topup() {
235235
// (no cycles ledger) and must release the guard so the next tick can
236236
// spawn a new one.
237237
for _ in 0..3 {
238-
pic_setup.pic.advance_time(Duration::from_secs(60 * 60));
238+
pic_setup.pic.advance_time(Duration::from_hours(1));
239239
for _ in 0..10 {
240240
pic_setup.pic.tick();
241241
}
@@ -294,7 +294,7 @@ fn test_housekeeping_resumes_after_cycles_ledger_becomes_available() {
294294

295295
// Advance well past the first hourly interval and process messages, giving
296296
// the canister time to run housekeeping with a working cycles ledger.
297-
pic_setup.pic.advance_time(Duration::from_secs(2 * 60 * 60));
297+
pic_setup.pic.advance_time(Duration::from_hours(2));
298298
for _ in 0..20 {
299299
pic_setup.pic.tick();
300300
}

src/frontend/src/env/oisy.metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
"OISY_LOGGING_INTO_OISY_URL": "https://docs.oisy.com/using-oisy-wallet/how-tos/logging-into-oisy",
2525
"OISY_CREATING_A_WALLET_URL": "https://docs.oisy.com/using-oisy-wallet/how-tos/creating-a-wallet",
2626
"OISY_SCAN_URL": "https://docs.oisy.com/using-oisy-wallet/how-tos/universal-scanner",
27-
"OISY_PAY_URL": "https://docs.oisy.com/using-oisy-wallet/oisy-pay"
27+
"OISY_PAY_URL": "https://docs.oisy.com/using-oisy-wallet/oisy-pay",
28+
"OISY_HIDE_MICRO_TRANSACTIONS_DOCS_URL": "https://docs.oisy.com/introduction/oisy-keeps-you-protected#filter-for-small-transactions"
2829
}

src/frontend/src/env/schema/env-oisy-metadata.schema.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ export const OisyMetadataSchema = z.object({
2626
OISY_LOGGING_INTO_OISY_URL: z.url(),
2727
OISY_CREATING_A_WALLET_URL: z.url(),
2828
OISY_SCAN_URL: z.url(),
29-
OISY_PAY_URL: z.url()
29+
OISY_PAY_URL: z.url(),
30+
OISY_HIDE_MICRO_TRANSACTIONS_DOCS_URL: z.url()
3031
});

src/frontend/src/lib/components/settings/Settings.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import Button from '$lib/components/ui/Button.svelte';
1313
import Copy from '$lib/components/ui/Copy.svelte';
1414
import ExternalLink from '$lib/components/ui/ExternalLink.svelte';
15+
import { OISY_HIDE_MICRO_TRANSACTIONS_DOCS_URL } from '$lib/constants/oisy.constants';
1516
import {
1617
SETTINGS_ACTIVE_NETWORKS_EDIT_BUTTON,
1718
SETTINGS_ADDRESS_LABEL,
@@ -138,7 +139,7 @@
138139

139140
<ExternalLink
140141
ariaLabel={$i18n.settings.text.learn_more}
141-
href="https://support.oisy.com/hc/hidden-transactions"
142+
href={OISY_HIDE_MICRO_TRANSACTIONS_DOCS_URL}
142143
iconVisible={false}>{$i18n.settings.text.learn_more}</ExternalLink
143144
>
144145
</span>

src/frontend/src/lib/constants/oisy.constants.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export const {
2828
OISY_LOGGING_INTO_OISY_URL,
2929
OISY_CREATING_A_WALLET_URL,
3030
OISY_SCAN_URL,
31-
OISY_PAY_URL
31+
OISY_PAY_URL,
32+
OISY_HIDE_MICRO_TRANSACTIONS_DOCS_URL
3233
} = safeParse({
3334
schema: OisyMetadataSchema,
3435
value: metadata,
@@ -58,7 +59,8 @@ export const {
5859
OISY_LOGGING_INTO_OISY_URL: '',
5960
OISY_CREATING_A_WALLET_URL: '',
6061
OISY_SCAN_URL: '',
61-
OISY_PAY_URL: ''
62+
OISY_PAY_URL: '',
63+
OISY_HIDE_MICRO_TRANSACTIONS_DOCS_URL: ''
6264
}
6365
});
6466

0 commit comments

Comments
 (0)