Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

[docs] Suggestion / Change Request - Fix Description for 2nd Argument of setabi() #578

@b1aafulei

Description

@b1aafulei

Code: Source

Regarding https://developers.eos.io/manuals/eosio.contracts/latest/action-reference/eosio.bios/index/#setabi

For the 2rd argument abi of the function void setabi(account, abi) the current description

"the abi hash represented as a vector of characters"

is inaccurate. It should simply be

"the ABI represented as a vector of characters"

The abi argument that gets passed is just a text string, not a hash. Hashing happens afterwards.

For source code, see

void bios::setabi( name account, const std::vector<char>& abi ) {

and

void native::setabi( const name& acnt, const std::vector<char>& abi ) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationRequires attention of documentation team. e.g. documentation is expected to be generated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions