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

Move blockhash from block.blockhash to global level #2970

Closed
axic opened this issue Sep 26, 2017 · 0 comments
Closed

Move blockhash from block.blockhash to global level #2970

axic opened this issue Sep 26, 2017 · 0 comments
Assignees
Projects

Comments

@axic
Copy link
Member

axic commented Sep 26, 2017

block is a global referring to the current block and its properties (coinbase, timestamp, difficulty, number, gaslimit).

blockhash doesn't fit in, unless it would be a bytes32 referring to the hash of that given block (which is not possible).

I think it makes more sense promoting it to be a global method just as the other native features (log, ecrecover, etc) are.

@chriseth chriseth added this to Done in 0.5.0 Feb 16, 2018
@chriseth chriseth moved this from Done to To do in 0.5.0 Feb 16, 2018
@erak erak moved this from To do to In progress in 0.5.0 Mar 2, 2018
@erak erak moved this from In progress to Under review in 0.5.0 Mar 5, 2018
0.5.0 automation moved this from Under review to Done Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
0.5.0
  
Done
Development

No branches or pull requests

2 participants