Skip to content
This repository has been 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

Open
b1aafulei opened this issue Nov 18, 2021 · 0 comments
Labels
documentation Requires attention of documentation team. e.g. documentation is expected to be generated.

Comments

@b1aafulei
Copy link

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 ) {

@sanaraufx sanaraufx added the documentation Requires attention of documentation team. e.g. documentation is expected to be generated. label Nov 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Requires attention of documentation team. e.g. documentation is expected to be generated.
Projects
None yet
Development

No branches or pull requests

2 participants