Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 2.85 KB

CHANGELOG.md

File metadata and controls

69 lines (44 loc) · 2.85 KB

Change log

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. See MAINTAINERS.md for instructions to keep up to date.

Unreleased

Added

  • Added global --allow-partial-signature flag, which uses the /v1/chain/get_accounts_by_authorizers, and supports partial key matching of requested authorities. This allows you to participate in a multi-sig that doesn't use the on-chain eosio.msig patterns. Mind you, if the transaction is submitted, it might fail auth checks, unless you collect all signatures before.

  • Added - special case to --write-transaction, to output to standard output, as plain JSON.

  • Support for eosc tx sign and eosc tx unpack to handle a transaction from STDIN (passed on the command-line as JSON), instead of requiring use of a file on disk. Example: eosc tx unpack '{"expiration": "...", ...}'

  • Added the vault passwd command, to change the passphrase on a passphrase-secured vault.

  • A short-form authority expression to specify authorities in system updateauth and system newaccount commands. Syntax:

- An optional threshold for the whole structure: "3=" (defauts to "1=")
- Comma-separated permission levels:
    - a public key
      or:
    - an account name, with optional "@permission" (defaults to "@active")
  For each permission levels, an optional "+2" suffix (defaults to "+1")

EXAMPLES

An authority with a threshold of 1, gated by a single key with a
weight of 1:

    EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV

An authority with a threshold of 1, gated by two accounts each with a weight of 1:

    myaccount,youraccount

An authority with a threshold of 2, gated by two accounts each with a weight of 1

    2=myaccount,youraccount

An authority with a threshold of 3, requiring admin (+2) and one of the two
employees (each +1):

    3=admin+2,employee1,employee2

An authority with a threshold of 3, gated by a key with a weight of 2, an
account with a weight of 3, and another account with a weight of 1:

    3=EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV+2,myaccount@secureperm+3,youraccount

this syntax is used to specify system updateauth and system newaccount authority structures. It is also available in the cli package of the eosc library.

Changed

  • The --auth-key and --auth-file flags of the system newaccount command were removed, and changed to positional arguemnts, using the short-form autority syntax. The auth file support is removed, as the short-form syntax absorbs all of its functionality, in a much more terse way.

  • The --setpriv flag on system newaccount was replaced by the --additional-actions option setpriv.

  • --sudo-wrap now properly uses eosio.wrap as authorizer (was eosio and didn't work properly).