From c102ee527709eaa6300be65ce1b060b49fb4ea75 Mon Sep 17 00:00:00 2001 From: Ratan Kaliani Date: Sun, 16 Jun 2024 18:27:54 -0700 Subject: [PATCH] docs --- README.md | 2 +- operator/bin/operator.rs | 4 ++-- operator/src/contract.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bc10e05..9af280e 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ The SP1 Tendermint template is a simple example of a ZK Tendermint light client forge install - forge script script/SP1Tendermint.s.sol --rpc-url --private-key --etherscan-api-key --broadcast --verify + forge script script/SP1Tendermint.s.sol --rpc-url https://ethereum-sepolia.publicnode.com/ --private-key --broadcast ``` If you see the following error, add `--legacy` to the command. diff --git a/operator/bin/operator.rs b/operator/bin/operator.rs index e2b30e2..cddcefc 100644 --- a/operator/bin/operator.rs +++ b/operator/bin/operator.rs @@ -67,8 +67,8 @@ async fn main() -> anyhow::Result<()> { .await?; info!( - "Updated contract's latest block from {} to {}.", - trusted_block_height, chain_latest_block_height + "Updated the latest block of Tendermint light client at address {} from block {} to block {}.", + contract_client.contract, trusted_block_height, chain_latest_block_height ); // Sleep for 60 seconds. diff --git a/operator/src/contract.rs b/operator/src/contract.rs index 7675d55..0536e00 100644 --- a/operator/src/contract.rs +++ b/operator/src/contract.rs @@ -14,7 +14,7 @@ use std::env; pub struct ContractClient { chain_id: u64, client: SignerMiddleware, LocalWallet>, - contract: Address, + pub contract: Address, } impl Default for ContractClient {