Open TrevorJTClarke opened 2 years ago
Hello,
Can you detail arguments needed by functions.
Apparently has_blob require hash field, but hash of what ?
For get_last_proposal_id if it's return n, to get this proposal the id is n-1. So I think we can decrement get_proposal_id to have directly the right id. I don't know what file determine this functions.
Create test coverage for the following:
Views
version
get_config
get_policy
get_staking_contract
None
.has_blob
get_locked_storage_amount
get_available_amount
delegation_total_supply
delegation_balance_of
delegation_balance_ratio
get_last_proposal_id
get_proposals
get_proposal
get_bounty
get_last_bounty_id
get_bounties
get_bounty_claims
get_bounty_number_of_claims