issues
search
NibiruChain
/
nibiru
Nibiru Chain: The breakthrough smart contract platform ushering in the next era of money. Nibiru powers an ecosystem of dApps including perps, RWAs, and more.
https://nibiru.fi
Apache License 2.0
179
stars
200
forks
source link
test(evm): EVM Module keeper-based tests
#1877
Open
Unique-Divine
opened
2 months ago
Unique-Divine
commented
2 months ago
Happy Paths
[x] Happy path tests for all tx types in the EVM module
[x] Happy path tests for the "IFunToken.sol" precompile, which makes it possible to send ERC20 tokens to a "nibi"-prefixed bech32 address.
[x] 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
Happy Paths
More Elaborate Tests
CreateFunToken
ERC20Minter.burnFromAuthority
permissions and behavior