automated contributor leaderboard - #146
Closed
Achievers-sketch wants to merge 16 commits into
Closed
Conversation
Predict the gas (Soroban resource) cost of a contract call from its simulation, compare against configurable per-transaction limits, and log over-budget calls to guard against gas-exhaustion DoS. Closes Vero-protocol#6 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…e-monitor Predict the gas (Soroban resource) cost of a contract call from its simulation, compare against configurable per-transaction limits, and log over-budget calls to guard against gas-exhaustion DoS. Closes Vero-protocol#6 Co-authored-by: Olusegun Kehinde <olusegunkehindejones@gmail.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Move the Windows-only @next/swc-win32-x64-msvc binary from dependencies to optionalDependencies so npm ci skips it on non-Windows platforms instead of failing with EBADPLATFORM. Next.js resolves the correct platform swc binary on its own. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…x-ci-install fix: make npm ci succeed on Linux/CI
- jest.setup: polyfill TextEncoder/TextDecoder and Web Crypto subtle (jsdom lacks them) so session encryption paths run in tests - logger: pass Uint8Array views (not raw ArrayBuffer) to subtle.decrypt so it works across the jsdom/node realm boundary - txBuilder test: mark simulation mock as parsed with a result so assembleTransaction consumes it instead of re-parsing - VoteButton test: declare missing mockUseNetwork - wallet tests: assert persisted values via getSessionItem (decrypts) now that the wallet stores encrypted session data Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…ing-tests - jest.setup: polyfill TextEncoder/TextDecoder and Web Crypto subtle (jsdom lacks them) so session encryption paths run in tests - logger: pass Uint8Array views (not raw ArrayBuffer) to subtle.decrypt so it works across the jsdom/node realm boundary - txBuilder test: mark simulation mock as parsed with a result so assembleTransaction consumes it instead of re-parsing - VoteButton test: declare missing mockUseNetwork - wallet tests: assert persisted values via getSessionItem (decrypts) now that the wallet stores encrypted session data Co-authored-by: Olusegun Kehinde <olusegunkehindejones@gmail.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Add a maxHistory option (default DEFAULT_MAX_HISTORY=1000) so the records array no longer grows without limit in a long-running relayer. Oldest records are dropped once the cap is exceeded; maxHistory <= 0 keeps history unbounded. Addresses Devin Review feedback on #1. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…or-maxhistory fix: cap GasUsageMonitor retained history to bound memory
Contributor
|
Please create a new branch dont push to main |
N-thnI
approved these changes
Jul 1, 2026
Contributor
|
Please ensure all checks pass |
Signed-off-by: Olusegun Kehinde <olusegunkehindejones@gmail.com>
Signed-off-by: Olusegun Kehinde <olusegunkehindejones@gmail.com>
Signed-off-by: Olusegun Kehinde <olusegunkehindejones@gmail.com>
Signed-off-by: Olusegun Kehinde <olusegunkehindejones@gmail.com>
Contributor
Author
|
Omoooorrrrr |
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
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.
Closes #47
Closes #52