Skip to content

Commit edaa3f5

Browse files
committed
Squashed commit of the following:
commit 3dbee41fca3beda2778ed7e2431800086fe3ea04 Author: Kyuhyeon Choi <[email protected]> Date: Fri Jul 11 09:56:24 2025 +0900 chore: reset consensusVersion of modules to 1 commit 25eb3afa5ff4b96dcb1f8a69d9eb7a326695dc89 Author: Kyuhyeon Choi <[email protected]> Date: Fri Jul 11 09:41:48 2025 +0900 chore(precompiles/common): fix comment commit a7cdcc537e0a33f36e8de36f0247bfe3a2a1d9dc Author: Kyuhyeon Choi <[email protected]> Date: Thu Jul 10 19:45:25 2025 +0900 fix(precompiles/common): hex address parsing method commit 5a937ecd545703515993e6af47def0574a398897 Author: Kyuhyeon Choi <[email protected]> Date: Tue Jul 8 09:49:35 2025 +0900 chore: fix lint commit c32a6e5128c592d5fc791fc13733fc52e18553bc Author: Kyuhyeon Choi <[email protected]> Date: Mon Jul 7 23:09:24 2025 +0900 feat(precompiles): add BalanceHandler to handle native balance change (#201) * feat(precompiles): add BalanceHandler to handle native balance change * refactor: remove parts of calling SetBalanceChangeEntries * chore: fix lint * chore(precompiles/distribution): remove unused helper function * chore(precompiles): modify comments * chore: restore modification to be applied later * chore: fix typo * chore: resolve conflict * chore: fix lint * test(precompiles/common) add unit test cases * chore: fix lint * fix(test): precompile test case that intermittently fails * refactor: move mock evm keeper to x/vm/types/mocks * chore: add KVStoreKeys() method to mock evmKeeper * refactoring balance handling * test(precompile/common): improve unit test for balance handler * refactor(precompiles): separate common logic * Revert "refactor(precompiles): separate common logic" This reverts commit 25b89f3. * Revert "Merge pull request #1 from zsystm/poc/precompiles-balance-handler" This reverts commit 46cd527, reversing changes made to b532fd5. --------- Co-Authored-By: zsystm <[email protected]> Co-Authored-By: Vlad J <[email protected]> commit 37e0f9a8cdd362c78d411bc4291e61b64bbc3dbc Author: Haber <[email protected]> Date: Mon Jul 7 10:28:01 2025 +0900 feat(precompiles): add BalanceHandler to handle native balance change (#201) * feat(precompiles): add BalanceHandler to handle native balance change * refactor: remove parts of calling SetBalanceChangeEntries * chore: fix lint * chore(precompiles/distribution): remove unused helper function * chore(precompiles): modify comments * chore: restore modification to be applied later * chore: fix typo * chore: resolve conflict * chore: fix lint * test(precompiles/common) add unit test cases * chore: fix lint * fix(test): precompile test case that intermittently fails * refactor: move mock evm keeper to x/vm/types/mocks * chore: add KVStoreKeys() method to mock evmKeeper * refactoring balance handling * test(precompile/common): improve unit test for balance handler * refactor(precompiles): separate common logic * Revert "refactor(precompiles): separate common logic" This reverts commit 25b89f3. * Revert "Merge pull request #1 from zsystm/poc/precompiles-balance-handler" This reverts commit 46cd527, reversing changes made to b532fd5. --------- Co-authored-by: zsystm <[email protected]> Co-authored-by: Vlad J <[email protected]> commit a5bf7d1f255ab43a28ac19d3348d56f20d3dbe29 Author: Haber <[email protected]> Date: Thu Jun 12 11:17:44 2025 +0900 refactor(precompiles): apply journal-based revert approach (#205) * refactor(precompiles): apply journal-based revert approach * refactor: remove unused Snapshot type * chore: fix lint
1 parent 8b37ff8 commit edaa3f5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

x/vm/statedb/statedb_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ func (suite *StateDBTestSuite) TestAccount() {
6767
suite.Require().Equal(common.BytesToHash(mocks.EmptyCodeHash), db.GetCodeHash(address))
6868
suite.Require().Equal(uint64(0), db.GetNonce(address))
6969
}},
70-
<<<<<<< HEAD
7170
{"self-destruct", func(ctx sdk.Context, db *statedb.StateDB) {
72-
=======
73-
{"suicide", func(ctx sdk.Context, db *statedb.StateDB) {
74-
>>>>>>> origin/fix/multistore-snapshot
7571
// non-exist account.
7672
db.SelfDestruct(address)
7773
suite.Require().False(db.HasSelfDestructed(address))
@@ -107,7 +103,6 @@ func (suite *StateDBTestSuite) TestAccount() {
107103
// and cleared in keeper too
108104
keeper := db.Keeper().(*mocks.EVMKeeper)
109105
keeper.ForEachStorage(ctx, address, func(key, value common.Hash) bool {
110-
<<<<<<< HEAD
111106
suite.Require().Equal(0, len(value.Bytes()))
112107
return true
113108
})
@@ -192,9 +187,7 @@ func (suite *StateDBTestSuite) TestAccount() {
192187
keeper.ForEachStorage(ctx, address, func(key, value common.Hash) bool {
193188
suite.Require().Greater(len(value.Bytes()), 0)
194189
return true
195-
=======
196190
return len(value) == 0
197-
>>>>>>> origin/fix/multistore-snapshot
198191
})
199192
}},
200193
}

0 commit comments

Comments
 (0)