File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,17 @@ use std::sync::LazyLock;
4
4
// TODO: is it a good design to use LazyLock? Why not read env var each time?
5
5
6
6
pub fn bundle_vk_filename ( ) -> String {
7
- read_env_var ( "BUNDLE_VK_FILENAME" , "bundle_vk .vkey" . to_string ( ) )
7
+ read_env_var ( "BUNDLE_VK_FILENAME" , "vk_bundle .vkey" . to_string ( ) )
8
8
}
9
9
pub fn batch_vk_filename ( ) -> String {
10
- read_env_var ( "BATCH_VK_FILENAME" , "batch_vk .vkey" . to_string ( ) )
10
+ read_env_var ( "BATCH_VK_FILENAME" , "vk_batch .vkey" . to_string ( ) )
11
11
}
12
12
pub fn chunk_vk_filename ( ) -> String {
13
- read_env_var ( "CHUNK_VK_FILENAME" , "chunk_vk .vkey" . to_string ( ) )
13
+ read_env_var ( "CHUNK_VK_FILENAME" , "vk_chunk .vkey" . to_string ( ) )
14
14
}
15
15
16
16
pub static CHUNK_PROTOCOL_FILENAME : LazyLock < String > =
17
17
LazyLock :: new ( || read_env_var ( "CHUNK_PROTOCOL_FILENAME" , "chunk.protocol" . to_string ( ) ) ) ;
18
- pub static BATCH_PROTOCOL_FILENAME : LazyLock < String > =
19
- LazyLock :: new ( || read_env_var ( "BATCH_PROTOCOL_FILENAME" , "batch.protocol" . to_string ( ) ) ) ;
20
18
21
19
pub static CHUNK_VK_FILENAME : LazyLock < String > = LazyLock :: new ( chunk_vk_filename) ;
22
20
pub static BATCH_VK_FILENAME : LazyLock < String > = LazyLock :: new ( batch_vk_filename) ;
You can’t perform that action at this time.
0 commit comments