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
Copy file name to clipboardExpand all lines: packages/relay/tests/lib/precheck.spec.ts
+16-15Lines changed: 16 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -663,49 +663,50 @@ describe('Precheck', async function () {
663
663
it('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=60364;
666
+
constmirrorNodeEstimation=70711;
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(){
676
677
// This number represents the estimation for mirror node web3 module
677
678
// Can be fetched by using: curl -X POST --data '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"from":"0x...","data":<greeterContractCreate>},"latest"]}'
678
-
constmirrorNodeEstimation=86351;
679
+
constmirrorNodeEstimation=499055;
679
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