Skip to content
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

Update documentation #237

Closed
17 of 18 tasks
turbolent opened this issue Jul 15, 2020 · 1 comment · Fixed by #277
Closed
17 of 18 tasks

Update documentation #237

turbolent opened this issue Jul 15, 2020 · 1 comment · Fixed by #277

Comments

@turbolent
Copy link
Member

turbolent commented Jul 15, 2020

Context

New features have been added to Cadence in the last few releases.
Update the documentation and describe the new features

Definition of Done

  • Querying block information
  • Crypto contract
  • Typed capabilities
  • Run-time Types
  • Addresses size (8 instead of 20 bytes)
  • Parameters for transactions and scripts
  • fun toString(): String was added for all number types and addresses
  • fun toBytes(): [UInt8] was added to Address
  • fun toBigEndianBytes(): [UInt8] was added to all number types.
  • Fields which have a non-storable type are now rejected:
    Non-storable types are:
    • Functions (e.g. ((Int): Bool))
    • Accounts (AuthAccount / PublicAccount)
    • Transactions
    • Void
  • String.decodeHex(): [Int]String.decodeHex(): [UInt8]
  • AuthAccount.addPublicKey(publicKey: [Int])AuthAccount.addPublicKey(publicKey: [UInt8])
  • AuthAccount.setCode(code: [Int])AuthAccount.setCode(code: [UInt8])
  • Conformance check now allows subtype for return type
  • Type hierarchy
  • unsafeRandom
  • Account creation
@timmymmit
Copy link
Contributor

Add section for Roadmap and Features that are upcoming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants