Commit 31ac5a5
Add
* Add COption pack/unpack helpers
* Add instruction builder
* Add serde tests for new instruction using coption_u64
* Corrected instruction docs
* Add PodTokenInstruction helpers
* Add unwrap lamports processor
* Add unwrap lamports cli clap_app parser
* Add unwrap lamports cli handler
* Add auto-generated js code
* Add js COption serialization helper
* Add unwrap lamports js action & instruction
* Add unwrap lamports js e2e tests
* Add unwrap lamports rust-legacy processor
* Updated rust-legacy cpi guard helpers & tests
* Added unwrap lamport rust-legacy tests
* Remove spl-token-2022-interface patch
* Remove memo code from unwrap lamports processor
* Fix self transfer in unwrap lamports processor
* Refactor self transfer in unwrap lamports processor
* Fix help description for UnwrapLamports amount argument
Co-authored-by: Jon C <[email protected]>
* Fix None lamport amount for UnwrapLamports
Co-authored-by: Jon C <[email protected]>
* Remove CPI-guard delegate allowance check
Co-authored-by: Fernando Otero <[email protected]>
* Relax token program account check in instruction builder
Co-authored-by: Jon C <[email protected]>
* Racfactor and update processor for the self-transfer case
* Add rust COptionU64 de-serialization helper
* Refactor and extend rust legacy tests
* Fix unwrap lamports js docs, imports & comments
* Fix instruction data check in unwrap lamports js instruction deconder
* Update js umwrap lamports test
* Rename UnwrapLamports to UnwrapSol in cli parser
* Add allow-unfunded-recipient flag
* Update cli unwrap lamports test & add unwrap lamports multisig test
* Allow for unfunded recipients in unwrap lamports cli processor & update display messages
* Remove SOL transfer funding in cli unwrap lamports unfunded case
* Update clients/cli/src/clap_app.rs
Co-authored-by: Jon C <[email protected]>
* Fix client generated docs
* Aid compiler.
Co-authored-by: Fernando Otero <[email protected]>
* Remove unused variable
Co-authored-by: Fernando Otero <[email protected]>
* Renaming changes
---------
Co-authored-by: Jon C <[email protected]>
Co-authored-by: Fernando Otero <[email protected]>unwrap_lamports instruction (#857)1 parent 7e76765 commit 31ac5a5
File tree
23 files changed
+2736
-24
lines changed- clients
- cli
- src
- tests
- js-legacy
- src
- actions
- instructions
- test/e2e-2022
- js/src/generated
- instructions
- programs
- rust-legacy
- src
- tests
- interface
- src
- tests
- program/src
23 files changed
+2736
-24
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
1721 | 1722 | | |
1722 | 1723 | | |
1723 | 1724 | | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
1724 | 1772 | | |
1725 | 1773 | | |
1726 | 1774 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2099 | 2099 | | |
2100 | 2100 | | |
2101 | 2101 | | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
2102 | 2199 | | |
2103 | 2200 | | |
2104 | 2201 | | |
| |||
4273 | 4370 | | |
4274 | 4371 | | |
4275 | 4372 | | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
| 4393 | + | |
| 4394 | + | |
| 4395 | + | |
| 4396 | + | |
| 4397 | + | |
4276 | 4398 | | |
4277 | 4399 | | |
4278 | 4400 | | |
| |||
0 commit comments