File tree Expand file tree Collapse file tree
ethereum-json-rpc-client/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub enum EvmResetState {
1414 /// End of the reset process.
1515 /// It sets the state to the given block.
1616 /// If the block state hash is not equal to the current state hash, it will fail.
17- End ( Block < H256 > ) ,
17+ End ( Box < Block < H256 > > ) ,
1818}
1919
2020/// The EVM global state
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ impl<T: CanisterClient + Sync + 'static> Client for T {
3636 }
3737 . map_err ( |e| {
3838 log:: warn!( "failed to send RPC request: {e}" ) ;
39- JsonRpcError :: CanisterClient ( e)
39+ JsonRpcError :: CanisterClient ( e. into ( ) )
4040 } ) ?;
4141
4242 let response = serde_json:: from_slice ( & http_response. body ) ?;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub enum JsonRpcError {
1414 /// Canister client error [`ic_canister_client::CanisterClientError`]
1515 #[ cfg( feature = "ic-canister-client" ) ]
1616 #[ error( "Canister client error: {0}" ) ]
17- CanisterClient ( #[ from] ic_canister_client:: CanisterClientError ) ,
17+ CanisterClient ( #[ from] Box < ic_canister_client:: CanisterClientError > ) ,
1818 #[ error( "Canister call failed: {0}" ) ]
1919 CanisterCall ( #[ from] CallError ) ,
2020 /// Error while parsing the JSON response.
You can’t perform that action at this time.
0 commit comments