console v1.0.2
v1.0.2
(2019-04-19)
Please read the console documentation.
CHANGELOG
- Update
- Removed
applicationContext.xml
,ca.crt
,node.crt
andnode.key
files fromconsole/conf
directory. Added the sample config fileapplicationContext-sample.xml
. - Support deploying contracts in a console and calling contracts in another console.
- 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
. - 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)
- Prompt error information for invalid contract addresses. (since fisco bcos 2.0.0-rc2)
- Show the contract address in the format of
contract address:<contract address>
after deploying the contract. - Allow contracts address to omit leading 0s but not
0x
. For example,0x000ac78
can be simplified to0xac78
. - Sort the command list displayed by the
help
command.
请阅读console文档。
变更日志
- 更新
console/conf
目录下移除applicationContext.xml
配置文件和ca.crt
,node.crt
,node.key
文件。新增applicationContext-sample.xml
配置文件。- 一个控制台部署合约,另一个控制台可以直接调用合约。
callByCNS
支持在不传合约版本号时调用最新版本合约。传入版本号时,其合约名与版本号使用英文冒号分隔,例如HelloWorld:1.0
。- 重复创建用户表会提示表已存在的错误信息,无权限的账号对用户表进行增删改操作会提示无权限信息。(适配fisco bcos 2.0.0-rc2)
- 调用合约时,传入错误合约地址会获取错误提示信息。(适配fisco bcos 2.0.0-rc2)
- 部署合约后,显示的合约地址前面加
contract address:
。 - 合约地址只能省略前缀0,不能省略
0x
。例如0x000ac78
可以简写成0xac78
。 help
命令显示的命令列表进行了字典排序。