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

Release 4.1.0 #507

Closed
nduchak opened this issue Jun 22, 2019 · 0 comments
Closed

Release 4.1.0 #507

nduchak opened this issue Jun 22, 2019 · 0 comments
Assignees
Milestone

Comments

@nduchak
Copy link
Contributor

nduchak commented Jun 22, 2019

4.1.0 (2019-06-22)

Bug Fixes

  • Node: Do not throw error if internalUrl not provided. Instead use url (#503) (053faae)
  • TXBuilder: Fix payload serialization if you try to unpackpack and pack tx. (#498) (73552e5)
  • TxValidator: Fix validation of state channel open transaction (#496) (325cc90)

Features

  • ACI: Refactor ACI module. Split to separated files. (#505) (fb7bc00)
  • Selector: If default account address not provided use the first
  • ACI: Handle ACI without init function
  • ACI: Automatically decide to send transaction on-chai or call-static.
    Add options object like last arguments of generate fn under instance.methods
    const instance = await client.getContractInstance(source)
    // Deploy contract
    await.contract.init(100, 'test', options)
    //or
    await.contract.deploy([100, 'test], options)
    // Call function
    const result = await instance.call('sum', [2, 5], options)
    //
      // Automatically decide to send tx on-chain or call-static(dry-run) base on if function stateful or not
      const result = await instance.methods.sum(2, 5, options)
      // Mannualy make on-chain
      const result = await instance.methods.sum.send(2, 5, options)
      // Mannualy make call-static
      const result = await instance.methods.sum.get(2, 5, options)
    //
    

Docs

  • Usage:: Add instructions about how to include directly the SDK in a html page
@nduchak nduchak added this to the Sprint 42 milestone Jun 22, 2019
@nduchak nduchak self-assigned this Jun 22, 2019
@nduchak nduchak closed this as completed Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant