Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Aug 15, 2018
Merged

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

merged 3 commits into from
Aug 15, 2018

Conversation

jeffprestes
Copy link
Contributor

No description provided.

@@ -229,7 +229,7 @@ var bindTests = []struct {
// Generate a new random account and a funded simulator
key, _ := crypto.GenerateKey()
auth := bind.NewKeyedTransactor(key)
sim := backends.NewSimulatedBackend(core.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000)}})
sim := backends.NewSimulatedBackend(core.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000)}}, uint64(10000000))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need the uint64 casts. Constant in Go have infinite precision and are cast to the correct type during compilation.

@jeffprestes
Copy link
Contributor Author

The changes requested were applied.

@karalabe karalabe added this to the 1.8.14 milestone Aug 15, 2018
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks

@karalabe karalabe merged commit 212bba4 into ethereum:master Aug 15, 2018
firmianavan pushed a commit to firmianavan/go-ethereum that referenced this pull request Aug 28, 2018
…hereum#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
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 27, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 27, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 27, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 27, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 27, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 27, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 27, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 28, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 30, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 30, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 30, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 30, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 1, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 3, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 4, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 6, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 10, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 10, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 14, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 16, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 17, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 22, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 22, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 23, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants