You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should be able to calculate small contract create',function(){
663
+
it.only('should be able to calculate small contract create',function(){
664
664
// This number represents the estimation for mirror node web3 module
665
665
// Can be fetched by using: curl -X POST --data '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"from":"0x...","data":<greeterContractCreate>},"latest"]}'
666
-
constmirrorNodeEstimation=70711;
666
+
constmirrorNodeEstimation=499055;
667
667
// This number represents the difference between the actual gas returned from the mirror node and the minimal required for deployment of this contract based only on the data field.
it('should be able to calculate normal contract create',function(){
677
677
// This number represents the estimation for mirror node web3 module
678
678
// Can be fetched by using: curl -X POST --data '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"from":"0x...","data":<greeterContractCreate>},"latest"]}'
679
-
constmirrorNodeEstimation=499055;
679
+
constmirrorNodeEstimation=86351;
680
680
// This number represents the difference between the actual gas returned from the mirror node and the minimal required for deployment of this contract based only on the data field.
0 commit comments