Skip to content

gas prices are high #466

Description

@Akira-Taniguchi

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

Activity

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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions