-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(evm): Combine both account queries into "/eth.evm.v1.Query/EthAc…
…count", accepting both nibi-prefixed Bech32 addresses and Ethereum-type hexadecimal addresses as input. (#1986) * refactor: remove unused vars. improve error clarity for testnetwork/New * refactor: use pebbledb as the test db * changelog * refactor(statedb): separate Account and AccountWei to have state objects manipulate in wei units * math functions for unibi and wei * chore: wei unit migration * test(statedb): complete the wei-based account migration. Remove all mocks * test(statedb_test.go): more thorough test cases * Squashed commit of the following: merge ud/attonibi commit e171a5e Merge: 4419067 3c73f03 Author: Unique-Divine <[email protected]> Date: Mon Aug 5 06:01:44 2024 -0500 Merge branch 'main' into ud/attonibi commit 4419067 Author: Unique-Divine <[email protected]> Date: Mon Aug 5 03:04:46 2024 +0200 test(statedb_test.go): more thorough test cases commit 18995b6 Author: Unique-Divine <[email protected]> Date: Mon Aug 5 01:25:14 2024 +0200 test(statedb): complete the wei-based account migration. Remove all mocks commit 9cd1edf Author: Unique-Divine <[email protected]> Date: Sun Aug 4 04:32:31 2024 +0200 chore: wei unit migration commit cd9642b Author: Unique-Divine <[email protected]> Date: Sun Aug 4 04:27:33 2024 +0200 math functions for unibi and wei commit a1c5782 Author: Unique-Divine <[email protected]> Date: Sun Aug 4 04:26:58 2024 +0200 refactor(statedb): separate Account and AccountWei to have state objects manipulate in wei units commit e106002 Author: Unique-Divine <[email protected]> Date: Tue Jul 30 02:25:34 2024 +0100 changelog commit 3335463 Author: Unique-Divine <[email protected]> Date: Tue Jul 30 02:23:33 2024 +0100 refactor: use pebbledb as the test db commit 1f0d8d0 Author: Unique-Divine <[email protected]> Date: Tue Jul 30 01:51:38 2024 +0100 refactor: remove unused vars. improve error clarity for testnetwork/New * address conversion fns and tests * feat(evm): Combine both account queries into "/eth.evm.v1.Query/EthAccount", accepting both nibi-prefixed Bech32 addresses and Ethereum-type hexadecimal addresses as input. * fix(evmante): check balance in wei, deduct unibi gas * fix(e2e): JavaScript BigInt is a joke * fix(e2e): avoid BigInt overflow with 10^18 values * pull /eth from ud/account-query * fix(evmante): CheckSenderBalance needs to use wei * revert: add back NibiruAccount query to mock client * fix(e2e-evm): add logging and fix tests * chore: resolve last few merge conflicts * refactor: include variable name change suggestion for BalanceNative * refactor: include variable name change suggestion for BalanceNative
- Loading branch information
1 parent
cbb14ba
commit 7dd9dd4
Showing
13 changed files
with
343 additions
and
837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.