diff options
author | Jeff Prestes <jeffprestes@gmail.com> | 2018-08-15 15:15:42 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-15 15:15:42 +0800 |
commit | 212bba47ff13812ddabb642da463e58cda4ff20f (patch) | |
tree | 229ddaf6591d031b782e692fb75ce6bc35dd225d /contracts/ens | |
parent | b52bb31b767a3e31266e6138e24f7226ebbd8882 (diff) | |
download | go-tangerine-212bba47ff13812ddabb642da463e58cda4ff20f.tar go-tangerine-212bba47ff13812ddabb642da463e58cda4ff20f.tar.gz go-tangerine-212bba47ff13812ddabb642da463e58cda4ff20f.tar.bz2 go-tangerine-212bba47ff13812ddabb642da463e58cda4ff20f.tar.lz go-tangerine-212bba47ff13812ddabb642da463e58cda4ff20f.tar.xz go-tangerine-212bba47ff13812ddabb642da463e58cda4ff20f.tar.zst go-tangerine-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/ens')
-rw-r--r-- | contracts/ens/ens_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contracts/ens/ens_test.go b/contracts/ens/ens_test.go index 6ad844708..411b04197 100644 --- a/contracts/ens/ens_test.go +++ b/contracts/ens/ens_test.go @@ -35,7 +35,7 @@ var ( ) func TestENS(t *testing.T) { - contractBackend := backends.NewSimulatedBackend(core.GenesisAlloc{addr: {Balance: big.NewInt(1000000000)}}) + contractBackend := backends.NewSimulatedBackend(core.GenesisAlloc{addr: {Balance: big.NewInt(1000000000)}}, 10000000) transactOpts := bind.NewKeyedTransactor(key) ensAddr, ens, err := DeployENS(transactOpts, contractBackend) |