Skip to content

Commit

Permalink
Merge pull request #136 from skalenetwork/feature/SKALE-2384-add-dry-…
Browse files Browse the repository at this point in the history
…run-to-transactions

SKALE-2384 Increase gas limit for some transactions
  • Loading branch information
dmytrotkk authored Apr 6, 2020
2 parents 2223c10 + 3d884d4 commit 597204b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions skale/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@

GAS = {
'add_validator': 4500000,
'create_node': 4500000,
'create_node': 8000000,
'create_schain': 7500000,
'get_bounty': 4500000,
'get_bounty': 8000000,
'send_verdict': 200000,
'send_verdicts': 500000,
'send_verdicts': 8000000,
'set_check_time': 200000,
'set_latency': 200000,
'token_transfer': 600000,
Expand Down
2 changes: 1 addition & 1 deletion tests/contracts/manager_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_send_verdicts(skale):
chain_id = skale.web3.eth.chainId
expected_txn = {
'value': 0, 'gasPrice': skale.gas_price, 'chainId': chain_id,
'gas': 500000, 'nonce': nonce,
'gas': 8000000, 'nonce': nonce,
'to': contract_address,
'data': ('0x25b2114b000000000000000000000000000000000000000000'
'0000000000000000000000000000000000000000000000000000'
Expand Down

0 comments on commit 597204b

Please sign in to comment.