PotLock / core

Potlock Core Contracts
MIT License
10 stars 3 forks source link

Use `XCC_GAS_DEFAULT` for self callback instead of Provider gas amount #45

Open lachlanglen opened 9 months ago

lachlanglen commented 9 months ago

Title

See https://github.com/PotLock/core/blob/214f741e78dda79d74b53040a5b783f2073bfa9c/contracts/sybil/src/providers.rs#L293

Instead of passing in the Provider's gas to the self callback, should use XCC_GAS_DEFAULT from constants.rs

Summary

[Brief overview of the enhancement and why it is needed or desired]

Motivation

[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]

Description

[Detailed description of the enhancement, including how it would work and any design considerations]

Alternatives

[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]

Risks

[Identification and mitigation of any potential risks associated with the enhancement]

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]