File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ use init4_bin_base::utils::{flashbots::Flashbots, signer::LocalOrAws};
2121use std:: sync:: LazyLock ;
2222use url:: Url ;
2323
24- const FLASHBOTS_URL : LazyLock < Url > = LazyLock :: new ( || {
24+ static FLASHBOTS_URL : LazyLock < Url > = LazyLock :: new ( || {
2525 Url :: parse ( "https://relay-sepolia.flashbots.net:443" ) . expect ( "valid flashbots url" )
2626} ) ;
27- const BUILDER_KEY : LazyLock < LocalOrAws > = LazyLock :: new ( || {
27+ static BUILDER_KEY : LazyLock < LocalOrAws > = LazyLock :: new ( || {
2828 LocalOrAws :: Local ( PrivateKeySigner :: from_bytes ( & B256 :: repeat_byte ( 0x02 ) ) . unwrap ( ) )
2929} ) ;
30- const TEST_PROVIDER : LazyLock < Flashbots > = LazyLock :: new ( get_test_provider) ;
30+ static TEST_PROVIDER : LazyLock < Flashbots > = LazyLock :: new ( get_test_provider) ;
3131
3232fn get_test_provider ( ) -> Flashbots {
3333 Flashbots :: new ( FLASHBOTS_URL . clone ( ) , BUILDER_KEY . clone ( ) )
You can’t perform that action at this time.
0 commit comments