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

Serverless: Gas estimator for the SetTokenVerified contract call in build and mint handlers #274

Open
EmperorOrokuSaki opened this issue Jun 7, 2023 · 2 comments
Assignees
Labels
backend enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed quality-of-life refactor Improve existing feature

Comments

@EmperorOrokuSaki
Copy link
Collaborator

Right now, the gas cost is comfortably hard-coded. I don't think we are ever going to need more than what I have set currently, but we also need to take the network status into account. It would be cool to look into how we can set the gas costs and priority fees automatically based on the current network status. We can estimate the setTokenVerified function's gas cost and use it to get a solid base and update the priority fee based on the network condition.

@EmperorOrokuSaki EmperorOrokuSaki added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed quality-of-life backend refactor Improve existing feature labels Jun 7, 2023
@lazyfuhrer
Copy link

please assign me @EmperorOrokuSaki

@EmperorOrokuSaki
Copy link
Collaborator Author

EmperorOrokuSaki commented Jun 12, 2023

please assign me @EmperorOrokuSaki

Thank you for the response. You can start by reading the contribution guide:
https://github.com/fleekxyz/non-fungible-apps/blob/main/CONTRIBUTING.md
Let me know if you have any issues/questions :)
My discord handle: ! Nima Ra#8929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed quality-of-life refactor Improve existing feature
Projects
None yet
Development

No branches or pull requests

2 participants