Skip to content

Conversation

@alexbarnsley
Copy link
Member

@alexbarnsley alexbarnsley commented Feb 24, 2025

Summary

https://app.clickup.com/t/86dw15f4f

Originally this PR was to handle strings as a type for passing values in to the value, gas_price and gas_limit methods. Now UnitConverter has been updated to match the new PHP Crypto SDK where the UnitConverter#parse_units method returns an int which can be passed straight into one of the above methods.

todo:

  • docs

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ItsANameToo
Copy link
Member

BigNumber equivalent here as well please @alexbarnsley

@ItsANameToo ItsANameToo marked this pull request as draft February 26, 2025 10:28
@ItsANameToo
Copy link
Member

BigNumber equivalent here as well please @alexbarnsley

ignore, use int and we're good

@alexbarnsley alexbarnsley changed the title refactor: transaction builder handle strings from unit converter refactor: unit converter parse as int Feb 26, 2025
@alexbarnsley alexbarnsley marked this pull request as ready for review February 26, 2025 14:52
@ItsANameToo ItsANameToo merged commit 4cb126b into feat/mainsail Feb 27, 2025
8 checks passed
@ItsANameToo ItsANameToo deleted the refactor/transaction-builder-handle-strings-from-unit-converter branch February 27, 2025 09:36
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.

3 participants