feat: invoke fromDebug in NodePortal.html
This commit is contained in:
@@ -35,6 +35,9 @@ var onListContractProcess1 = function(obj) {
|
||||
|
||||
global.permissionNameMap = {};
|
||||
for (var i = 0; i < table.length; i++) {
|
||||
if (table[i].contractStatus=="KILLED") {
|
||||
continue;
|
||||
}
|
||||
var option = document.createElement("option");
|
||||
option.text = table[i].name;
|
||||
console.log(table[i].name);
|
||||
@@ -370,6 +373,7 @@ var executeContractWithDynamicResult = function() {
|
||||
request.contractName = global.contractInstance;
|
||||
request.sequencing = global.instanceSequencing;
|
||||
request.useP2P = global.useP2P;
|
||||
request.isDebug = executeContractAsDebug.checked;
|
||||
var operation = $("#selectContractFunction")[0].value;
|
||||
if (operation == " " && operation == undefined) {
|
||||
myToast("执行合约", "请选择合约方法!");
|
||||
@@ -399,6 +403,7 @@ var executeContract = function() {
|
||||
request.operation = operation;
|
||||
request.arg = $("#arg")[0].value ;
|
||||
request.pubkey = global.sm2Key.publicKey;
|
||||
request.isDebug = executeContractAsDebug.checked;
|
||||
console.log(request.arg);
|
||||
request.signature = sm2.doSignature(request.contractID + "|" + operation
|
||||
+ "|" + $("#arg")[0].value + "|" + global.sm2Key.publicKey,
|
||||
|
||||
Reference in New Issue
Block a user