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

Vault: replace to.transfer(x) for to.value(x).call() to reduce EIP-1884 impact #1017

Closed
izqui opened this issue Oct 3, 2019 · 3 comments
Closed

Comments

@izqui
Copy link
Contributor

izqui commented Oct 3, 2019

Note: this has been closed to be tracked in the "wishlist for future upgrades".

By doing this, upgraded instances of Vault will be able to send ETH to non-fixed proxies (pre-0.8).

As the Vault doesn't have re-entrancy issues, we should be able to make this change without issue.

This will also require publishing a new major for Agent as it inherits from Vault.

@sohkai
Copy link
Contributor

sohkai commented Oct 5, 2019

I agree with this, but what is the thinking around setting arbitrary limits on the gas (~3-4k) to be extra safe? Make sure to be protected via permissions / reentrancy guards instead?

I'd also wait until at least the end of the month (targeting a ~0.8.3 release) before re-releasing those two apps.

@izqui
Copy link
Contributor Author

izqui commented Oct 7, 2019

what is the thinking around setting arbitrary limits on the gas (~3-4k) to be extra safe

Arbitrary gas limits are a bit dangerous and for this I don't think there is a reason for us to be extra safe

I'd also wait until at least the end of the month (targeting a ~0.8.3 release) before re-releasing those two apps

Fair. It doesn't need to make it before Istanbul ships IMO, but we should get it out fairly soon

@sohkai
Copy link
Contributor

sohkai commented Mar 18, 2020

We've released Agent v5 without this change, and at this point, I think it's fairly clear most important organizations are using 0.8 proxies (or can easily migrate into them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants