Skip to content

Commit

Permalink
bring back version_delta def
Browse files Browse the repository at this point in the history
  • Loading branch information
0xPxt committed Oct 15, 2024
1 parent 6d89b0d commit 28e11cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/substrate/substrate_coin.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,13 @@ typedef enum {

} key_kind_e;

// 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 - 100
#define SUPPORTED_TX_VERSION_CURRENT LEDGER_MAJOR_VERSION - ZX_MAJOR_VERSION_DELTA
#define SUPPORTED_TX_VERSION_PREVIOUS (LEDGER_MAJOR_VERSION - 1)
#define SUPPORTED_SPEC_VERSION (LEDGER_MINOR_VERSION + 0)
#define SUPPORTED_MINIMUM_SPEC_VERSION 7000000
Expand Down

0 comments on commit 28e11cf

Please sign in to comment.