Commit 48d3db1
committed
solana: pin builder-stake's bytes, for both networks
Neither checksum file listed `builder-stake`, and `shasum -c` checks only the
files it names, so `make verify-checksums` passed on every change while
pinning nothing about this program. The other two programs were covered from
the day they landed; this one was added and never added to the list.
That is not theoretical. The bytes first deployed to Solana devnet came from
a local toolchain and were 9kb larger than the reproducible build, and
nothing would have said so. Devnet now runs the artifact: its first 184768
bytes match this checksum exactly, and the rest is the zero padding an
upgrade leaves behind when it does not shrink the data account.
Verified by flipping one byte of the artifact and watching the check fail.1 parent 9aa5c97 commit 48d3db1
3 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
0 commit comments