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

cleos set account permission default parent error #5294

Merged
merged 1 commit into from Aug 17, 2018

Conversation

Projects
None yet
2 participants
@jjnetcn
Contributor

jjnetcn commented Aug 17, 2018

RPC /get_account use struct get_account_results {
..
vector permissions;
..
}
struct permission {
name perm_name;
name parent;
authority required_auth;
};

i thank this mistake maybe because of struct permission_level{account_name actor, permission_name permission;} use name 'permission'

try it:
./cleos set account permission ACCOUNT active PUBKEY
shoud equ
./cleos set account permission ACCOUNT active owner PUBKEY

cleos set account permission default parent error
RPC /get_account use struct get_account_results {
  ..
 vector<permission>         permissions;
 ..
}
struct permission {
  name              perm_name;
  name              parent;
  authority         required_auth;
};

i thank this mistake  maybe  because of struct permission_level{account_name actor, permission_name permission;} use name 'permission'

try it:
./cleos set account permission ACCOUNT active  PUBKEY
shoud equ
./cleos set account permission ACCOUNT active  owner PUBKEY

@heifner heifner merged commit 640bb11 into EOSIO:release/1.2.x Aug 17, 2018

14 checks passed

buildkite/eosio Build #2969 passed (45 minutes, 40 seconds)
Details
buildkite/eosio/aws-build Passed (10 minutes, 31 seconds)
Details
buildkite/eosio/aws-tests Passed (19 minutes, 13 seconds)
Details
buildkite/eosio/centos-build Passed (10 minutes, 51 seconds)
Details
buildkite/eosio/centos-tests Passed (19 minutes, 4 seconds)
Details
buildkite/eosio/darwin-build Passed (7 minutes, 46 seconds)
Details
buildkite/eosio/darwin-tests Passed (22 minutes, 2 seconds)
Details
buildkite/eosio/fedora-build Passed (11 minutes, 43 seconds)
Details
buildkite/eosio/fedora-tests Passed (19 minutes, 18 seconds)
Details
buildkite/eosio/pipeline Passed (1 minute, 4 seconds)
Details
buildkite/eosio/ubuntu-18-dot-04-build Passed (8 minutes, 32 seconds)
Details
buildkite/eosio/ubuntu-18-dot-04-tests Passed (18 minutes, 34 seconds)
Details
buildkite/eosio/ubuntu-build Passed (8 minutes, 36 seconds)
Details
buildkite/eosio/ubuntu-tests Passed (19 minutes, 11 seconds)
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment