Skip to content

Commit

Permalink
feat: adjust major again
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 committed Aug 16, 2024
1 parent 91a551c commit ec0b797
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is the `transaction_version` field of `Runtime`
APPVERSION_M=1004
APPVERSION_M=104
# This is the `spec_version` field of `Runtime`
APPVERSION_N=63001
# This is the patch version of this release
Expand Down
5 changes: 4 additions & 1 deletion app/src/substrate/substrate_coin.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ typedef enum {

} key_kind_e;

#define ZX_MAJOR_VERSION_SHIFT 1000
// Zondax major delta to fit chain tx version into the major value.
// Major - this delta -> results on the chain tx version
#define ZX_MAJOR_VERSION_DELTA 100

// Coin Specific
#define PK_ADDRESS_TYPE COIN_ADDR_TYPE
#define SUPPORTED_TX_VERSION_CURRENT LEDGER_MAJOR_VERSION - ZX_MAJOR_VERSION_SHIFT
Expand Down

0 comments on commit ec0b797

Please sign in to comment.