casper-network / casper-network/casper-node
Wrong documentation for enable_contract_version
- Dominant language
- Rust
- Stars
- 399
- Forks
- 224
- Avg merge
- 15h 44m
- Merged PRs (30d)
- 2
Description
This looks like a copy/paste issue:
Enable a version of a contract from the contract stored at the given hash. **That version of the contract will no longer be callable by call_versioned_contract**. Note that this contract must...
https://github.com/casper-network/casper-node/blob/5b95c0dae66e5dc02e4472f1a3089606d20d2afa/smart_contracts/contract/src/contract_api/storage.rs#L348
FIX by removing the line in bold: "That version of the contract will no longer be callable by call_versioned_contract."
Contributor guide
No contributing guide indexed for this repository
Research direction
Open smart_contracts/contract/src/contract_api/storage.rs around line 348 and read the enable_contract_version documentation. Remove the sentence stating that the contract version will no longer be callable by call_versioned_contract, then verify that the documentation accurately describes the API; a linked pull request has already addressed this issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100