Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ APPNAME = "ONT"
# Application version
APPVERSION_M = 2
APPVERSION_N = 0
APPVERSION_P = 0
APPVERSION_P = 1
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"

# Application source files
Expand Down
2 changes: 1 addition & 1 deletion fuzzing/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
project(OntFuzzer VERSION 2.0.0 LANGUAGES C)
project(OntFuzzer VERSION 2.0.1 LANGUAGES C)

set(CMAKE_C_STANDARD 11)
set(CMAKE_C_COMPILER clang) # Ensure Clang is used
Expand Down
2 changes: 1 addition & 1 deletion src/transaction/deserialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The valid `tx-type` of the transaction include two values:
The `nonce` is a 4-byte unsigned integer.

4. gasPrice:
The `gasPrice` is a 8-byte unsigned integer, which has a minimum value of 2500.
The `gasPrice` is a 8-byte unsigned integer, which has a minimum value of 500.

5. gasLimit:
The `gasLimit` is a 8-byte unsigned integer, which has a minimum value of 20000.
Expand Down
2 changes: 1 addition & 1 deletion src/transaction/tx_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#endif

enum {
GAS_PRICE_MIN = 2500,
GAS_PRICE_MIN = 500,
GAS_LIMIT_MIN = 20000,
};

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_get_public_key_confirm_refused/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_get_public_key_confirm_refused/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_multi_transfer_sign_tx_short_tx/00029.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_refused/00006.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_add_init_pos_tx_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_refused/00006.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_short_tx/00000.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_short_tx/00003.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_approve_tx_short_tx/00005.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_refused/00006.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_short_tx/00000.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_short_tx/00003.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_oep4_neovm_tx_short_tx/00005.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_refused/00006.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_short_tx/00000.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_short_tx/00003.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_oep4_tx_short_tx/00005.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_long_msg/00000.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_long_msg/00001.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_long_msg/00002.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_long_msg/00003.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_long_msg/00004.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_long_msg/00005.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_short_msg/00000.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_short_msg/00001.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_short_msg/00002.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_short_msg/00003.png
Binary file modified tests/snapshots/flex/test_sign_personal_msg_short_msg/00004.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_refused/00006.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_short_tx/00000.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_short_tx/00003.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_quit_node_tx_short_tx/00005.png
Binary file modified tests/snapshots/flex/test_sign_tx_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_tx_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_tx_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_tx_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_tx_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_tx_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_tx_refused/00006.png
Binary file modified tests/snapshots/flex/test_sign_tx_short_tx/00000.png
Binary file modified tests/snapshots/flex/test_sign_tx_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_tx_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_tx_short_tx/00003.png
Binary file modified tests/snapshots/flex/test_sign_tx_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_tx_short_tx/00005.png
Binary file modified tests/snapshots/flex/test_sign_tx_transfer_from_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_tx_transfer_from_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_tx_transfer_from_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_tx_transfer_from_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_tx_transfer_from_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_tx_transfer_from_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_short_tx/00000.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_fee_tx_short_tx/00003.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00000.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00001.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00002.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00003.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00004.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00005.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00006.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_refused/00007.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_short_tx/00000.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_short_tx/00001.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_short_tx/00002.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_short_tx/00003.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_short_tx/00004.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_short_tx/00005.png
Binary file modified tests/snapshots/flex/test_sign_withdraw_short_tx/00006.png
Binary file modified tests/snapshots/stax/test_sign_add_init_pos_tx_refused/00003.png
Loading