File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
barretenberg/cpp/src/barretenberg/srs/factories Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ std::vector<uint8_t> download_bn254_g1_data(size_t num_points)
99 size_t g1_end = num_points * sizeof (bb::g1::affine_element) - 1 ;
1010
1111 // Safe command construction with numeric interpolation and hardcoded URL
12- auto data = bb::exec_pipe_safe (
13- literal_string (" curl -H \" Range: bytes=0-" ), g1_end, literal_string (" \" 'https://crs.aztec.network/g1.dat'" ));
12+ auto data = bb::exec_pipe_safe (bb::literal_string (" curl -H \" Range: bytes=0-" ),
13+ g1_end,
14+ bb::literal_string (" \" 'https://crs.aztec.network/g1.dat'" ));
1415 // Header + num_points * sizeof point.
1516 if (data.size () < g1_end) {
1617 throw_or_abort (" Failed to download g1 data." );
@@ -22,7 +23,7 @@ std::vector<uint8_t> download_bn254_g1_data(size_t num_points)
2223std::vector<uint8_t > download_bn254_g2_data ()
2324{
2425 // Safe command with hardcoded URL - using exec_pipe_safe with single literal
25- return bb::exec_pipe_safe (literal_string (" curl 'https://crs.aztec.network/g2.dat'" ));
26+ return bb::exec_pipe_safe (bb:: literal_string (" curl 'https://crs.aztec.network/g2.dat'" ));
2627}
2728} // namespace
2829
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ std::vector<uint8_t> download_grumpkin_g1_data(size_t num_points)
1111 size_t g1_end = num_points * sizeof (bb::curve::Grumpkin::AffineElement) - 1 ;
1212
1313 // Safe command construction with numeric interpolation and hardcoded URL
14- auto data = bb::exec_pipe_safe (literal_string (" curl -s -H \" Range: bytes=0-" ),
14+ auto data = bb::exec_pipe_safe (bb:: literal_string (" curl -s -H \" Range: bytes=0-" ),
1515 g1_end,
16- literal_string (" \" 'https://crs.aztec.network/grumpkin_g1.dat'" ));
16+ bb:: literal_string (" \" 'https://crs.aztec.network/grumpkin_g1.dat'" ));
1717 if (data.size () < g1_end) {
1818 THROW std::runtime_error (" Failed to download grumpkin g1 data." );
1919 }
You can’t perform that action at this time.
0 commit comments