Pass around --max-genesis-archive-unpacked-size#9161
Pass around --max-genesis-archive-unpacked-size#9161solana-grimes merged 7 commits intosolana-labs:masterfrom
Conversation
| poh_verify: !arg_matches.is_present("skip_poh_verify"), | ||
| ..ProcessOptions::default() | ||
| }; | ||
| println!("{}", open_genesis_config(&ledger_path).hash()); |
There was a problem hiding this comment.
I always wondered what is this base-58 thing on the terminal output...
| #[error("IO error: {0}")] | ||
| IO(#[from] std::io::Error), | ||
| #[error("Archive error")] | ||
| #[error("Archive error: {0}")] |
There was a problem hiding this comment.
print original error!
| let total_size = total_size.saturating_add(entry_size); | ||
| if total_size > limit_size { | ||
| return Err(UnpackError::Archive(format!( | ||
| "too large snapshot: {:?}", |
There was a problem hiding this comment.
snapshot for genesis codepath is plain wrong...
Codecov Report
@@ Coverage Diff @@
## master #9161 +/- ##
======================================
Coverage 80.4% 80.4%
======================================
Files 281 281
Lines 64644 64683 +39
======================================
+ Hits 51975 52019 +44
+ Misses 12669 12664 -5 |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
|
This stale pull request has been automatically closed. Thank you for your contributions. |
|
After long queue of interrupts, I've finally got back to the original normal-priority work... ;) |
40bb6c7 to
2e2e72f
Compare
| add_genesis_accounts(&mut genesis_config, issued_lamports - faucet_lamports); | ||
|
|
||
| create_new_ledger(&ledger_path, &genesis_config)?; | ||
| solana_logger::setup(); |
There was a problem hiding this comment.
just like solana cli.
I think there should be no harm enabling this?
There was a problem hiding this comment.
btw, logging makes debugging life easier. :)
| ) | ||
| .arg( | ||
| clap::Arg::with_name("gossip_port") | ||
| Arg::with_name("gossip_port") |
There was a problem hiding this comment.
Follow this newly added line: https://github.com/solana-labs/solana/pull/9161/files#diff-1f422d7e73618aca7bce9935356de012R807
|
@mvines I think this is ready for review. Sorry about being a bit dated pr.... I've also checked |
|
💔 Unable to automerge due to merge conflict |
|
💔 Unable to automerge due to merge conflict |
Co-Authored-By: Michael Vines <mvines@gmail.com>
6c3176d to
ebc801c
Compare
Pass around --max-genesis-archive-unpacked-size
Problem
#9106 (comment)
solution
Also revert #9133
fixes #9106