Skip to content

Commit

Permalink
Remove GetValue::address field
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Dec 17, 2024
1 parent acdc5a7 commit 0d5a9be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions code/crates/engine/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,17 +668,16 @@ where
myself: &ActorRef<Msg<Ctx>>,
height: Ctx::Height,
round: Round,
timeout_duration: Duration,
timeout: Duration,
) -> Result<(), ActorProcessingErr> {
// Call `GetValue` on the Host actor, and forward the reply
// to the current actor, wrapping it in `Msg::ProposeValue`.
self.host.call_and_forward(
|reply| HostMsg::GetValue {
|reply_to| HostMsg::GetValue {
height,
round,
timeout: timeout_duration,
address: self.params.address.clone(),
reply_to: reply,
timeout,
reply_to,
},
myself,
|proposed: LocallyProposedValue<Ctx>| {
Expand Down
1 change: 0 additions & 1 deletion code/crates/engine/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ pub enum HostMsg<Ctx: Context> {
height: Ctx::Height,
round: Round,
timeout: Duration,
address: Ctx::Address,
reply_to: RpcReplyPort<LocallyProposedValue<Ctx>>,
},

Expand Down
1 change: 0 additions & 1 deletion code/crates/starknet/host/src/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ impl Host {
height,
round,
timeout,
address: _,
reply_to,
} => on_get_value(state, &self.network, height, round, timeout, reply_to).await,

Expand Down

0 comments on commit 0d5a9be

Please sign in to comment.