From 277bbc26cc7a5664cc45db3625f3d6b5074b75b6 Mon Sep 17 00:00:00 2001 From: tdejoigny-ledger Date: Tue, 30 Jul 2024 16:22:57 +0200 Subject: [PATCH] remove the Nano S support in plugin boilerplate --- README.md | 2 +- ethereum-plugin-sdk | 2 +- icons/nanos_app_pluginboilerplate.gif | Bin 100 -> 0 bytes ledger_app.toml | 2 +- tests/README.md | 1 - .../nanos/test_swap_exact_eth_for_token/00000.png | Bin 374 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00001.png | Bin 397 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00002.png | Bin 305 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00003.png | Bin 364 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00004.png | Bin 492 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00005.png | Bin 492 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00006.png | Bin 436 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00007.png | Bin 382 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00008.png | Bin 414 -> 0 bytes .../nanos/test_swap_exact_eth_for_token/00009.png | Bin 349 -> 0 bytes 15 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 icons/nanos_app_pluginboilerplate.gif delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00000.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00001.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00002.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00003.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00004.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00005.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00006.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00007.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00008.png delete mode 100644 tests/snapshots/nanos/test_swap_exact_eth_for_token/00009.png diff --git a/README.md b/README.md index 68572658..68ce6dd5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This repo is meant to be a forkable example of a plugin. Plugins are lightweight applications that go hand-in-hand with the Ethereum -Application on a Nano (S, S plus, X), Stax and Flex devices. +Application on a Nano (S plus, X), Stax and Flex devices. They allow users to safely interact with smart contracts by parsing the transaction data and displaying its content in a human-readable way. This is diff --git a/ethereum-plugin-sdk b/ethereum-plugin-sdk index 0eaa25ad..0afd2a96 160000 --- a/ethereum-plugin-sdk +++ b/ethereum-plugin-sdk @@ -1 +1 @@ -Subproject commit 0eaa25ad0ebaaeb99c52d034c79e4c4c92e191ae +Subproject commit 0afd2a969eb23e8a508560e0e308dc51fb9219e0 diff --git a/icons/nanos_app_pluginboilerplate.gif b/icons/nanos_app_pluginboilerplate.gif deleted file mode 100644 index beb00efd2fec42868aa507fcf1e6faac7ead2626..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 100 zcmZ?wbhEHb6krfw_`t{j1poj4SNzEWVlgQG=l0A^Oi%SqOwUZt=1Wh^%}um5&@(Xw uK?WU=5|BOyCfT0;m8b7A$TSH>oql(A);>Ai1dGO)j?Or(t?#5o7_0$^RvtS5 diff --git a/ledger_app.toml b/ledger_app.toml index fed9deee..40d12220 100644 --- a/ledger_app.toml +++ b/ledger_app.toml @@ -1,7 +1,7 @@ [app] build_directory = "./" sdk = "C" -devices = ["nanos", "nanox", "nanos+", "stax", "flex"] +devices = ["nanox", "nanos+", "stax", "flex"] [tests] pytest_directory = "./tests/" diff --git a/tests/README.md b/tests/README.md index 4731a54f..20aa1bcb 100644 --- a/tests/README.md +++ b/tests/README.md @@ -19,7 +19,6 @@ Compiling the plugin will produce the binary for the targeted device. They will The binaries of the Ethereum application must be gathered and placed in the directory `tests/.test_dependencies/ethereum/`. Example of the correct file tree with Ethereum compiled for all targets. -* `tests/.test_dependencies/ethereum/build/nanos/bin/app.elf` * `tests/.test_dependencies/ethereum/build/nanos2/bin/app.elf` * `tests/.test_dependencies/ethereum/build/nanox/bin/app.elf` * `tests/.test_dependencies/ethereum/build/stax/bin/app.elf` diff --git a/tests/snapshots/nanos/test_swap_exact_eth_for_token/00000.png b/tests/snapshots/nanos/test_swap_exact_eth_for_token/00000.png deleted file mode 100644 index 8d84cc70fea8013b7e8b25c0982ce142fa103d5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 374 zcmV-+0g3*JP)K?4J2QqX3 zXn7ePqhBDwvA-|J28LIrjF%tX0z{3v6!_gF&(SYH)S*7TN;1RxW-%}TLH9_+sttDO z-T32w&rL(!1@Vr`jm5G(8dd=Ruu#)JAN?l#rFLU`oQ(r?$33AC7s0}pw!fi~(9k^# zU9aci?pXN=I7A<-f!Mw2untnw9MivqZYw}c5&)gweYhbTnv#2#t$0X2wST7_1F;LR zw?>Da2SkSfG>qWq1mej-6nW@2l+Z=0om5jdB%3o3Qx19_LNUlTqF4R_1Iaj%@^2O= z@;n%h1N>H$2;%-~Dvx1!0LtkT-;cq73rgisOElFtPbcL{d3TfNQvm<~003s>1*i4o Uje8$F8UO$Q07*qoM6N<$g5rpv%m4rY diff --git a/tests/snapshots/nanos/test_swap_exact_eth_for_token/00001.png b/tests/snapshots/nanos/test_swap_exact_eth_for_token/00001.png deleted file mode 100644 index 9ca56dc2a5ab9a793ced8ed04778a88fe719b0d3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 397 zcmV;80doF{P);2~TLKxc%QWO{D>XV(GE~0001$oX78=4@-pzRb*?{86Y>t z96`V9wxJ@ljRMdhHXn6~H_l^OcYe*9vF_ob>&1j{R+FlWRin3Qb*$9gy0b5;mc{{y zaW%j^HI!3jFvM*|6B#i)6_?-^q);!UY z?&BKv4^2U!M*xD|r!;H%Lg*Bl5R$DXEM-sDU1~rvt-peq{IMV1{k3}z_Kj8{ut8ebwUu!E` zSOo$6DjNtiVP1X!y|xpWcl8}Y;5@|W07YMw>~o)<^w>XTOw?GWLgZTpyxaL r9d?R9lu2fVsZ!8Cf&c&jzbink6R%eJ1^erf+m^Si(2 zZ5==fVC^0OJ^>oB#gUtoOTu;1$hO8h%B{XAE<%FsfUw4;y0HcQ7VHEZ_~n_?7?PKD z0JDSb0KMCUZpc_6GR;Vg8uuU+&02c_P+oCt+0NJgKm6UM7Puuiz9%XL^Kd=sz)R95I8 z&HX3ag79Dhi~-w%D$jsCG71g<;ou#=gb+dqAv3cBTPtamW@EGE00000NkvXXu0mjf D#=eFw diff --git a/tests/snapshots/nanos/test_swap_exact_eth_for_token/00003.png b/tests/snapshots/nanos/test_swap_exact_eth_for_token/00003.png deleted file mode 100644 index 7eb80fd6089ba52921a362a376543e0d546379b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 364 zcmV-y0h9iTP)nQcr5(kMT;=O zd@WW2qH<`mO;@B<`I#|yi5_XiH%d%iXr=`p<~Wc}e=Z zpmgcGe0C|`<$`7maT#7@fCaU`Efxc~a%c=_{QnXF00000bm9VAzR3nX_=SrA0000< KMNUMnLSTaB4WBIl diff --git a/tests/snapshots/nanos/test_swap_exact_eth_for_token/00004.png b/tests/snapshots/nanos/test_swap_exact_eth_for_token/00004.png deleted file mode 100644 index db2dd8c10c6e1bbf3553fe576f83906c3963e363..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 492 zcmV6jeg6l}Avt8~xctBZvRkv^n;sfPg%v?*ttg73C}w#+Hh)$9&h@X^MG`ga<-_6h7f@0&h=%czYk(8!Y78-xDG9L*W zf6!lyy^<%!JTx$zon&{opVSjDIw?A=&ZIF%ge-Da@GNF!Q$7Y(Mgi>Bc5X zIw@{6zvY&J#<#B5;r0k^fU&f~9u!546b6*CzO<3jx5KH}stMbU+UkwYn&2A6xEXH> zBsz;1leA>?4Ey|l@{P5PmQuNeX!#fGx0dG%a$0XbK|^S$V72weaheKPX`Cr^rD$${9fkMUZAYFAy-a>#-$cfAcF{7qtPpc(a} zyYG2LTZVcEYi=C-t4+=EXEhgZPp-k0JT40@#r7e;oNj!*b6;^=M>m$SS3rCPP%`e- zP?-ZQt}XZWN$SVGx%w&i^2_enRxeXx1Tst)j--Ma>sov_)IXB~P zY%<$Al<5ULma*ilxMEh)R{*d969pDwV) iC@V>lBuSDa58xj+A8=XB4t>M`00004o5qT zCA3y$jhg6AZrbunJ6^3-n&Dfe7l|~{M=E~s(3{i~v$=MIcN01KqJ zV$b`l9st$8wDKS>zEMn;yrBDR7-wA#9duMMznclSqW&gvts!ak!qxVSbSt0*V>Z@( zYfEG1V{MAt<7cpv$9W-BrKi9FWXw!>I`01(z)#7%)Y16J~KCa&ky zHCTE8R3+&?miC&hlE(^pY_JgwEm;7ImWEpWC}!*cknW@JAt;2x;DIik?fK`W0l;w_ e$8j9zvHSsl@g{xVt^G;>0000NLPUa1f;Ez}LRu)qqaa7C9`R{w$LEh{GB z1@h99VdRDS6DW!d^`}8d4fQ937+8W`$dZ4Nv(wNkRS8>*l7$aBBU|y7j(12m)JK(k zV;NiYl@?IaUVn{Sbblh<>pMi!<5rb$Hw)ESDcY5=u(lkXY`RNac8kz1p0xuYbSu9F zyGSe?xn;AXB*-m`dBhgfm)Y`B7RRFZ4}g~XMi}LQI{6Jj(2Kl0=sV+NyOC~4ECT=l c0001vA9e84Wh?KPh5!Hn07*qoM6N<$g6_qong9R* diff --git a/tests/snapshots/nanos/test_swap_exact_eth_for_token/00008.png b/tests/snapshots/nanos/test_swap_exact_eth_for_token/00008.png deleted file mode 100644 index 1c9156c31edf73cb072eaebf2db3fbe1ba5c612b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmV;P0b%}$P)j~f|{k#}B z4)Di%0(GQh%XXzDG$sKK-Q2JkKR-`QsiPFD-4d_!i{fwH;J|_aEL%ZYNu#B0FJ7G| z;=_VQWOA9;dQ4Y9)LpKCV=ri`X({49JagUwO3&5UdSK)wEJxPN%9wG}45n;lzK(aC zKtbL$y*-#9uSql`7 zENOEh^0jsFWbV&<+yj5)WEX_aERLO-`${sQhD#B5ZCio#Fr4qHlr^7X|9DL69eFa= z#kf#}$Pcl(QEE=tNl8Pt$o;~Fk*8r@j8mpwSGW8d!1&11FbzPh@^gWj=oh7f%f7G)4s^6#xJL07*qo IM6N<$g02I(Gynhq diff --git a/tests/snapshots/nanos/test_swap_exact_eth_for_token/00009.png b/tests/snapshots/nanos/test_swap_exact_eth_for_token/00009.png deleted file mode 100644 index ce795f34e8569e986af689fded3b59c9a8af2961..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 349 zcmV-j0iyniP)O41}p;-~WL<=z+0=1Om1tEU@3H#qtw22}5*_5JCvCo4!52c$FXo$VhXU?0M$^Bekqgf%Ka;M*^X|4 zEs9YCQ(xfJKmNC#+8dY%2&wT+>D^<3C%}_*k1^mvtO~`RE00000NkvXXu0mjf-kqOA