forked from babylonlabs-io/simple-staking
-
Notifications
You must be signed in to change notification settings - Fork 0
Sync repo #7
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
Merged
Merged
Sync repo #7
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat: add tests for critical paths (babylonlabs-io#833) * feat: add link to the staking guide --------- Co-authored-by: Jony Bursztyn <[email protected]> Co-authored-by: David Totrashvili <[email protected]>
merge back staking fee fix
chore: use APR instead of APY (babylonlabs-io#937)
* Add CI for unit tests * Potential fix for code scanning alert no. 29: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
merge main into release branch
fix: use APR instead of APY from API (babylonlabs-io#950)
…logs feat: add wallet logs
* define clientError Class * resolve comments
…ylonlabs-io#953) * feat: implement logger for observability with Sentry integration * fix: refactor logger (babylonlabs-io#955) * fix: refactor logger * fix import --------- Co-authored-by: jeremy-babylonchain <[email protected]> --------- Co-authored-by: David Totrashvili <[email protected]>
feat: add wallet logs feat: implement logger for observability with Sentry integration (babylonlabs-io#953) fix: refactor logger (babylonlabs-io#955) --------- Co-authored-by: jeremy-babylonchain <[email protected]> --------- Co-authored-by: David Totrashvili <[email protected]> --------- Co-authored-by: David Totrashvili <[email protected]> Co-authored-by: Jeremy <[email protected]>
…e-certain-wallets fix: allow disable wallets
* Fix flaky test * Mock getDisabledWallets
* feat:sentry add user id and wallet info * fix:resolve comments
* refactor: replace existing errors with ClientError across multiple files * refactor: remove Sentry integration from ErrorProvider * refactor: add logger calls for ClientErrors * refactor: add missing metadata to clientClass body * refactor: replace ServerError with ClientError in tests * refactor: fix error logger and add info logger * refactor: add wallet config error handling
* Add useDelegationStorage tests * Fix import ordering in useTransactionService tests * Add tests for useStakingService hooks * Add tests for useRegistrationService * Add tests for useV1TransactionService * Add BalanceState tests * State management tests * Add FeeCalculations tests * Add tests for getDelegationsV2, getNetworkInfo, postUnbonding * Add tests for verifyBTCAddress, errorHandling, StakingState * Add fees calculation tests * Unify fee calculations test * Remove unused var * Install msw * Separate mocks * Downgrade, implement MSW * Fix toSorted type * Skip test for negative fees * Remove redundant values * Fix lint * Fix lint * Fix lint * Fix lint * Add ThemeProvider wrapper * Fix lint * Add type * Change import name * Revert fix * Move global type to global file * Revert change * Refactor * Setup * Mocks and first test * Implement msw * Move msw mocks to mocks folder * Move spec to specs folder * Set up middleware pattern * Extend mocks * Refactor * Implement further mocks * Improve injection of blockchain mocks * Fully mock calls * Fix delegations mock * Cleanup * Cleanup * Revert useBbnQuery change * Add GH workflow for e2e test run * Remove redundant types file * Potential fix for code scanning alert no. 28: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Fix lint issue * Only run new tests * Lower timeout * Fix timeout on CI * Start lightweight static server * Update timeout * Revert command * Change next config * Add console logs for debugging * Add logs * Further loggin * Revert playwright config changes * Update playwright.config.ts Co-authored-by: David Totrashvili <[email protected]> * Fixes on playwright * Increase header size * Implement larger header size * Fix broken test * Revert command change * Fix build for CI * remove output export * Fix race condition * Disable sentry for CI * Disable sentry for CI * Remove build step * Inject port * Fix tests running locally * Add Debug * Remove build step from yml, improve logging * Fixes for CI * Changes in build * Readd build * Add env vars * Tests with data-testids * Implement E2E flag * Add loader for delegations * Fixes * Change logging * Prolong timeout * Add logging * Debug MSW * Remove inline injections * Revert data-testids * Add further mocks * Fix mock * Further mock fixings * Add another mock * Add logging * Add tests to configs * Add further logging * Revert config change * Add further logging * Fixes * More logging * Change injected network * Fix * Move env local to playwright * Add AuthGuard logging * Add logs to everything * Inline config * Revert change to AuthGuard * Set headless to false * Clean up logs * Mock healthcheck * Mock healthcheck * Hardcode geoBlocking * Mock screening as well * Remove hardcoding * Inject healthCheck response * Split handlers, readd report * Split blockchain mocks * Remove logs * Remove logs * Remove unused code, refactor * Refactors, implement further middlewares * Mini refactor * Separate selectors into its own file * Further refeactors * Revert unused code * Revert unused code * Refactor build script * Fix test * Disable workflow * Remove redundant mock * Move consts to constants file * Rename middleware to fixtures, remove unused code * Refactor blockchain handlers * Refactor btcWallet * Revert bbnQueries.ts * Remove unused methods * Remove further methods * Restore previous changes * Revert next config changes * Set output in case of CI * Try mocking healthcheck * Revert "Try mocking healthcheck" This reverts commit 6dbc09e. * Refactor constants, fix local build * Refactor for base path * Set up e2e types * Add firefox and webkit * Disable firefox, webkit * Reenable browsers, add installation step * Remove webkit * Leave only chrome * Readd firefox * Fix healthcheck endpoint mocking (babylonlabs-io#970) * Log out healthcheck * Add logs * Add further logging * Fix healthcheck pattern * Make catch-all more generic * Add one more log * Add to BBN Queries * Remove loggers * Remove from utility handlers * Skip test * (e2e) fully mock staking api (babylonlabs-io#972) * Fully mock staking api * Enable e2e test * Fully mock blockchain calls * Make test more robust * Improve URL selection * Increase timeout limit --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: David Totrashvili <[email protected]>
* Add loggers * Set up logger
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
mbaranovski
approved these changes
May 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.