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

gas prices are high #466

Open
Akira-Taniguchi opened this issue Jun 29, 2020 · 1 comment
Open

gas prices are high #466

Akira-Taniguchi opened this issue Jun 29, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Akira-Taniguchi
Copy link
Member

Akira-Taniguchi commented Jun 29, 2020

Description

High gas prices when performing lockups.

Solution

idea base
・The Allocator.CalculateMaxRewardsPerBlock has been added to the Since it is only called from Lockup, it should be a private method of Lockup.
・WithdrawStorage is inherited by Withdraw.
・Abolish the Metrics contract (requires verification) and make it a hash map.
・The value of Lockup.getPropertyValue is the same as Dev.balanceOf(property). You can reduce your gas bill a bit.

reference

https://twitter.com/xgarreau/status/1277518221869006850

@Akira-Taniguchi Akira-Taniguchi added the enhancement New feature or request label Jun 29, 2020
@Akira-Taniguchi Akira-Taniguchi self-assigned this Jun 29, 2020
@dewrin
Copy link

dewrin commented May 29, 2021

Use stabel gas? _

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants