Compare commits
5 Commits
89360bbf0c
...
v1.6.6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cdcdfbdfde | ||
|
|
d0f8af9851 | ||
|
|
965ee67409 | ||
|
|
0dfa8a555a | ||
|
|
37476bd506 |
@@ -282,6 +282,7 @@
|
|||||||
<option value="5">RARA</option>
|
<option value="5">RARA</option>
|
||||||
<option value="6">Sharding</option>
|
<option value="6">Sharding</option>
|
||||||
<option value="7">SASharding</option>
|
<option value="7">SASharding</option>
|
||||||
|
<option value="8">PBFT</option>
|
||||||
</select>
|
</select>
|
||||||
<div class="btn-group mr-3" role="group"
|
<div class="btn-group mr-3" role="group"
|
||||||
style="margin-left: 2%">
|
style="margin-left: 2%">
|
||||||
@@ -1339,6 +1340,7 @@
|
|||||||
//initWSocket();
|
//initWSocket();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Binary file not shown.
9214
jqueryui1.12/jquery-2.1.4.js
vendored
Executable file → Normal file
9214
jqueryui1.12/jquery-2.1.4.js
vendored
Executable file → Normal file
File diff suppressed because one or more lines are too long
@@ -400,7 +400,7 @@ function executeContract() {
|
|||||||
console.log(request.arg);
|
console.log(request.arg);
|
||||||
const gasLimit = $('#gasLimit').val() / 1;
|
const gasLimit = $('#gasLimit').val() / 1;
|
||||||
var toSign = request.contractID + "|"
|
var toSign = request.contractID + "|"
|
||||||
+ request.operation + "|" + arg ;
|
+ request.operation + "|" + request.arg;
|
||||||
if (gasLimit > 0) {
|
if (gasLimit > 0) {
|
||||||
request.gasLimit = gasLimit;
|
request.gasLimit = gasLimit;
|
||||||
toSign += "|" + gasLimit;
|
toSign += "|" + gasLimit;
|
||||||
@@ -474,6 +474,7 @@ function getMask() {
|
|||||||
localStorage.setItem("persisArg", JSON.stringify(request));
|
localStorage.setItem("persisArg", JSON.stringify(request));
|
||||||
global.wssocket.send(JSON.stringify(request));
|
global.wssocket.send(JSON.stringify(request));
|
||||||
}
|
}
|
||||||
|
|
||||||
function setMask() {
|
function setMask() {
|
||||||
const argDiv = $('#maskArg')[0];
|
const argDiv = $('#maskArg')[0];
|
||||||
const request = {};
|
const request = {};
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ function executeContract() {
|
|||||||
const arg = executeContractArgInput.value;
|
const arg = executeContractArgInput.value;
|
||||||
const gasLimit = $('#gasLimit').val() / 1;
|
const gasLimit = $('#gasLimit').val() / 1;
|
||||||
request.pubkey = sm2Key.publicKey;
|
request.pubkey = sm2Key.publicKey;
|
||||||
var toSign = request.contractID + "|"
|
let toSign = request.contractID + "|"
|
||||||
+ request.operation + "|" + arg;
|
+ request.operation + "|" + arg;
|
||||||
if (gasLimit > 0) {
|
if (gasLimit > 0) {
|
||||||
request.gasLimit = gasLimit;
|
request.gasLimit = gasLimit;
|
||||||
|
|||||||
Reference in New Issue
Block a user