Closed dubbelosix closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
bonsol | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 22, 2024 7:16pm |
A quick unit test for the change to max_size_mb
would be nice, but the change itself makes sense.
This looks fine to me but deferring approval to @austbot
A quick unit test for the change to
max_size_mb
would be nice, but the change itself makes sense.This looks fine to me but deferring approval to @austbot
@eureka-cpu I added a couple of test cases for valid and "Max size exceeded"
errors using Mockito :) let me know if it looks ok!
@eureka-cpu I added a couple of test cases for valid and
"Max size exceeded"
errors using Mockito :) let me know if it looks ok!
Awesome, thank you 🙂 it looks great.
The CI check that's failing is due to the nightly formatting options, but you can run this to fix it:
rustup toolchain add nightly
cargo +nightly fmt
ill clean up fmt
Changes
max_size
, since it's passed in MB. changed the param name tomax_size_mb
and added a 1024*1024 in the call so the right byte count is passedvalidator.sh
: Allow passing in additional programs using --bpf-program, since users might want to pass other programs (such as metaplex core). Made -r optional since we don't always want to wipe the local validator ledgerrun-node.sh
: Added -F cuda as optional