aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/chequebook/gencode.go
diff options
context:
space:
mode:
authorJeff Prestes <jeffprestes@gmail.com>2018-08-15 15:15:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-15 15:15:42 +0800
commit212bba47ff13812ddabb642da463e58cda4ff20f (patch)
tree229ddaf6591d031b782e692fb75ce6bc35dd225d /contracts/chequebook/gencode.go
parentb52bb31b767a3e31266e6138e24f7226ebbd8882 (diff)
downloaddexon-212bba47ff13812ddabb642da463e58cda4ff20f.tar.gz
dexon-212bba47ff13812ddabb642da463e58cda4ff20f.tar.zst
dexon-212bba47ff13812ddabb642da463e58cda4ff20f.zip
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
Diffstat (limited to 'contracts/chequebook/gencode.go')
-rw-r--r--contracts/chequebook/gencode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contracts/chequebook/gencode.go b/contracts/chequebook/gencode.go
index 45f6d68f3..ddfe8d151 100644
--- a/contracts/chequebook/gencode.go
+++ b/contracts/chequebook/gencode.go
@@ -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.