Skip to content

Commit

Permalink
refactor: merge and clean
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Nov 16, 2022
1 parent a182551 commit 4c610c5
Show file tree
Hide file tree
Showing 13 changed files with 183 additions and 217 deletions.
74 changes: 31 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion massa-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
displaydoc = "0.2"
jsonrpsee = { git = "https://github.com/paritytech/jsonrpsee", branch = "master", features = ["server", "macros"] }
jsonrpsee = { version = "0.16.0", features = ["server", "macros"] }
async-trait = "0.1.58"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.87"
Expand Down
2 changes: 1 addition & 1 deletion massa-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::error::ApiError::WrongAPI;
use jsonrpsee::core::{Error as JsonRpseeError, RpcResult};
use jsonrpsee::proc_macros::rpc;
use jsonrpsee::server::{ServerBuilder, ServerHandle};
use massa_consensus_exports::{ConsensusCommandSender, ConsensusConfig};
use massa_consensus_exports::ConsensusController;
use massa_execution_exports::ExecutionController;
use massa_models::api::{
AddressInfo, BlockInfo, BlockSummary, DatastoreEntryInput, DatastoreEntryOutput,
Expand Down
1 change: 0 additions & 1 deletion massa-api/src/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use crate::{MassaRpcServer, Private, RpcServer, StopHandle, Value, API};

use async_trait::async_trait;
use jsonrpsee::core::{Error as JsonRpseeError, RpcResult};
use massa_consensus_exports::{ConsensusCommandSender, ConsensusConfig};
use massa_execution_exports::ExecutionController;
use massa_models::api::{
AddressInfo, BlockInfo, BlockSummary, DatastoreEntryInput, DatastoreEntryOutput,
Expand Down
Loading

0 comments on commit 4c610c5

Please sign in to comment.