This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add stateful checkTx * Tests for stateful checktx * Mirror validateTx logic from tx_pool.go. Move checkTxState updates * Move transaction size limit into const. Remove uneeded fmt import * Enable nonces to be strictly increasing * Extract all directory setup into functional style tests This change removes the duplicated code to setup temporary directories for each test. Now all code is grouped in the setupTestCase() function instead of being littered around all the test cases. There are no side effects of this. * Refactor app_test.go to remove the duplicated code The tests where getting unwieldy since they duplicated a lot of code. With the new setup it is much easier to create new test cases, since the setup and tear-down are handled nicely. There are no side effects. * Add test case for non-incremental nonces This test case checks that transactions have to have strictly increasing nonces. It tests by sending a transaction with nonce 0, and then tries to send a transaction with nonce 2. The second transaction should fail, since it is not strictly increasing. Some of the error descriptions have changed, but no one should be matching for a specific error string. * Refactor tests and RPC library This change is the last refactor of the app_tests and was needed for clarity. Also, it upgrades everything to use a typed RPC client instead of passing strings to get to raw endpoints. * Add check whether it's contract creation * Update Changelog Signed-off-by: Adrian Brink <[email protected]>
- Loading branch information
Adrian Brink
authored
Oct 16, 2017
1 parent
9518a4d
commit ace6c40
Showing
12 changed files
with
583 additions
and
302 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# TODO | ||
|
||
* Document performance numbers for Tendermint and Ethermint and write a blog post about it |
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.