Skip to content

Commit

Permalink
Slightly more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Dec 6, 2021
1 parent 47ba69f commit 2aa2ee2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/bin/zksync_api/src/api_server/rpc_server/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ pub struct ContractAddressResp {
pub gov_contract: String,
}

/// The metadata of the JSON-RPC call retrieved from the HTTP request of the call
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct RequestMetadata {
/// The ip of the call origin
pub ip: String,
}

0 comments on commit 2aa2ee2

Please sign in to comment.