Skip to content

Commit

Permalink
remove get_last_depl slot for Rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
rnovikov committed Dec 10, 2024
1 parent 88a1e2a commit 823a92a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions evm_loader/lib/src/rpc/validator_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ impl Deref for CloneRpcClient {

#[async_trait(?Send)]
impl Rpc for CloneRpcClient {
async fn get_last_deployed_slot(&self, _program_id: &Pubkey) -> ClientResult<Option<u64>> {
// Update event impossible during CloneRpcClient work. Returns always 0 for caching.
Ok(Some(0))
}
async fn get_account_slice(
&self,
key: &Pubkey,
Expand Down

0 comments on commit 823a92a

Please sign in to comment.