Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7939

How to verify written solana program buffer account data and uploaded program build file with checksum?

$
0
0

I'm attempting to verify if the file in the program buffer account matches the content of the build file. I used solana account to retrieve data from the buffer account, calculated the SHA sum, and compared it with the SHA sum of the uploaded build file, but the results aren't matching as expected.

commands used

$ cat ./target/deploy/test_build.so | shasum -a 256 | awk '{print $1}'$ solana account <account-address> | shasum -a 256 | awk '{print $1}'

Viewing all articles
Browse latest Browse all 7939

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>