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

refactor: gas_limit and gas_used are now u64 #219

Merged
merged 7 commits into from
Oct 10, 2024
Merged

Conversation

gluax
Copy link
Collaborator

@gluax gluax commented Oct 1, 2024

Motivation

To match gas limit and usage throughout the seda ecosystem.

Explanation of Changes

  • convert gas used and limit to u64
  • Renames:
    • dr_binary_id -> exec_program_id
    • tally_binary_id -> tally_program_id

Testing

All tests still pass.

Related PRs and Issues

Waiting for sedaprotocol/seda-common-rs#25 to be merged so it can update common to main.

Closes #212.

@gluax gluax self-assigned this Oct 1, 2024
@gluax gluax marked this pull request as ready for review October 1, 2024 19:19
@gluax gluax requested review from mariocao, Thomasvdam and FranklinWaller and removed request for mariocao and Thomasvdam October 1, 2024 19:20
// "tally_inputs": "dGFsbHlfaW5wdXRz",
// "replication_factor": 1,
// "consensus_filter": "AA==",
// "gas_price": "10",
// "gas_limit": "10",
// "gas_price": 10,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"gas_price" is still a string, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct no fields were removed.

@gluax gluax merged commit ede475b into main Oct 10, 2024
4 checks passed
@gluax gluax deleted the refactor/types-and-renames branch October 10, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

♻️ Change gas_limit and gas_used to u64
4 participants