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 poc5 rc8 for loop like while loop crashes UI #52

Closed
SimonTomlin opened this issue May 23, 2014 · 4 comments
Closed

Ethereal poc5 rc8 for loop like while loop crashes UI #52

SimonTomlin opened this issue May 23, 2014 · 4 comments
Labels
Milestone

Comments

@SimonTomlin
Copy link

The following simple contract crashes the UI
Its a for loop set up to act like a while loop

init {
}
main {
int16 start_nonce = 2000
int32 bet_nonce = 2200
for start_nonce < bet_nonce {
start_nonce = start_nonce + 10
}
}

@obscuren obscuren added this to the poc5 milestone May 26, 2014
@obscuren obscuren added the bug label May 26, 2014
@obscuren obscuren modified the milestone: poc5 May 28, 2014
@stephantual
Copy link
Contributor

Init and main are gone since RC10 - see this sample code for the new syntax:

  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
      }
  }

@stephantual
Copy link
Contributor

I reckon we could close this one now

@obscuren
Copy link
Contributor

@stephantual No this is something else.

@obscuren obscuren reopened this May 29, 2014
@obscuren obscuren modified the milestone: poc5 May 30, 2014
@obscuren
Copy link
Contributor

obscuren commented Jun 9, 2014

Moved obscuren/mutan#12

mutan related issue

@obscuren obscuren closed this as completed Jun 9, 2014
fjl pushed a commit to fjl/go-ethereum that referenced this issue Oct 23, 2014
Add blank line after +build comment
Arachnid pushed a commit to Arachnid/go-ethereum that referenced this issue Jul 14, 2016
swarm/services/ens: update bin, go bindings:
bas-vk pushed a commit to bas-vk/go-ethereum that referenced this issue Feb 20, 2017
b00ris referenced this issue in b00ris/go-ethereum Jun 9, 2018
AusIV pushed a commit to NoteGio/go-ethereum that referenced this issue Feb 24, 2020
AusIV pushed a commit to NoteGio/go-ethereum that referenced this issue May 21, 2020
maoueh pushed a commit to streamingfast/go-ethereum that referenced this issue Aug 13, 2021
new: Add bor.getRootHash(start, end) api method (MAT-1302)
holiman referenced this issue in holiman/go-ethereum Nov 26, 2022
zhiqiangxu pushed a commit to zhiqiangxu/go-ethereum that referenced this issue Dec 5, 2022
Co-authored-by: blockchaindevsh <blockchaindevsh@google.com>
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
shampoobera pushed a commit to berachain/polaris-geth that referenced this issue May 30, 2023
# This is the 1st commit message:

params: release Geth v1.11.2

# This is the commit message #2:

stateful

# This is the commit message #3:

use PrecompileExecutor

# This is the commit message #4:

use host terminology

# This is the commit message #5:

return precompiledContract and bool

# This is the commit message #6:

use ctx in Run instead of statedb

# This is the commit message #7:

change to ph

# This is the commit message #8:

bing bong

# This is the commit message #9:

rename to runner

# This is the commit message #10:

rename constructor

# This is the commit message #11:

new precompile function types

# This is the commit message #12:

precompile controller

# This is the commit message #13:

make PrecompileController public

# This is the commit message #14:

ctx setter

# This is the commit message #15:

add statedb in contract.Run

# This is the commit message #16:

use Prepare on controller

# This is the commit message #17:

prepare for state transition

# This is the commit message #18:

contract has registry key

# This is the commit message #19:

has and get

# This is the commit message #20:

controller > manager

# This is the commit message #21:

with statedb

# This is the commit message #22:

with ctx

# This is the commit message #23:

simple precompile manager

# This is the commit message #24:

allow setting block context to evm

# This is the commit message #25:

remove unneded evm funcs

# This is the commit message #26:

simplify precompile manager

# This is the commit message #27:

updated go.sum

# This is the commit message #28:

removing extra bits

# This is the commit message #29:

typo fixes

# This is the commit message #30:

ethapi

# This is the commit message #31:

cleanup precomp manager

# This is the commit message #32:

add get chain id

# This is the commit message #33:

make access list public

# This is the commit message #34:

make access list struct public

# This is the commit message #35:

fix typos

# This is the commit message #36:

ethpub

# This is the commit message #37:

use the StateDB interface in the API

# This is the commit message ethereum#38:

make compatible

# This is the commit message ethereum#39:

fixed merge conflicts

# This is the commit message ethereum#40:

remove unecessary vm imports

# This is the commit message ethereum#41:

add signature to signer interface

# This is the commit message ethereum#42:

params: begin v.1.11.3 release cycle

# This is the commit message ethereum#43:

log: improve documentation (ethereum#26753)

Add usage examples
# This is the commit message ethereum#44:

core/rawdb, node: use standalone flock dependency (ethereum#26633)


# This is the commit message ethereum#45:

eth: use the last announced finalized block as the sync ancient limit (ethereum#26685)


# This is the commit message ethereum#46:

ci: disable coverage reporting in appveyor and travis

# This is the commit message ethereum#47:

cmd/devp2p: faster crawling + less verbose dns updates (ethereum#26697)

This improves the speed of DHT crawling by using concurrent requests.
It also removes logging of individual DNS updates.

# This is the commit message ethereum#48:

eth/tracers: add native flatCallTracer (aka parity style tracer) (ethereum#26377)

Adds support for a native call tracer with the Parity format, which outputs call frames
in a flat array. This tracer accepts the following options:

- `convertParityErrors: true` will convert error messages to match those of Parity
- `includePrecompiles: true` will report all calls to precompiles. The default
  matches Parity's behavior where CALL and STATICCALLs to precompiles are excluded

Incompatibilities with Parity include:

- Parity removes the result object in case of failure. This behavior is maintained
  with the exception of reverts. Revert output usually contains useful information,
  i.e. Solidity revert reason.
- The `gasUsed` field accounts for intrinsic gas (e.g. 21000 for simple transfers)
  and refunds unlike Parity
- Block rewards are not reported

Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
# This is the commit message ethereum#49:

core: improve withdrawal index assignment in GenerateChain (ethereum#26756)

This fixes an issue where the withdrawal index was not calculated correctly
for multiple withdrawals in a single block.

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
# This is the commit message ethereum#50:

ethdb/pebble: fix range compaction (ethereum#26771)

* ethdb/pebble: fix range compaction

* ethdb/pebble: add comment
# This is the commit message ethereum#51:

ethdb/pebble: fix max memorytable size (ethereum#26776)


# This is the commit message ethereum#52:

ethclient: include withdrawals in ethclient block responses (ethereum#26778)

* include withdrawals in ethclient responses

* omit empty withdrawals array in json serialization
sbellem pushed a commit to sbellem/go-ethereum that referenced this issue Jul 25, 2023
If a ciphertext handle is part of the arguments to a call opcode (call,
static, delegate, callCode), delegate it such that it is verified for
the callee. Previously, the delegation was implicit for deeper call
depths. This PR makes it explicit, vie either the `delegateCiphertext`
precompile or a call opcode.

Implement by keeping a set of verified stack depths per ciphertext.

Increment the stack depth when calling a precompile such that the depth
is correct inside the precompile itself.

Closes ethereum#52.
cp-wjhan pushed a commit to cp-wjhan/go-metadium that referenced this issue Aug 1, 2023
internal/ethapi: changed 'blockNumber' data type (GetReceiptsByHash RPC)
lochjin pushed a commit to lochjin/go-ethereum that referenced this issue Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants