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

feat: add Predicate.getTransferTxId helper #1467

Merged
merged 5 commits into from
Nov 30, 2023
Merged

Conversation

Dhaiwat10
Copy link
Member

As a part of #1451, this PR adds a new helper getTransferTxId for predicates which lets you calculate the transaction ID for a Predicate.transfer transaction, before actually sending it.

Copy link
Contributor

github-actions bot commented Nov 28, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
86.4% (-0.03% 🔻)
5826/6743
🟡 Branches
69.9% (-0.23% 🔻)
866/1239
🟡 Functions
77.05% (-0.04% 🔻)
960/1246
🟢 Lines
86.37% (-0.03% 🔻)
5577/6457
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / account.ts
90.8% (+0.22% 🔼)
45.45% (-10.1% 🔻)
92.86% (+0.55% 🔼)
90.8% (+0.22% 🔼)
🟡
... / predicate.ts
69.49% (-2.73% 🔻)
46.67% (-7.18% 🔻)
70% (-7.78% 🔻)
69.49% (-2.73% 🔻)

Test suite run success

1402 tests passing in 251 suites.

Report generated by 🧪jest coverage report action from f14dd77

@Dhaiwat10 Dhaiwat10 enabled auto-merge (squash) November 30, 2023 01:31
@Dhaiwat10 Dhaiwat10 merged commit 70233c1 into master Nov 30, 2023
9 checks passed
@Dhaiwat10 Dhaiwat10 deleted the dp/predicate-gettxid branch November 30, 2023 01:42
Torres-ssf added a commit that referenced this pull request Dec 6, 2023
danielbate added a commit that referenced this pull request Dec 7, 2023
danielbate added a commit that referenced this pull request Dec 8, 2023
* Revert "feat: add `Predicate.getTransferTxId` helper (#1467)"

This reverts commit 70233c1.

* feat: implement script and workflow to unpublish old version

* chore: changeset
danielbate added a commit that referenced this pull request Dec 10, 2023
* Revert "feat: add `Predicate.getTransferTxId` helper (#1467)"

This reverts commit 70233c1.

* feat: alter workflow stage name

* feat: move unpublish script to js

* feat: rewrite imports
danielbate added a commit that referenced this pull request Dec 11, 2023
* Revert "feat: add `Predicate.getTransferTxId` helper (#1467)"

This reverts commit 70233c1.

* chore: use other action runner

* chore: use other action runner

---------

Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
danielbate added a commit that referenced this pull request Dec 11, 2023
* Revert "feat: add `Predicate.getTransferTxId` helper (#1467)"

This reverts commit 70233c1.

* docs: fix context imports in docs examples

* chore: changeset

---------

Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
Co-authored-by: Sérgio Torres <30977845+Torres-ssf@users.noreply.github.com>
danielbate added a commit that referenced this pull request Dec 15, 2023
* Revert "feat: add `Predicate.getTransferTxId` helper (#1467)"

This reverts commit 70233c1.

* chore: add rc workflow

* chore: changeset

* chore: change rc workflow name

* chore: fix rc version

* chore: remove workflow dispatch for rc worjflow

* chore: add correct rc naming

* chore: use correct branch filtering

* chore: linting

* chore: alter branch name env

* chore: change pull request to push

* feat: set correct rc versiuon in worflow

* feat: add echo rc verison

* chore: test ci

* chore: test ci

* chore: echo changesets

* chore: use env in rc changeset

* test dan release

* chore: enable pr release

* chore: copy pr relase

* try rc nam,e

* use salamander

* chore: use rc name

* use: salamander

* chore: test salamander

* chore: fix workflow trigger

* chore: remove env rc name

* chore: update rc suffix

---------

Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
@arboleya arboleya mentioned this pull request Jan 26, 2024
44 tasks
arboleya added a commit that referenced this pull request Jan 26, 2024
* chore: updating code owners (#1496)
* docs: purge hardcoded snippets on 'using typegen' page (#1403)
* chore: remove method that's same as base method (#1445)
* chore: implement RC workflow (#1497)
* Revert "feat: add `Predicate.getTransferTxId` helper (#1467)"
* chore: fix rc release string replace (#1529)
* docs: Update some hyperlinks to reference the new documentation hub (#1520)
* chore: improve rc release message (#1559)
* feat: GraphQL subscriptions (#1374)
* chore: pin `graphql-request` to `v5` (#1567)
* chore: upgrade `tsx` (#1574)
* feat: migrate from Jest to Vitest (#1310)
* chore: fix temp test workflow (#1579)
* chore: update required node engine in `create-fuels` (#1582)
* chore: add node version test matrix (#1575)
* chore: fix broken rc message (#1580)
* chore: update nodejs to v20 (#1544)
* feat: accepting addresses as `string` (#1583)
* chore: properly format the PR coverage report comment (#1586)
* fix: flaky test (#1590)
* docs: update `deposit-and-withdraw` page (#1591)
* feat: retry mechanism (#1474)
* feat: replaced `semver` dependency with custom implementation (#1594)
* feat: replace `elliptic` with `@noble/curves` (#1601)
* chore: fix CI failing due to missing tag in test (#1614)
* feat: improve ABI Coders `decode` validation (#1426)
* fix: do not generate a coverage diff without coverage artifact (#1629)
* chore: pinpoint vitest to 1.0.4 (#1637)
* chore: remove `ethers` dependency from `utils` (#1640)
* fix: `getOperation` for `Transfer Asset` (#1619)
* fix: remove external font dependencies (#1642)
* fix: generate RC PR comment on `pull_request` event only (#1648)
* fix: fix failing `rc` comment (#1657)
* chore: add missing test group (#1658)
* feat: implement browser compatibility testing (#1630)
* chore: fix string replace in `rc` ci (#1659)
* chore: adding extra reporters (#1661)
* chore: manually trigger `rc` CI (#1660)
* feat: use `submitAndAwait` graphql endpoint (#1615)
* fix: flaky retry test (#1654)
* feat: create a wallet without a provider (#1566)
* chore!: Share single chainConfig and review node-related utilities (#1602)
* chore: use new temporary coverage artifact (#1676)
* fix: internalizing `findBinPath` utility (#1679)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants