Skip to content

console v1.0.2

Compare
Choose a tag to compare
@fqliao fqliao released this 19 Apr 06:39
· 885 commits to master since this release
6326cf0

v1.0.2

(2019-04-19)

Please read the console documentation.

CHANGELOG

  • Update
  1. Removed applicationContext.xml, ca.crt, node.crt and node.key files from console/conf directory. Added the sample config file applicationContext-sample.xml.
  2. Support deploying contracts in a console and calling contracts in another console.
  3. Support callByCNS command to call a latest version contract by default. Meanwhile, If the contract version is specified, the full qualified contract name is set to <contract name>:<contract version>. For example, HelloWorld:1.0.
  4. Prompt table-already-existed error when creating a duplicated user table. Prompt permission-deny error when performing addition, deletion and modification on a user table by an account without corresponding permission. (since fisco bcos 2.0.0-rc2)
  5. Prompt error information for invalid contract addresses. (since fisco bcos 2.0.0-rc2)
  6. Show the contract address in the format of contract address:<contract address> after deploying the contract.
  7. Allow contracts address to omit leading 0s but not 0x. For example, 0x000ac78 can be simplified to 0xac78.
  8. Sort the command list displayed by the help command.

请阅读console文档

变更日志

  • 更新
  1. console/conf目录下移除applicationContext.xml配置文件和ca.crtnode.crtnode.key文件。新增applicationContext-sample.xml配置文件。
  2. 一个控制台部署合约,另一个控制台可以直接调用合约。
  3. callByCNS支持在不传合约版本号时调用最新版本合约。传入版本号时,其合约名与版本号使用英文冒号分隔,例如HelloWorld:1.0
  4. 重复创建用户表会提示表已存在的错误信息,无权限的账号对用户表进行增删改操作会提示无权限信息。(适配fisco bcos 2.0.0-rc2)
  5. 调用合约时,传入错误合约地址会获取错误提示信息。(适配fisco bcos 2.0.0-rc2)
  6. 部署合约后,显示的合约地址前面加contract address:
  7. 合约地址只能省略前缀0,不能省略0x。例如0x000ac78可以简写成0xac78
  8. help命令显示的命令列表进行了字典排序。