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: introduce blocked addrs feature #30

Merged
merged 2 commits into from
Jul 12, 2024
Merged

feat: introduce blocked addrs feature #30

merged 2 commits into from
Jul 12, 2024

Conversation

beer-1
Copy link
Collaborator

@beer-1 beer-1 commented Jul 9, 2024

ERC20 will check

  • to is the blocked address at mint
  • recipient is the blocked address at transfer and transferFrom
  • from is module account at burn

Introduce sudo functions for chain operations to conduct bank operation without the above restrictions.

@beer-1 beer-1 self-assigned this Jul 9, 2024
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

Attention: Patch coverage is 17.71429% with 144 lines in your changes missing coverage. Please review.

Project coverage is 31.35%. Comparing base (44ba6a4) to head (2c17feb).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   31.67%   31.35%   -0.32%     
==========================================
  Files          68       69       +1     
  Lines        8439     8594     +155     
==========================================
+ Hits         2673     2695      +22     
- Misses       5408     5534     +126     
- Partials      358      365       +7     
Files Coverage Δ
app/app.go 82.64% <100.00%> (+0.01%) ⬆️
x/evm/contracts/counter/Counter.go 0.00% <ø> (ø)
x/evm/contracts/erc20_factory/ERC20Factory.go 0.00% <ø> (ø)
x/evm/contracts/erc20_registry/ERC20Registry.go 0.00% <ø> (ø)
x/evm/keeper/context.go 69.45% <ø> (+0.25%) ⬆️
x/evm/keeper/erc20.go 43.06% <100.00%> (ø)
x/evm/keeper/keeper.go 67.08% <100.00%> (+0.42%) ⬆️
x/evm/keeper/precompiles.go 82.85% <100.00%> (+0.50%) ⬆️
x/evm/keeper/erc20_stores.go 53.65% <0.00%> (ø)
x/evm/contracts/custom_erc20/CustomERC20.go 0.00% <0.00%> (ø)
... and 5 more

@beer-1 beer-1 merged commit 90bc431 into main Jul 12, 2024
4 checks passed
@beer-1 beer-1 deleted the feat/blocked-addrs branch July 12, 2024 07:49
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.

1 participant