File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ impl Client {
134134 query : GetTransactionQuery ,
135135 ) -> reqwest:: Result < T > {
136136 self . client
137- . get ( & format ! ( "{}transactions/{}" , self . baseurl, hash) )
137+ . get ( format ! ( "{}transactions/{}" , self . baseurl, hash) )
138138 . header ( reqwest:: header:: ACCEPT , "application/json" )
139139 . query ( & query)
140140 . send ( )
@@ -182,7 +182,7 @@ impl Client {
182182 query : GetBlockQuery ,
183183 ) -> reqwest:: Result < T > {
184184 self . client
185- . get ( & format ! ( "{}blocks/{}" , self . baseurl, block) )
185+ . get ( format ! ( "{}blocks/{}" , self . baseurl, block) )
186186 . header ( reqwest:: header:: ACCEPT , "application/json" )
187187 . query ( & query)
188188 . send ( )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ thiserror = "1.0"
3737tracing = " 0.1.37"
3838semver = " 1.0"
3939
40- foundry-compilers = { version = " 0.9 " , optional = true }
40+ foundry-compilers = { version = " 0.10 " , optional = true }
4141
4242[dev-dependencies ]
4343tempfile = " 3.8"
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ use std::{collections::HashMap, path::Path};
1414use foundry_compilers:: {
1515 artifacts:: { EvmVersion , Settings } ,
1616 compilers:: solc:: SolcCompiler ,
17+ solc:: SolcSettings ,
1718 ProjectBuilder , SolcConfig ,
1819} ;
1920
@@ -267,7 +268,8 @@ impl Metadata {
267268 pub fn project_builder ( & self ) -> Result < ProjectBuilder < SolcCompiler > > {
268269 let solc_config = SolcConfig :: builder ( ) . settings ( self . settings ( ) ?) . build ( ) ;
269270
270- Ok ( ProjectBuilder :: new ( Default :: default ( ) ) . settings ( solc_config. settings ) )
271+ Ok ( ProjectBuilder :: new ( Default :: default ( ) )
272+ . settings ( SolcSettings { settings : solc_config. settings , ..Default :: default ( ) } ) )
271273 }
272274
273275 /// Parses the EVM version.
You can’t perform that action at this time.
0 commit comments