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: deploying scripts and predicates #3251

Merged
merged 105 commits into from
Oct 7, 2024

Conversation

arboleya
Copy link
Member

@arboleya arboleya commented Oct 4, 2024

Release notes

In this release, we:

  • Added support for deploying scripts and predicates
  • Upgraded to fuel-core@0.37.0
  • Upgraded to forc@0.65.1

Checklist

  • All changes are covered by tests (or not applicable)
  • All changes are documented (or not applicable)
  • I reviewed the entire PR myself (preferably, on GH UI)
  • I described all Breaking Changes (or there's none)

@arboleya arboleya added the feat Issue is a feature label Oct 4, 2024
@arboleya arboleya self-assigned this Oct 4, 2024
Copy link

vercel bot commented Oct 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuels-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 1:47am
ts-api-docs 🔄 Building (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 1:47am
ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 1:47am

Copy link

codspeed-hq bot commented Oct 4, 2024

CodSpeed Performance Report

Merging #3251 will not alter performance

Comparing aa/feat/deploying-scripts-and-predicates (5064007) with master (a35d644)

Summary

✅ 18 untouched benchmarks

arboleya and others added 2 commits October 4, 2024 22:59
…e the constants

Co-authored-by: Sergio Torres <30977845+Torres-ssf@users.noreply.github.com>
Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk>
Copy link
Contributor

github-actions bot commented Oct 7, 2024

Coverage Report:

Lines Branches Functions Statements
76.28%(-0.44%) 70.29%(-0.43%) 75.26%(-0.28%) 76.4%(-0.44%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 packages/account/src/predicate/predicate.ts 22.07%
(-1.73%)
31.42%
(+0.17%)
11.11%
(-0.65%)
20.98%
(-1.4%)
🔴 packages/account/src/providers/transaction-request/transaction-request.ts 88.57%
(+0%)
78.08%
(+1.37%)
84%
(+0%)
88.81%
(+0%)
🔴 packages/contract/src/contract-factory.ts 26.78%
(-5.82%)
22.85%
(-3.81%)
30.76%
(-4.02%)
26.31%
(-5.6%)
🔴 ✨ packages/contract/src/loader/predicate-script-loader-instructions.ts 12.82%
(+12.82%)
0%
(+0%)
0%
(+0%)
12.19%
(+12.19%)
🔴 ✨ packages/fuels/src/cli/commands/deploy/adjustOffsets.ts 83.33%
(+83.33%)
100%
(+100%)
50%
(+50%)
83.33%
(+83.33%)
🔴 ✨ packages/fuels/src/cli/commands/deploy/deployContracts.ts 100%
(+100%)
70%
(+70%)
100%
(+100%)
100%
(+100%)
🔴 ✨ packages/fuels/src/cli/commands/deploy/deployPredicates.ts 100%
(+100%)
50%
(+50%)
100%
(+100%)
100%
(+100%)
🔴 ✨ packages/fuels/src/cli/commands/deploy/deployScripts.ts 100%
(+100%)
50%
(+50%)
100%
(+100%)
100%
(+100%)
✨ packages/fuels/src/cli/commands/deploy/savePredicateFiles.ts 100%
(+100%)
100%
(+100%)
100%
(+100%)
100%
(+100%)
✨ packages/fuels/src/cli/commands/deploy/saveScriptFiles.ts 100%
(+100%)
100%
(+100%)
100%
(+100%)
100%
(+100%)
🔴 packages/fuels/src/cli/config/forcUtils.ts 93.44%
(+0.46%)
80%
(+0%)
100%
(+0%)
93.84%
(+0.4%)

@maschad maschad enabled auto-merge (squash) October 7, 2024 02:07
@maschad maschad merged commit c2f0599 into master Oct 7, 2024
59 of 62 checks passed
@maschad maschad deleted the aa/feat/deploying-scripts-and-predicates branch October 7, 2024 02:09
@maschad maschad restored the aa/feat/deploying-scripts-and-predicates branch October 7, 2024 02:11
Dhaiwat10 added a commit that referenced this pull request Nov 19, 2024
Co-authored-by: Sergio Torres <30977845+Torres-ssf@users.noreply.github.com>
Co-authored-by: Daniel Bate <djbate23@gmail.com>
Co-authored-by: Luiz Estácio | stacio.eth <luizstacio@gmail.com>
Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk>
Co-authored-by: Sérgio Torres <30977845+Torres-ssf@users.noreply.github.com>
Co-authored-by: chad <chad.nehemiah94@gmail.com>
Co-authored-by: Dhaiwat <dhaiwatpandya@gmail.com>
Co-authored-by: nedsalk <nedim.salkic@fuel.sh>
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.

Deploying predicates and scripts with blobs
8 participants