Skip to content

Task/1 refactoring - #2

Open
mkcosta wants to merge 3 commits into
mainfrom
task/1_refactoring
Open

Task/1 refactoring#2
mkcosta wants to merge 3 commits into
mainfrom
task/1_refactoring

Conversation

@mkcosta

@mkcosta mkcosta commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Closes #1

@mkcosta
mkcosta force-pushed the task/1_refactoring branch 2 times, most recently from 9992735 to b01d1ac Compare July 28, 2026 12:28
- sign_charge now delegates to sign_authorize instead of duplicating
  its body; Stablecoins.eip3009_tokens/eip2612_tokens share a private
  tokens_supporting helper.
- HttpClient#request: retry loop rewritten as an explicit while loop,
  the triplicated conditional log-field splat collapsed into one log()
  method, and the Net::HTTP request-class lookup hoisted into a frozen
  constant.
- Eip3009Signature#to_hex now raises on malformed (non-0x-prefixed) r/s
  instead of silently producing a bad signature.
- Added missing frozen_string_literal magic comments for consistency.
- Stripped inline implementation comments, section dividers, and docs
  on private methods; public class/module/constant docs and YARD
  @param/@return blocks are untouched.
@mkcosta
mkcosta force-pushed the task/1_refactoring branch 2 times, most recently from 9421a72 to 5d5151b Compare July 28, 2026 13:12
@mkcosta
mkcosta force-pushed the task/1_refactoring branch from 5d5151b to 404de97 Compare July 28, 2026 13:13
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.

Refactoring

1 participant