Skip to content

Commit

Permalink
docs: README CU limit (#16)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: yuwen <yuwen>
  • Loading branch information
ratankaliani authored Jan 27, 2025
1 parent ca2730c commit 768d62d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ solana config set -ud
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). When interacting with the program, you may need to increase the compute unit limit.
## Installation
Add `sp1-solana` to your `Cargo.toml`:
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 768d62d

Please sign in to comment.