-
Notifications
You must be signed in to change notification settings - Fork 127
[Feat] Automation Service #1589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
native-yield-operations/cronjob/src/core/services/contracts/IYieldManager.ts
Fixed
Show fixed
Hide fixed
native-yield-operations/cronjob/src/application/main/NativeYieldCronJobClient.ts
Fixed
Show fixed
Hide fixed
native-yield-operations/cronjob/src/clients/YieldManagerContractClient.ts
Fixed
Show fixed
Hide fixed
…ubmit latest vault report and unconditionally proceed to report yield
… submission - Add SHOULD_SUBMIT_VAULT_REPORT boolean config variable to config schema - Update config transformation to include shouldSubmitVaultReport - Modify YieldReportingProcessor to conditionally submit vault reports - Modify OssificationPendingProcessor to conditionally submit vault reports - Skip getLatestSubmitVaultReportParams when submission is disabled - Update bootstrap to pass config to both processors - Add comprehensive tests for new behavior
- Add YIELD_REPORT_POSITIVE_YIELD_THRESHOLD_WEI config variable - Add YIELD_REPORT_LIDO_PROTOCOL_FEE_THRESHOLD_WEI config variable - Both configs accept string/number/bigint and coerce to bigint - Both configs validate non-negative values - Update config transformation to include new fields - Update all test files to include new config variables - Add comprehensive documentation explaining OR logic between thresholds
* update version and changelog
…validation" This reverts commit ed6b23a.
| publicKey: v.publicKey, | ||
| validatorIndex: v.validatorIndex, | ||
| pendingWithdrawalAmount: pendingAmount, | ||
| withdrawableAmount: safeSub(safeSub(v.balance, pendingAmount), ONE_GWEI * 32n), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comment - // N.B We expect amounts from GraphQL API and Beacon Chain RPC URL to be in gwei units, not wei.
- Apply null coalescing before type assertion in VaultHubContractClient - Remove redundant type assertions and null checks - Fix missing newline at end of getNodeOperatorFeesPaidFromTxReceipt - Simplify return statements by moving default value handling earlier
| - name: Build and push postman image | ||
| uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #v6.18.0 | ||
| if: ${{ env.PUSH_IMAGE == 'true' || github.event_name == 'workflow_dispatch' }} | ||
| # if: ${{ env.PUSH_IMAGE == 'true' || github.event_name == 'workflow_dispatch' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so I can push changes to devnet without merging this PR lol, I put it back to uncommented now
This PR implements issue(s) #
Checklist
Note
Introduces the Native Yield Automation Service and a new shared utils library, refactors Postman to use shared logging/metrics/API, and adds blockchain clients, retry/metrics plumbing, and extensive tests.
native-yield-operations/automation-service):ts-libs/linea-shared-utils):ExpressApiApplicationandWinstonLogger; addPostmanMetricsService.Written by Cursor Bugbot for commit 637a281. This will update automatically on new commits. Configure here.