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

repairUpLoad #237

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open

repairUpLoad #237

wants to merge 5 commits into from

Conversation

724338817
Copy link

修复上传合约问题

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{0:function(t,n){},1:function(t,n){},2:function(t,n){},3:function(t,n){},4:function(t,n){},5:function(t,n){},6:function(t,n){},7:function(t,n){},8:function(t,n){},BN7u:function(t,n,e){"use strict";var r,i=e("rfXi"),o=(r=i)&&r.__esModule?r:{default:r};var s=e("Vci6");n.sm3Digest=function(t){var n=new s,e=(0,o.default)(t),r=n.sum(e);return(0,o.default)(r,(function(t){return("0"+(255&t).toString(16)).slice(-2)})).join("")}},LRch:function(t,n,e){"use strict";n.strToBytes=function(t){for(var n,e,r=[],i=0;i<t.length;i++){n=t.charCodeAt(i),e=[];do{e.push(255&n),n>>=8}while(n);r=r.concat(e.reverse())}return r}},Vci6:function(t,n,e){"use strict";var r=e("LRch");function i(){if(!(this instanceof i))return new i;this.reg=new Array(8),this.chunk=[],this.size=0,this.reset()}function o(t,n){return(t<<(n%=32)|t>>>32-n)>>>0}function s(t){return 0<=t&&t<16?2043430169:16<=t&&t<64?2055708042:void console.error("invalid j for constant Tj")}function c(t,n,e,r){return 0<=t&&t<16?(n^e^r)>>>0:16<=t&&t<64?(n&e|n&r|e&r)>>>0:(console.error("invalid j for bool function FF"),0)}function u(t,n,e,r){return 0<=t&&t<16?(n^e^r)>>>0:16<=t&&t<64?(n&e|~n&r)>>>0:(console.error("invalid j for bool function GG"),0)}t.exports=i,i.prototype.reset=function(){this.reg[0]=1937774191,this.reg[1]=1226093241,this.reg[2]=388252375,this.reg[3]=3666478592,this.reg[4]=2842636476,this.reg[5]=372324522,this.reg[6]=3817729613,this.reg[7]=2969243214,this.chunk=[],this.size=0},i.prototype.write=function(t){var n="string"==typeof t?r.strToBytes(t):t;this.size+=n.length;var e=64-this.chunk.length;if(n.length<e)this.chunk=this.chunk.concat(n);else for(this.chunk=this.chunk.concat(n.slice(0,e));this.chunk.length>=64;)this._compress(this.chunk),e<n.length?this.chunk=n.slice(e,Math.min(e+64,n.length)):this.chunk=[],e+=64},i.prototype.sum=function(t,n){t&&(this.reset(),this.write(t)),this._fill();for(var e=0;e<this.chunk.length;e+=64)this._compress(this.chunk.slice(e,e+64));var r=null;if("hex"==n){r="";for(e=0;e<8;e++)r+=this.reg[e].toString(16)}else for(r=new Array(32),e=0;e<8;e++){var i;i=this.reg[e],r[4*e+3]=(255&i)>>>0,i>>>=8,r[4*e+2]=(255&i)>>>0,i>>>=8,r[4*e+1]=(255&i)>>>0,i>>>=8,r[4*e]=(255&i)>>>0}return this.reset(),r},i.prototype._compress=function(t){if(t<64)console.error("compress error: not enough data");else{for(var n=function(t){for(var n=new Array(132),e=0;e<16;e++)n[e]=t[4*e]<<24,n[e]|=t[4*e+1]<<16,n[e]|=t[4*e+2]<<8,n[e]|=t[4*e+3],n[e]>>>=0;for(var r=16;r<68;r++){var i;i=(i=n[r-16]^n[r-9]^o(n[r-3],15))^o(i,15)^o(i,23),n[r]=(i^o(n[r-13],7)^n[r-6])>>>0}for(r=0;r<64;r++)n[r+68]=(n[r]^n[r+4])>>>0;return n}(t),e=this.reg.slice(0),r=0;r<64;r++){var i=o(e[0],12)+e[4]+o(s(r),r),h=((i=o(i=(4294967295&i)>>>0,7))^o(e[0],12))>>>0,f=c(r,e[0],e[1],e[2]);f=(4294967295&(f=f+e[3]+h+n[r+68]))>>>0;var a=u(r,e[4],e[5],e[6]);a=(4294967295&(a=a+e[7]+i+n[r]))>>>0,e[3]=e[2],e[2]=o(e[1],9),e[1]=e[0],e[0]=f,e[7]=e[6],e[6]=o(e[5],19),e[5]=e[4],e[4]=(a^o(a,9)^o(a,17))>>>0}for(var l=0;l<8;l++)this.reg[l]=(this.reg[l]^e[l])>>>0}},i.prototype._fill=function(){var t=8*this.size,n=this.chunk.push(128)%64;for(64-n<8&&(n-=64);n<56;n++)this.chunk.push(0);for(var e=0;e<4;e++){var r=Math.floor(t/4294967296);this.chunk.push(r>>>8*(3-e)&255)}for(e=0;e<4;e++)this.chunk.push(t>>>8*(3-e)&255)}},bWg5:function(t,n,e){"use strict";var r,i=e("jKy4"),o=(r=i)&&r.__esModule?r:{default:r};var s=e("qrFr"),c=e("xG9w"),u=s;console.log(o.default),u.smEncodeFunctionSignature=function(t){return c.isObject(t)&&(t=o.default._jsonInterfaceMethodToString(t)),"0x"+o.default.sha4(t).slice(0,8)},u.smEncodeEventSignature=function(t){return c.isObject(t)&&(t=o.default._jsonInterfaceMethodToString(t)),"0x"+o.default.sha4(t)},u.smEncodeFunctionCall=function(t,n){return this.smEncodeFunctionSignature(t)+this.encodeParameters(t.inputs,n).replace("0x","")},t.exports=u},jKy4:function(t,n,e){"use strict";(function(n){var r=e("W6Pm"),i=e("BN7u"),o=r;o.sha4=function(t){t=new n(t);var e=i.sm3Digest(t),r=new n(e,"hex").toString("hex");return console.log("SM3digstData:",e),r},t.exports=o}).call(this,e("tjlA").Buffer)}}]);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad invocation.
Expected an assignment or function call and instead saw an expression.
If a strict mode function is executed using function invocation, its 'this' value will be undefined.
Missing '()' invoking a constructor.
Missing semicolon.
Too many errors. (100% scanned).

@@ -0,0 +1 @@
!function(e){function r(r){for(var n,u,i=r[0],c=r[1],f=r[2],d=0,p=[];d<i.length;d++)u=i[d],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&p.push(o[u][0]),o[u]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(l&&l(r);p.length;)p.shift()();return a.push.apply(a,f||[]),t()}function t(){for(var e,r=0;r<a.length;r++){for(var t=a[r],n=!0,i=1;i<t.length;i++){var c=t[i];0!==o[c]&&(n=!1)}n&&(a.splice(r--,1),e=u(u.s=t[0]))}return e}var n={},o={3:0},a=[];function u(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var a,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+e+"."+{1:"278eba87db556e928b5a",5:"9db6b58aa309146f2c2a",6:"e44628bd117694e702f1",7:"4e65710784f84bd6f3dc",8:"74e36bcb6a7ad15f1b6c",9:"1c6fb1dc8e59f75bdbd7",10:"82eef27d4273da511b6d",11:"efe5d74be459f10233eb"}[e]+".js"}(e);var c=new Error;a=function(r){i.onerror=i.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+a+")",c.name="ChunkLoadError",c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var f=setTimeout((function(){a({type:"timeout",target:i})}),12e4);i.onerror=i.onload=a,document.head.appendChild(i)}return Promise.all(r)},u.m=e,u.c=n,u.d=function(e,r,t){u.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,r){if(1&r&&(e=u(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)u.d(t,n,function(r){return e[r]}.bind(null,n));return t},u.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(r,"a",r),r},u.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},u.p="./",u.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],c=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var l=c;t()}([]);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an assignment or function call and instead saw an expression.
Expected an identifier and instead saw ','.
Functions declared within loops referencing an outer scoped variable may lead to confusing semantics. (e)
Missing '()' invoking a constructor.
Missing semicolon.

@ghost
Copy link

ghost commented Jun 8, 2022

Sider has detected 1 warning on analyzing the commit 0560c5a.

If the errors persist even after retrying, the following actions may resolve them:

If you still have problems, feel free to ask us via chat. 💬


You can turn off such notifications if unnecessary.

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

Successfully merging this pull request may close these issues.

2 participants