Skip to content

Commit d73dcbb

Browse files
authored
transfer-lamports: Update zig version for reduced CUs (#20)
#### Problem Version 0.15.1 of the Zig SDK optimizes the program entrypoint, but the transfer-lamports zig program is still on an older version. #### Summary of changes Update the SDK to 0.15.1 and update the CU usage number.
1 parent 8bab91a commit d73dcbb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ a little-endian u64 in instruction data.
167167
| Language | CU Usage |
168168
| --- | --- |
169169
| Rust | 459 |
170-
| Zig | 44 |
170+
| Zig | 38 |
171171
| C | 104 |
172172
| Assembly | 30 |
173173
| Rust (pinocchio) | 32 |

transfer-lamports/zig/build.zig.zon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// internet connectivity.
1717
.dependencies = .{
1818
.@"solana-program-sdk" = .{
19-
.url = "https://github.com/joncinque/solana-program-sdk-zig/archive/refs/tags/v0.14.0.tar.gz",
20-
.hash = "1220bdfa4ea1ab6330959ce4bc40feb5b39a7f98923a266a94b69e27fd20c3526786",
19+
.url = "https://github.com/joncinque/solana-program-sdk-zig/archive/refs/tags/v0.15.1.tar.gz",
20+
.hash = "12203631b9eba91c479991ec8f0525f181addb5879bbb96e256427f802c2ca67e108",
2121
},
2222
},
2323
.paths = .{

0 commit comments

Comments
 (0)