-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feature: eth-vrf #9646
feature: eth-vrf #9646
Conversation
Go solidity wrappers are out-of-date, regenerate them via the |
Took a pass through the contract changes and it looks good to me. Will do another pass through tests soon. Some high level comments:
|
Go solidity wrappers are out-of-date, regenerate them via the |
As of now there are two different premiums - LINK and Native. You could reduce the LINK premium to incentivize.
Maybe, but I think it'd be a wash. It's easier to remember a shorter subscription ID than one that is a
That's still not final. Another option would be to callback again into the user contract with a small gas limit (say 25k) and let them do what they want with the value, but I feel like this is slightly cleaner. In general I'd like to reduce scope creep; slight improvements are fine but the less major changes the better. |
Alternatively, payment amount can be part of |
Unfortunately it can't be because you have to execute the callback to figure out how much gas it uses exactly. |
* integration tests for VRF V2 Plus. WIP * support vrfv2 plus in bhs and bhf * small fixes * fix failing force fulfill test cases * make changes to vrfv2 consumer contract to make batching tests pass * fix import * add ci profile * fix v1 test * prettier * Update contracts/src/v0.8/vrf/testhelpers/VRFV2PlusExternalSubOwnerExample.sol Co-authored-by: Makram <makramkd@users.noreply.github.com> * Update contracts/src/v0.8/vrf/testhelpers/VRFV2PlusRevertingExample.sol Co-authored-by: Makram <makramkd@users.noreply.github.com> * Update contracts/src/v0.8/vrf/testhelpers/VRFV2PlusSingleConsumerExample.sol Co-authored-by: Makram <makramkd@users.noreply.github.com> * address comments --------- Co-authored-by: Makram <makramkd@users.noreply.github.com>
Co-authored-by: Makram <makramkd@users.noreply.github.com>
Go solidity wrappers are out-of-date, regenerate them via the |
Go solidity wrappers are out-of-date, regenerate them via the |
1 similar comment
Go solidity wrappers are out-of-date, regenerate them via the |
SonarQube Quality Gate |
feature set:
other changes:
vrf
package to havev1
,v2
subpackages (among others) to ease the addition of new codestill todo:
add sample contracts that pass costs to the end user