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

Proposal for read only calls #697

Closed
leviadam opened this issue Aug 25, 2017 · 4 comments
Closed

Proposal for read only calls #697

leviadam opened this issue Aug 25, 2017 · 4 comments

Comments

@leviadam
Copy link

Preamble

EIP: <to be assigned>
Title: Proposal for read only calls
Author: Adam Levi, leviadam@gmail.com
Type: Standard Track
Category: Core
Status: Draft
Created: 2017-08-25

Abstract

A contract will have the option to call another contract, asserting that the internal call will not change the state.

Motivation

We are now transforming from systems that were mostly single-contract, to complex systems composed of multiple contracts. In many cases a contract would like to make a call to another contract introduced by an agent, based on some standard. This can have many security risks.
In many cases, the calling contract only wants to read data from the called contract. It could be much better, security wise, if one could make such a call.
The only solution today is maybe to limit the gas, but I do not think it answers the need.

Backwards Compatibility

Yes.

Implementation

NA

Copyright

Copyright and related rights waived via CC0.

Any feedback will be much appreciated.

@axic
Copy link
Member

axic commented Aug 25, 2017

You should check out #214 and #195.

@leviadam
Copy link
Author

Thank you, @axic. If think STATIC_CALL is very much answering the need.
I'm not sure though that I understand where on the pipeline this proposal is.

@holgerd77
Copy link
Contributor

Guess this can be closed now?

@Arachnid Arachnid closed this as completed Oct 9, 2017
@leviadam
Copy link
Author

leviadam commented Oct 9, 2017

Yes, thank you!

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

4 participants