Skip to content

Commit

Permalink
fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwen committed Jan 27, 2025
1 parent 9371692 commit 0c42c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 0c42c96

Please sign in to comment.