From 54572a95f6d5fb98e87cdd4a088504b03c7e3688 Mon Sep 17 00:00:00 2001 From: pscott Date: Wed, 18 Aug 2021 16:42:30 +0200 Subject: [PATCH] Fix missing ui_plugin.h; add constants to eth_plugin_internals; update plugin sdk --- ethereum-plugin-sdk | 2 +- src/eth_plugin_internal.h | 4 +++- src_features/signTx/ui_flow_signTx.c | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ethereum-plugin-sdk b/ethereum-plugin-sdk index 51c4cad..c32279c 160000 --- a/ethereum-plugin-sdk +++ b/ethereum-plugin-sdk @@ -1 +1 @@ -Subproject commit 51c4cad6297a99a220eb09e6d30d229ac02d469c +Subproject commit c32279c3f4cff8f5a02e2b4cff1c884b376fdc94 diff --git a/src/eth_plugin_internal.h b/src/eth_plugin_internal.h index 552bed9..abce9c6 100644 --- a/src/eth_plugin_internal.h +++ b/src/eth_plugin_internal.h @@ -2,7 +2,9 @@ #include "eth_plugin_interface.h" -#define SELECTOR_SIZE 4 +#define SELECTOR_SIZE 4 +#define PARAMETER_LENGTH 32 +#define RUN_APPLICATION 1 typedef bool (*PluginAvailableCheck)(void); diff --git a/src_features/signTx/ui_flow_signTx.c b/src_features/signTx/ui_flow_signTx.c index 6b91f80..aee22f5 100644 --- a/src_features/signTx/ui_flow_signTx.c +++ b/src_features/signTx/ui_flow_signTx.c @@ -5,6 +5,7 @@ #include "feature_signTx.h" #include "network.h" #include "eth_plugin_handler.h" +#include "ui_plugin.h" // clang-format off UX_STEP_NOCB(