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

Optimisation: To lower the gas needed on settelment the virtual settelment price could be pushed on-chain #9

Open
martinkrung opened this issue Feb 3, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@martinkrung
Copy link
Member

I don't know how this is done now, but I guess that on settlement all bids are sorted, even if they will end far below the future settlement price.

(In a way this also shows why sorting on tx is a good thing. bids pay for the sorting on the go)

If we write the virtual settlement price on-chain we could just ignore this bids and not even sort them.

Drawback:

This may be very risky and needs trust and is non-decentralized.

@martinkrung martinkrung added enhancement New feature or request question Further information is requested labels Feb 3, 2021
@martinkrung martinkrung added this to the Extended Product milestone Feb 3, 2021
@martinkrung martinkrung modified the milestones: Extended Product, Extended Product (Vision, on zen) May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant