-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: docs snippets utility functions #1011
refactor: docs snippets utility functions #1011
Conversation
…/feat/support-evm-address
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we extract createAndDeployContractFromProject()
into its own file? Other tests would benefit from having it shared.
I'd suggest adding it here:
packages/utils/src/test-utils/deployForcProject.ts
…/refactor/docs-snippets-utility-functions
…/refactor/docs-snippets-utility-functions
…/refactor/docs-snippets-utility-functions
…/github.com/FuelLabs/fuels-ts into db/refactor/docs-snippets-utility-functions
So this couldn't be extracted because of cyclic dependency issues, unless we do want a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
* feat: create evm address interface * feat: create evm address clas * feat: unit tests for evm address wrapper class * chore: linting * chore: linting * feat: support from public key in evm address * feat: remove evm address class and unit tests * feat: create types for B256 Evm and Evm address * feat: create address utility function to convert a b256 to an evm b256 * feat: add address function to return as evm addres * feat: add unit tests for address to evm address and utility function * feat: create snippets util function generate test wallet and deploy a contract * test: create docs snippets tests for evm address * chore: remove redundant gitignore from evm address doc snippet contract * test: rename evm address docs snippet test * docs: create documentation for evm address * docs: modify docs snippets for evm address * docs: add evm address to docs config * test: alter evm address test asserttions * docs: update evm address title capitalisation * feat: add evm address type to typegen * test: add unit test for evm address type with forc project * test: add evm address to full typegen test suit * feat: add ignore evm struct to struct typegen * feat: add evm address type to supported types in typegen * chore: changeset * feat: add forc projects to workspace * test: add address import to dts test * refactor: rename helixfied to hexlified * refactor: use deploy contract test util in types docs snippets test * chore: changeset * chore: delete redundant gitignore * feat: remove address from evm dts * refactor: clean up remain helix references * refactor: fix hexlified casing * chore: force rebuild * chore: force rebuild * test: implement deploy project test across more docs tests * chore: adjusting residual tyops after merging with master --------- Co-authored-by: danielbate <--global> Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
createAndDeployContractFromProject
to reduce code duplication in testshelixfied
->hexlified