Skip to content

Commit

Permalink
Merge pull request #654 from ar-io/develop
Browse files Browse the repository at this point in the history
chore: release TTL change to prod
  • Loading branch information
dtfiedler authored Jan 28, 2025
2 parents e41cb2c + 81f2d37 commit 784ba69
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/state/actions/dispatchArIOInteraction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ export default async function dispatchArIOInteraction({

const antRegistry = ANTRegistry.init({
signer,
processId: ANT_REGISTRY_ID,
process: new AOProcess({
processId: ANT_REGISTRY_ID,
ao,
}),
});
await antRegistry
.register({
Expand Down
12 changes: 11 additions & 1 deletion src/state/actions/dispatchArNSUpdate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import {
ANT,
ANTRegistry,
ANT_REGISTRY_ID,
AOProcess,
AoANTHandler,
AoANTState,
Expand Down Expand Up @@ -144,7 +146,15 @@ export function dispatchArNSUpdate({
});

emitter
.fetchProcessesOwnedByWallet({ address: walletAddress.toString() })
.fetchProcessesOwnedByWallet({
address: walletAddress.toString(),
antRegistry: ANTRegistry.init({
process: new AOProcess({
processId: ANT_REGISTRY_ID,
ao,
}),
}),
})
.catch((e) =>
errorHandler('Error getting assets owned by wallet: ' + e.message),
);
Expand Down
4 changes: 2 additions & 2 deletions src/utils/transactionUtils/transactionUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ export function createDefaultAntState(state: any) {
records: {
['@']: {
transactionId: LANDING_PAGE_TXID.toString(),
ttlSeconds: 3600,
ttlSeconds: 900,
},
},
...state,
Expand All @@ -772,7 +772,7 @@ export function createAntStateForOwner(owner: string, targetId?: string) {
records: {
['@']: {
transactionId: targetId ?? LANDING_PAGE_TXID.toString(),
ttlSeconds: 3600,
ttlSeconds: 900,
},
},
});
Expand Down

0 comments on commit 784ba69

Please sign in to comment.