backends: configurable gas limit to allow testing large contracts (#17358)

* backends: increase gaslimit in order to allow tests of large contracts

* backends: increase gaslimit in order to allow tests of large contracts

* backends: increase gaslimit in order to allow tests of large contracts
This commit is contained in:
Jeff Prestes
2018-08-15 04:15:42 -03:00
committed by Péter Szilágyi
parent b52bb31b76
commit 212bba47ff
6 changed files with 22 additions and 20 deletions

View File

@ -40,7 +40,7 @@ var (
)
func main() {
backend := backends.NewSimulatedBackend(testAlloc)
backend := backends.NewSimulatedBackend(testAlloc, uint64(100000000))
auth := bind.NewKeyedTransactor(testKey)
// Deploy the contract, get the code.