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
Closed

Ethereal GUI freezes when submitting contracts #57

tymat opened this issue May 26, 2014 · 3 comments

Comments

@tymat
Copy link

tymat 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
Copy link
Contributor

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
Copy link
Author

tymat commented May 27, 2014

Thanks Stephan!

@obscuren
Copy link
Contributor

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

fjl pushed a commit to fjl/go-ethereum that referenced this issue Oct 23, 2014
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
i-norden referenced this issue in cerc-io/go-ethereum Oct 16, 2020
* docker: disable ipc, default env vars for running locally

* docker: state dump entrypoint
tony-ricciardi pushed a commit to tony-ricciardi/go-ethereum that referenced this issue Jan 20, 2022
holiman referenced this issue in holiman/go-ethereum Nov 26, 2022
joshuacolvin0 pushed a commit to joshuacolvin0/go-ethereum that referenced this issue Jan 4, 2023
luanxu-mxc pushed a commit to MXCzkEVM/mxc-geth that referenced this issue May 27, 2023
* feat(miner): update payload building

* chore: update workflow

* chore: update workflow
sbellem pushed a commit to sbellem/go-ethereum that referenced this issue Jul 25, 2023
cp-wjhan pushed a commit to cp-wjhan/go-metadium that referenced this issue Aug 1, 2023
gwemix: merge 0.10.4 to master
ryanschneider added a commit to ryanschneider/go-ethereum that referenced this issue Jan 31, 2024
s1na pushed a commit to s1na/go-ethereum that referenced this issue Dec 2, 2024
* v2 Hook Reward, need test

* test reward

* fix RewardHook due to modifying params config directly (ethereum#56)

* more test

* finish test

Co-authored-by: Jerome <[email protected]>
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

No branches or pull requests

3 participants