Skip to content

automated contributor leaderboard - #146

Closed
Achievers-sketch wants to merge 16 commits into
Vero-protocol:mainfrom
Achievers-sketch:main
Closed

automated contributor leaderboard#146
Achievers-sketch wants to merge 16 commits into
Vero-protocol:mainfrom
Achievers-sketch:main

Conversation

@Achievers-sketch

@Achievers-sketch Achievers-sketch commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Closes #47
Closes #52

Achievers-sketch and others added 11 commits June 23, 2026 05:38
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
@N-thnI

N-thnI commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Please create a new branch dont push to main

@N-thnI

N-thnI commented Jul 1, 2026

Copy link
Copy Markdown
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>
@Achievers-sketch

Copy link
Copy Markdown
Contributor Author

Omoooorrrrr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add automated contributor leaderboard feat: implement real-time activity log export

2 participants