Merge branch 'master' into support_eip1559

This commit is contained in:
pscott
2021-08-03 12:01:58 +02:00
87 changed files with 1164 additions and 529 deletions

View File

@@ -79,7 +79,7 @@ typedef struct tokenContext_t {
typedef struct publicKeyContext_t {
cx_ecfp_public_key_t publicKey;
uint8_t address[41];
char address[41];
uint8_t chainCode[INT256_LENGTH];
bool getChaincode;
} publicKeyContext_t;
@@ -162,13 +162,14 @@ typedef enum {
#endif
} contract_call_t;
#define NETWORK_NAME_MAX_SIZE 12
typedef struct txStringProperties_t {
char fullAddress[43];
char fullAmount[50];
char maxFee[50];
char nonce[8]; // 10M tx per account ought to be enough for everybody
char chainID[8]; // 10M different chainID ought to be enough for people to find a unique
// chainID for their token / chain.
char nonce[8]; // 10M tx per account ought to be enough for everybody
char network_name[NETWORK_NAME_MAX_SIZE];
} txStringProperties_t;
#define SHARED_CTX_FIELD_1_SIZE 100