specron / framework

Lightweight, open source and magic-free framework for testing solidity smart contracts.
https://specron.github.io/framework
MIT License
35 stars 11 forks source link

Default `gas` value not set in `ctx.deploy` #3

Closed xpepermint closed 6 years ago

xpepermint commented 6 years ago

The maximum gas value should be set automatically so a user doesn't have to set this property manually.

MoMannn commented 6 years ago

This is actually not a bug. Default gas sets normally in deploy. What the problem was is that when calling methods in a deployed contract the default gas was set to: 90 000. We fixed this with: https://github.com/specron/framework/pull/23