Skip to content

Commit

Permalink
docs: README (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani authored Jun 17, 2024
1 parent 8b9c1c7 commit 0449ed9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <RPC_URL> --private-key <PRIVATE_KEY> --etherscan-api-key <ETHERSCAN_API_KEY> --broadcast --verify
forge script script/SP1Tendermint.s.sol --rpc-url https://ethereum-sepolia.publicnode.com/ --private-key <PRIVATE_KEY> --broadcast
```

If you see the following error, add `--legacy` to the command.
Expand Down
4 changes: 2 additions & 2 deletions operator/bin/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion operator/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::env;
pub struct ContractClient {
chain_id: u64,
client: SignerMiddleware<Provider<Http>, LocalWallet>,
contract: Address,
pub contract: Address,
}

impl Default for ContractClient {
Expand Down

0 comments on commit 0449ed9

Please sign in to comment.