-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update some code and fix all the unit tests (#134)
* Refactor system transactions * Small error fix * Refactor damn stuff * Ensure system transactions will be not reverted * Remove some quotes * Fix test units * optimise code * change consensus engine restart to reset;move consensus state unlock * add p2p keystore * Use seal hash as block hash for now * Fix miner unit tests * Ignore system tx base fee check * Fix most unit tests in native contracts * Add docker build * Fix makefile update * Use Dockerfile.build_local for zion-local * Add genesis test utils * Remove stale method from interface * Remove system gas vars * Fix system tx gas * Remove duplicate basic gas * Update header seal hash to include nonce and mix digest * Remove duplicate intrinsic gas cost for native contract calls * Fix system tx hash issue * remove chainid constrain * update consensus * update mock&backend test * Fix unit tests in accounts * fix unit test if consensus * Fix unit tests in ethclient * Fix unit tests in eth folder * fix console * Fix fast sync unit tests * Fix unit tests in cmd * Fix unit tests in p2p * Add missing lru * temp * temp * fix most uni test * Fix broken tests in accounts * Fix broken tests in graphql * Fix rest bugs * Small fixes * Fix TestParitySturebyConverter * Fix genesis panic in cmd * Fix genesis community rate panic in cmd * Fix block gas limit test * Upgrade to event.Feed in hotstuff * Fix hotstuff handle unit tests, improve hotstuff event loop * Remove stale test unit --------- Co-authored-by: zmh <siovanus@126.com> Co-authored-by: rain-zxn <206131521@qq.com>
- Loading branch information
1 parent
d364dfb
commit b101a5f
Showing
183 changed files
with
8,288 additions
and
4,276 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
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.