Skip to content

Commit cb1c467

Browse files
feat(whale-api): whitelist gettxout (#2186)
<!-- 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?:
1 parent 767aa71 commit cb1c467

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
5353
with:
5454
fail_ci_if_error: true
55+
env:
56+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5557

5658
docker-sanity:
5759
needs: [ build, lint ]

apps/whale-api/src/module.api/rpc.controller.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ export class MethodWhitelist implements PipeTransform {
4343
'getgovproposal',
4444
'listgovproposals',
4545
'listgovproposalvotes',
46-
'vmmap'
46+
'vmmap',
47+
'gettxout'
4748
]
4849

4950
transform (value: string, metadata: ArgumentMetadata): string {

0 commit comments

Comments
 (0)