Skip to content
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

feat(erc20): ERC-20 approval #1995

Merged
merged 6 commits into from Nov 3, 2023
Merged

feat(erc20): ERC-20 approval #1995

merged 6 commits into from Nov 3, 2023

Conversation

fedekunze
Copy link
Contributor

Description


Closes #XXX

@fedekunze fedekunze marked this pull request as ready for review November 3, 2023 13:50
@fedekunze fedekunze requested a review from a team as a code owner November 3, 2023 13:50
@fedekunze fedekunze requested review from Vvaradinov and facs95 and removed request for a team November 3, 2023 13:50
}

// get allowance and ignore the error as it will be checked in the switch statement below
allowance, _ := GetAllowance(p.AuthzKeeper, ctx, grantee, granter, p.tokenPair.Denom)

Check warning

Code scanning / gosec

Returned error is not propagated up the stack. Warning

Returned error is not propagated up the stack.
Copy link

codecov bot commented Nov 3, 2023

Codecov Report

Merging #1995 (8d04330) into main (25ccc47) will decrease coverage by 0.48%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1995      +/-   ##
==========================================
- Coverage   69.65%   69.17%   -0.48%     
==========================================
  Files         333      334       +1     
  Lines       24656    24824     +168     
==========================================
  Hits        17173    17173              
- Misses       6599     6767     +168     
  Partials      884      884              
Files Coverage Δ
precompiles/erc20/query.go 0.00% <0.00%> (ø)
precompiles/erc20/approve.go 0.00% <0.00%> (ø)

Copy link
Contributor

@0xstepit 0xstepit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

precompiles/erc20/approve.go Show resolved Hide resolved
precompiles/erc20/approve.go Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
precompiles/erc20/query.go Outdated Show resolved Hide resolved
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
@fedekunze fedekunze merged commit 7cfa1b5 into main Nov 3, 2023
32 of 34 checks passed
@fedekunze fedekunze deleted the fedekunze/erc20-approval branch November 3, 2023 16:48
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.

None yet

2 participants