Skip to content

[#240] Increase hardcoded gas limit during transaction simulation

Ivan Gromakovskii requested to merge gromak/#240-gas-limit-client2 into master

Description

Problem: Morley.Client.Action.Origination simulates an operation using which hardcoded gas limit 800k. That's outdated, currently the limit is 1040000 (in carthage).

Solution: as a hotfix we increase it to 1040000. Later we should make it resistant to protocol changes.

Related issue(s)

Resolves partially #420 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again ← not yet, should be done in the proper fix.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Merge request reports