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

Ethereal GUI freezes when submitting contracts #57

Closed
tymat opened this issue May 26, 2014 · 3 comments

Comments

Projects
None yet
3 participants
@tymat
Copy link

commented May 26, 2014

I'm on develop branch (commit d694e00)

Trying to submit contracts freezes and makes the GUI unresponsive. Below is a sample

init {
  this.store[this.origin()] = 10**20
}

main {
  big to = this.data[0]
  big from = this.origin()
  big value = this.data[1]
  if this.store[from] >= value {
    this.store[from] = this.store[from] - value
    this.store[to] = this.store[to] + value
  }
}

I've tried this both on OS X Mavericks and Ubuntu 14.04 with the same results. I've used the build instructions from https://github.com/ethereum/go-ethereum/wiki/Building-Qt

@stephantual

This comment has been minimized.

Copy link
Contributor

commented May 27, 2014

If you're on develop or RC9, then init{} and main{} are gone.

The coin code is now:

  this.store[this.origin()] = 10**20

  return lambda {
      big to = this.data[0]
      big from = this.origin()
      big value = this.data[1]

      if this.store[from] > value {
          this.store[from] = this.store[from] - value
          this.store[to] = this.store[to] + value
      }
  }
@tymat

This comment has been minimized.

Copy link
Author

commented May 27, 2014

Thanks Stephan!

@obscuren

This comment has been minimized.

Copy link
Member

commented May 27, 2014

@tymat I assume it's fixed. If not, please re-open.

@obscuren obscuren closed this May 27, 2014

fjl pushed a commit to fjl/go-ethereum that referenced this issue Oct 23, 2014

rauljordan added a commit to rauljordan/go-ethereum that referenced this issue Mar 6, 2018

b00ris added a commit to b00ris/go-ethereum that referenced this issue Jun 9, 2018

ngtuna added a commit to ngtuna/tomochain that referenced this issue Jun 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.