From 95808976e86b1ed049e874841d24f01c140eee79 Mon Sep 17 00:00:00 2001 From: Thomas Nguy Date: Thu, 28 Sep 2023 17:41:43 +0900 Subject: [PATCH] adjust config --- integration_tests/configs/ibc.jsonnet | 2 +- integration_tests/test_ica_precompile.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/integration_tests/configs/ibc.jsonnet b/integration_tests/configs/ibc.jsonnet index dba271dfd7..09cc0902d6 100644 --- a/integration_tests/configs/ibc.jsonnet +++ b/integration_tests/configs/ibc.jsonnet @@ -5,7 +5,7 @@ config { 'account-prefix': 'crc', 'coin-type': 60, 'precompiled-contract-address': '0x0000000000000000000000000000000000000065', - 'gas-adjustment': 3, + 'gas-adjustment': 2, key_name: 'signer1', accounts: super.accounts[:std.length(super.accounts) - 1] + [super.accounts[std.length(super.accounts) - 1] { coins: super.coins + ',100000000000ibcfee', diff --git a/integration_tests/test_ica_precompile.py b/integration_tests/test_ica_precompile.py index 32d73b2f1f..d5099d41de 100644 --- a/integration_tests/test_ica_precompile.py +++ b/integration_tests/test_ica_precompile.py @@ -131,7 +131,7 @@ def test_call(ibc): name = "signer2" addr = ADDRS[name] contract = w3.eth.contract(address=CONTRACT, abi=contract_info) - data = {"from": ADDRS[name], "gas": 500000} + data = {"from": ADDRS[name], "gas": 600000} ica_address = register_acc( cli_controller, w3, @@ -173,7 +173,7 @@ def test_sc_call(ibc): name = "signer2" signer = ADDRS[name] keys = KEYS[name] - data = {"from": signer, "gas": 500000} + data = {"from": signer, "gas": 600000} ica_address = register_acc( cli_controller, w3, @@ -189,7 +189,7 @@ def test_sc_call(ibc): # register from another user should fail name = "signer1" - data = {"from": ADDRS[name], "gas": 500000} + data = {"from": ADDRS[name], "gas": 600000} version = "" tx = tcontract.functions.callRegister(connid, version).build_transaction(data) res = send_transaction(w3, tx, KEYS[name])