From 0c42c96dd690995bdc953dd66c3d993db2579518 Mon Sep 17 00:00:00 2001 From: yuwen Date: Mon, 27 Jan 2025 19:00:08 +0000 Subject: [PATCH] fix wording --- README.md | 4 ++-- example/program/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 988475b..dd6fa7c 100644 --- a/README.md +++ b/README.md @@ -143,11 +143,11 @@ Request [devnet sol](https://faucet.solana.com/) as necessary. cd example/program cargo build-sbf --sbf-out-dir ./target solana config set -ud -solana program deploy --program-id target/fibonacci_verifier_contract-keypair.json target/fibonacci_verifier_contract.so --compute-unit-limit 300000 +solana program deploy --program-id target/fibonacci_verifier_contract-keypair.json target/fibonacci_verifier_contract.so ``` > [!NOTE] -> The Solana on-chain verifier takes around 280K compute units to deploy (which is greater than the default limit of 200K). As such, we've passed the `--compute-unit-limit` flag as 300K. +> The Solana on-chain verifier takes around 280K compute units to deploy (which is greater than the default limit of 200K). When interacting with the program, you may need to increase the compute unit limit. ## Installation diff --git a/example/program/src/lib.rs b/example/program/src/lib.rs index bbedb24..9c69445 100644 --- a/example/program/src/lib.rs +++ b/example/program/src/lib.rs @@ -17,7 +17,7 @@ solana_program::entrypoint!(process_instruction); /// let vkey_hash = vk.bytes32(); /// ``` const FIBONACCI_VKEY_HASH: &str = - "0x007a04fa063e8b4a76f65e95923df3319e13e2187c0543368aeb372609555f83"; + "0x008d5e2aa8fe6d5f0f9b1ad59034a47517fe5f4a5439c7db4e5cc923f783a887"; /// The instruction data for the program. #[derive(BorshDeserialize, BorshSerialize)]