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

test(evm): EVM Module keeper-based tests #1877

Open
3 of 9 tasks
Tracked by #1836
Unique-Divine opened this issue May 14, 2024 · 0 comments
Open
3 of 9 tasks
Tracked by #1836

test(evm): EVM Module keeper-based tests #1877

Unique-Divine opened this issue May 14, 2024 · 0 comments
Labels
x: evm Relates to Nibiru EVM or the EVM Module

Comments

@Unique-Divine
Copy link
Member

Unique-Divine commented May 14, 2024

Happy Paths

  • Happy path tests for all tx types in the EVM module
  • Happy path tests for the "IFunToken.sol" precompile, which makes it possible to send ERC20 tokens to a "nibi"-prefixed bech32 address.
  • Happy path tests for each gRPC query

More Elaborate Tests

  • test: CreateFunToken (from ERC20) with ownership and balance validation
  • test: CreateFunToken (from bank coin) with ownership and balance validation
  • test: FunToken precompile with ownership and balance validation. Validate balances inside and outside the EVM
  • test: that fees are properly deducted from CreateFunToken
  • test(precompile): Add sad paths for calls that we expect to fail
  • test(precompile): ERC20Minter.burnFromAuthority permissions and behavior
@Unique-Divine Unique-Divine added the x: evm Relates to Nibiru EVM or the EVM Module label May 19, 2024
@Unique-Divine Unique-Divine changed the title test(evm): EVM Module keeper-based integration tests test(evm): EVM Module keeper-based tests Jul 10, 2024
@Unique-Divine Unique-Divine moved this to ⚡ Building 🧱 in ⚛️ Nibiru (Hougyoku) Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x: evm Relates to Nibiru EVM or the EVM Module
Projects
Status: ⚡ Building 🧱
Development

No branches or pull requests

1 participant