Skip to content

feat: Automatically approve blocked deposits#2198

Merged
MihaiAndrei98 merged 14 commits into
mainfrom
andrei/int1-632
Jun 12, 2026
Merged

feat: Automatically approve blocked deposits#2198
MihaiAndrei98 merged 14 commits into
mainfrom
andrei/int1-632

Conversation

@MihaiAndrei98

@MihaiAndrei98 MihaiAndrei98 commented May 22, 2026

Copy link
Copy Markdown
Contributor

Context

Changes

Got list of pending manual approval transactions from GateHub
Automatically approved above transactions.

@github-actions github-actions Bot added package: wallet/backend Wallet backend implementations type: source Source changes labels May 22, 2026
Comment thread packages/wallet/backend/src/transaction/service.ts Outdated
Comment thread packages/wallet/backend/src/gatehub/client.ts
Comment thread packages/wallet/backend/src/transaction/service.ts Outdated
Comment thread packages/wallet/backend/src/app.ts Outdated
Comment thread packages/wallet/backend/src/transaction/service.ts Outdated
Andrei Mihai and others added 7 commits June 3, 2026 16:34
* fix(wallet): enforce subject and access ownership checks for grants

* fix(wallet): PR review improvement
* refactor: support for mockgatehub in local environment

* fix: fixed linting issues

* fix: clean up

* fix: repaired broken test related to emailService

* fix: removed the +4 precision guard we don't need

* fix: address PR review feedback and fix Docker build

* fix: removed changes to formatAmount

* refactor(local): breaking up into multiple service files

* ci: changed configuration scheme to fail fast if misconfigured

* ci: makefile target for rafiki assets

* ci: default rafiki seeder will only seed two currencies for now

* fix: resolved dependency issues and aligned with workspace

* refactor: ci now part of local

* ci: removal of makefiles

* docs: updated readme

* lint: fixed all linting problems

* fix: cleanup of debug

* test: wallet unittest configuration fixes

* style: prettier automatic fixes to resolve linting

* fix: better secure domain handling

* wip: experimenting

* refactor: wallet and boutique now run on host

* fix: examples are now useful

* ci: added npm run to make testing easy

* style: linting issues in rafiki setup file

* docs: cleanup instructions

* style: fixed linting issues introduced when I added th elogging

* fix: added validation rules to boutique config

* style: fixed linting

* style: prettier

* fix: removed hardcoded interledger.cards

* fix: update dev start

* fix: flaky tests resolution

* fix: backends will not fail silently

* fix: correcting secrets

* fix: resolved issue where hosted balances were incorrectly calculated

* ci: will now pull before up

* fix: we will not ask for sudo if we don't need it anymore

* style: prettier lint fix

* test: resolved test issue where faker was creating short strings

* docs: github copilot instructions update

* docs: tweaks to readme

* style: prettier fix

* fix: removed dangling e2e workspace

* fix: minor edit to prevent 'cannot update RefundProvider' bug

* fix: solve rafiki connection issues

* fix: rafiki assets creation script should fail fast on error

* docs: cleaned up documentation and examples

* fix: upgraded local environment to use Traefik v3.6

* style: prettier linting

* style: did pnpm format

* fix(local): traefik will now auth.interledger.test/graphql

---------

Co-authored-by: dragosp1011 <dragosh1011@gmail.com>
Co-authored-by: Andrei Mihai <andreimihai@Andreis-MacBook-Pro.local>
Comment thread packages/wallet/backend/src/gatehub/service.ts Outdated
Comment thread packages/wallet/backend/src/gatehub/service.ts Outdated
Comment thread packages/wallet/backend/src/gatehub/types.ts
Comment thread packages/wallet/backend/src/gatehub/types.ts Outdated
dragosp1011
dragosp1011 previously approved these changes Jun 12, 2026

@Tymmmy Tymmmy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the bellow

Comment thread packages/wallet/backend/src/transaction/service.ts Outdated
Comment thread packages/wallet/backend/src/transaction/service.ts Outdated
return account
}

public async checkGatehubWalletIds(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public async checkGatehubWalletIds(
public async checkGateHubWalletIds(

const recevivingWalletAddresses = transactions.map(
(trx) => trx.receiving_wallet.address
)
const walletIds = await this.accountService.checkGatehubWalletIds(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const walletIds = await this.accountService.checkGatehubWalletIds(
const walletIds = await this.accountService.checkGateHubWalletIds(

@MihaiAndrei98 MihaiAndrei98 merged commit 57947c8 into main Jun 12, 2026
21 of 22 checks passed
@MihaiAndrei98 MihaiAndrei98 deleted the andrei/int1-632 branch June 12, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: wallet/backend Wallet backend implementations type: source Source changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants