Skip to content

Update staking.adoc #1691

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 modules/architecture/pages/staking.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ To invoke onchain contracts, use https://foundry-rs.github.io/starknet-foundry/s

| Staking
| Invoke the staking contract's https://github.com/starkware-libs/starknet-staking/blob/main/docs/spec.md#stake[`stake`^] function
a| * You should make sure you are xref:responsibilities[running a full node and attesting to blocks] before staking
a| * You should make sure you are xref:responsibilities[running a fully synchronized node] before staking. Attesting to blocks is only possible starting from the epoch following a successful stake.
* You must first approve the transfer of the amount of STRK tokens to be staked to the staking contract by invoking the STRK contract's `approve` function
* `operational_address` should have sufficient funds to pay for attestation transactions
* `amount` should be equal or greater than the xref:protocol[minimum stake for validators] and denominated in FRI (i.e., 1*10^18^ = 1 STRK)
Expand Down