Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: README #23

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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