Skip to content

Commit

Permalink
feat(whale-api): whitelist gettxout (#2186)
Browse files Browse the repository at this point in the history
<!--  Thanks for sending a pull request! -->

#### What this PR does / why we need it:

#### Which issue(s) does this PR fixes?:
<!--
(Optional) Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

#### Additional comments?:
  • Loading branch information
fullstackninja864 authored May 10, 2024
1 parent 767aa71 commit cb1c467
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

docker-sanity:
needs: [ build, lint ]
Expand Down
3 changes: 2 additions & 1 deletion apps/whale-api/src/module.api/rpc.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export class MethodWhitelist implements PipeTransform {
'getgovproposal',
'listgovproposals',
'listgovproposalvotes',
'vmmap'
'vmmap',
'gettxout'
]

transform (value: string, metadata: ArgumentMetadata): string {
Expand Down

0 comments on commit cb1c467

Please sign in to comment.