Skip to content
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
330 commits
Select commit Hold shift + click to select a range
ae6af40
Add `forc build` flag to treat warnings as errors (#4177)
vaivaswatha Feb 24, 2023
4339140
fix: calculate contract dependency ids with tests disabled (#4159)
kayagokalp Mar 1, 2023
3b4bb79
Implements json abi with call paths for structs and enums. (#4137)
esdrubal Mar 2, 2023
c822649
bump to `v0.35.4` (#4230)
mohammadfawaz Mar 7, 2023
ab81b81
Bump to `v0.35.5` (#4242)
mohammadfawaz Mar 8, 2023
6a35b61
feat: multi contract calls in unit tests for contracts (#4156)
kayagokalp Mar 16, 2023
95027af
refactor: deprecate `ConfigTimeConstant`s (#4298)
spiral-ladder Mar 17, 2023
61a49c3
Cleanup TOMLs (#4312)
AlicanC Mar 20, 2023
58a34dd
feat: allow multiple salt declarations in `forc deploy` (#4362)
spiral-ladder Apr 3, 2023
c4cccf5
feat: add `forc contract-id` and `forc predicate-id` commands (#4338)
kayagokalp Apr 4, 2023
f78f0b2
Bump to `v0.36.0` (#4388)
mohammadfawaz Apr 5, 2023
6d97134
Adds urls to graph.visualize generated dot file. (#4310)
esdrubal Apr 5, 2023
5d1fdaf
Bump to `v0.36.1` (#4397)
mohammadfawaz Apr 5, 2023
450708d
Bump to `v0.37.0` (#4401)
mohammadfawaz Apr 6, 2023
42f92a3
fix: enable package manifest file verification during `PackageManifes…
kayagokalp Apr 11, 2023
9513fec
Experimental: `StorageKey` feature (#4297)
mohammadfawaz Apr 13, 2023
f45a54d
Bump to `v0.37.1` (#4435)
mohammadfawaz Apr 13, 2023
719f413
chore: deprecate `built_pkgs_with_manifest()` (#4447)
spiral-ladder Apr 17, 2023
a26ca06
Replace old storage API with the new one explained in the `StorageKey…
mohammadfawaz Apr 21, 2023
f66329a
Bump to v0.37.2 (#4492)
kayagokalp Apr 24, 2023
7743839
Re-publish 0.37.2 as 0.38.0 due to breaking changes (#4494)
mitchmindtree Apr 25, 2023
307c25c
Implement module privacy rules (#4474)
IGI-111 Apr 28, 2023
1a55c36
Bump to 0.39.0 (#4568)
IGI-111 May 17, 2023
516a96e
Bump to v0.39.1 (#4585)
IGI-111 May 24, 2023
5bc0fb6
Stabilize module privacy (#4574)
IGI-111 May 25, 2023
2614552
Benchmark / performance tracking (#4564)
tritao May 29, 2023
92a8d53
Upgrade to `fuel-core 0.18.1` and `fuels-rs 0.41` (#4525)
xgreenx May 31, 2023
624fd2f
release: bump to v0.40.0 (#4601)
kayagokalp May 31, 2023
15e4e47
Bump to v0.40.1 (#4614)
IGI-111 May 31, 2023
888b04f
chore: bump sdk to 0.43, fuel-core to 0.18.2 (#4669)
kayagokalp Jun 15, 2023
8d1c199
chore: make `fuel-tx` optional to `forc-util` (#4668)
kayagokalp Jun 16, 2023
b71d6e8
feature(forc-pkg): Support IPFS-sourced dependencies (#4299)
mitchmindtree Jun 19, 2023
29bc6d6
Add flag to reverse errors (#4142)
gr00vytvniks Jun 21, 2023
1dcdcd7
chore: fix default-feature warning for forc-client (#4681)
kayagokalp Jun 26, 2023
14c95aa
Bump to v0.41.0 (#4720)
IGI-111 Jun 29, 2023
98f7a2f
feat: add encoding capability to forc-client for variable encoding (#…
kayagokalp Jul 3, 2023
b0462a1
chore: bump to v0.42.0 (#4755)
kayagokalp Jul 6, 2023
507eaae
feat: integrate forc-wallet and forc-deploy (#4752)
kayagokalp Jul 6, 2023
723e654
feat: improve deployed message for forc-deploy (#4766)
kayagokalp Jul 6, 2023
d7ad024
feat: improve error message in case of insufficient funds (#4762)
kayagokalp Jul 7, 2023
a21277f
feat: make `--random-salt` default to forc-deploy and remove it as a …
kayagokalp Jul 7, 2023
d41572a
feat: add `--target` and `--testnet` parameters to `forc-deploy` (#4…
kayagokalp Jul 7, 2023
3ff10af
chore: bump to v0.42.1 (#4767)
kayagokalp Jul 7, 2023
df1a792
feat: forc-deploy suggests creating a new wallet if the wallet is mis…
kayagokalp Jul 23, 2023
40fe0fc
Update fuel-core to 0.19 (#4718)
Dentosal Jul 25, 2023
83f6348
Support for u256 constants (#4887)
xunilrj Jul 31, 2023
06b96e1
Bump to v0.43.0 (#4897)
IGI-111 Aug 2, 2023
2a63942
Bump to v0.43.2 (#4907)
IGI-111 Aug 3, 2023
6d696d1
feat: enable providing main arguments to a script with `forc-run` (#4…
kayagokalp Aug 4, 2023
9b36bda
u256 not operator (#4924)
xunilrj Aug 8, 2023
897e83b
feat: show a list of accounts and their balances before selecting an …
kayagokalp Aug 8, 2023
bbd441b
An upgrade to `fuel-core` v0.20.3 (#4821)
xgreenx Aug 14, 2023
744a4cd
Bump to v0.44.0 (#4945)
IGI-111 Aug 14, 2023
cc8ddc2
feat: deprecate `--unsigned` flag in favor of `--default-signer` for …
kayagokalp Aug 16, 2023
8bbd7d3
feat: generate deployment artifacts with forc-deploy (#4913)
kayagokalp Aug 16, 2023
816254b
Bump to v0.44.1 (#4969)
kayagokalp Aug 16, 2023
71aba0a
feat: derive first account with forc-deploy after creating a wallet (…
kayagokalp Aug 17, 2023
18c9a02
feat: forc-client points empty accounts to beta-4 faucet (#4972)
kayagokalp Aug 18, 2023
efb89af
Add beta-4 target to forc, refactor with tests, and UX improvements (…
sdankel Aug 23, 2023
d9139b3
Bump to v0.45.0 (#5026)
kayagokalp Aug 25, 2023
192cf02
Bump to v0.46.0 (#5120)
IGI-111 Sep 14, 2023
d65c3c1
Bump to v0.46.1 (#5149)
kayagokalp Sep 28, 2023
a9fc606
Bump to v0.47.0 (#5257)
IGI-111 Nov 6, 2023
f8d2052
Allow user to override initial storage slots in forc-deploy (#5311)
sdankel Nov 29, 2023
52b5d83
feat!: add transaction policies support (#5281)
hal3e Dec 5, 2023
3330197
Bump to v0.48.0 (#5275)
JoshuaBatty Dec 6, 2023
6f94e3c
Fix release Dockerfile and bump to v0.48.1 (#5370)
IGI-111 Dec 6, 2023
e78fe1d
chore: use sdk v0.54.0 to enable forc-client deployments to beta5 (#5…
kayagokalp Jan 8, 2024
91d6986
Add examples to cli --help (#5388)
crodas Jan 10, 2024
6aefd03
refactor: update error message for `forc deploy` when password is mis…
Halimao Jan 10, 2024
095064e
fix: point std to local version for forc-client cli tests (#5457)
kayagokalp Jan 12, 2024
e7d8646
feat: add beta-5 network to supported networks (#5460)
kayagokalp Jan 14, 2024
98a3f1d
refactor: improve the flow of `forc deploy` when selecting an account…
Halimao Jan 14, 2024
0aeda82
__log outputting encoded values (#5306)
xunilrj Jan 15, 2024
e7f420b
chore: bump to v0.49.0 (#5452)
kayagokalp Jan 18, 2024
e35979f
chore: bump version to 0.49.1 (#5495)
kayagokalp Jan 19, 2024
3aeed27
Fixes for auto impl of AbiEncode; encoding version and better tests (…
xunilrj Jan 26, 2024
11928b3
Bump to v0.50.0 (#5564)
IGI-111 Feb 7, 2024
e893334
Improve cli_examples macro (#5589)
crodas Feb 10, 2024
87ecea2
Make forc-deploy create release builds by default (#5609)
sdankel Feb 17, 2024
a5357e7
Refactor with generic manifest trait (#5625)
sdankel Feb 21, 2024
441f591
Bump to v0.51.0 (#5647)
IGI-111 Feb 22, 2024
7d51b9a
Revert to cc 1.0.83 and bump to 0.51.1 (#5649)
IGI-111 Feb 23, 2024
e26a855
fix typo to beta-5 (#5731)
great9 Mar 15, 2024
4210672
Bump to v0.52.0 (#5791)
IGI-111 Mar 27, 2024
cdaff61
chore: bump to v0.52.1 (#5822)
kayagokalp Apr 3, 2024
77679e0
chore: bump sdk to v0.56, fuel-core to 0.23.0, fuel-vm to 0.47.1 (#5759)
kayagokalp Apr 10, 2024
f841de4
chore: bump to v0.53.0 (#5831)
JoshuaBatty Apr 11, 2024
baa2afe
chore: bump fuel-core to 0.24.2, fuel-vm to 0.48.0, sdk to 0.57.0 (#5…
kayagokalp Apr 12, 2024
1a1dc0e
Bump to v0.54.0 (#5853)
IGI-111 Apr 13, 2024
985f783
chore: bump to v0.55.0 (#5872)
JoshuaBatty Apr 18, 2024
adde671
set new encoding as true by default and allow it to be disabled (#5915)
xunilrj Apr 25, 2024
3d81298
Bump to v0.56.0 (#5919)
IGI-111 Apr 26, 2024
362fe7a
chore: use rust-sdk v0.58.0 (#5933)
kayagokalp Apr 29, 2024
7aff633
Larger clippy::pedantic and code quality pass on whole repo (#5945)
JoshuaBatty May 4, 2024
4320a2c
Fixes to accessing the data section during bytecode gen (#5927)
vaivaswatha May 6, 2024
f3eb138
Bump to v0.56.1 (#5974)
IGI-111 May 8, 2024
48c472b
ci: fixing typos programmatically (#5975)
sdankel May 9, 2024
bd6df15
feat: take dynamic asset id into account with `forc-client` (#5987)
kayagokalp May 10, 2024
ad3424c
Bump to v0.57.0 (#5993)
IGI-111 May 13, 2024
4da1498
Improve ASM printing CLI in `forc` (#5997)
ironcev May 13, 2024
2a5ff70
feat: fee estimation for forc-deploy and point --testnet to devnet (#…
kayagokalp May 13, 2024
f526896
chore: bump to v0.58.0 (#6003)
kayagokalp May 13, 2024
3bc05a0
Update clap and deps to latest version (#5994)
IGI-111 May 14, 2024
4bd1fce
feat: point --testnet flag to latest testnet instead of `devnet` (#6019)
kayagokalp May 15, 2024
c0371b1
Improve IR printing CLI in `forc` (#6025)
ironcev May 17, 2024
e13b0ca
chore: use fuels-rs v0.62.0, fuel-abi-types v0.5.0 (#6027)
kayagokalp May 17, 2024
2b71613
Bump to v0.59.0 (#6030)
IGI-111 May 17, 2024
07fed75
Bump to v0.60.0 (#6049)
IGI-111 May 22, 2024
1fd0ca3
chore: fix some comments (#5989)
cuishuang May 23, 2024
0d07ad1
chore: fix some comments (#6139)
tsinghuacoder Jun 18, 2024
9e511c5
Bump to v0.61.0 (#6144)
IGI-111 Jun 19, 2024
e095376
chore: bump fuels-rs to v0.64.0, fuel-core to v0.28.0 (#6187)
kayagokalp Jun 27, 2024
708b19c
Bump to v0.61.1 (#6207)
IGI-111 Jul 2, 2024
12843c3
fix: deployment estimation deferred to sdk (#6212)
kayagokalp Jul 3, 2024
c680f52
Bump to v0.61.2 (#6213)
sdankel Jul 3, 2024
d619bf2
`match` for string slices (#6202)
xunilrj Jul 5, 2024
f5e9bf3
chore: remove snapshot, as accounts are funded by default (#6235)
kayagokalp Jul 8, 2024
97a562d
Fix `Bytes`, `Vec` and `String` buffer ownership (#6142)
xunilrj Jul 8, 2024
349c530
Bump to v0.62.0 (#6276)
IGI-111 Jul 17, 2024
a8623b3
feat: Enhance forc-deploy UX with dialoguer (#6278)
sdankel Jul 24, 2024
457f9a9
feat: create and deploy a reference proxy contract for contracts with…
kayagokalp Aug 7, 2024
605851b
Fix bugs in memcpyopt (#6359)
Aug 9, 2024
8404d5e
Allow forc deploy to submit transaction without waiting for commit co…
luisburigo Aug 14, 2024
d875329
Updates JSON ABI, LDC, BSIZ, BLDD and ED19. (#6254)
esdrubal Aug 15, 2024
688360b
feat: Implement ldc based automatic contract chunking with auto split…
kayagokalp Aug 17, 2024
37b20e1
fix: use proxy bin with storage slots in a namespace (#6429)
kayagokalp Aug 19, 2024
a55a462
chore: bump to 0.63.0 (#6421)
sdankel Aug 19, 2024
185c08f
test: add more chunking tests (#6433)
kayagokalp Aug 19, 2024
2200431
fix release workflow by embedding proxy abi to code in plain str (#6437)
kayagokalp Aug 19, 2024
35974b0
Bump version to 0.63.1 (#6438)
kayagokalp Aug 19, 2024
33eeeaf
Bump to v0.63.2 (#6476)
IGI-111 Aug 28, 2024
28e1e7d
Bump to v0.63.3 (#6483)
JoshuaBatty Aug 29, 2024
35ebeb0
Implement `__contract_ret` as diverging and `retd` as terminator (#6486)
ironcev Sep 4, 2024
62d89aa
Bump to v0.63.4 (#6503)
IGI-111 Sep 5, 2024
611bcbf
chore: bump to v0.63.5 (#6508)
kayagokalp Sep 6, 2024
8185d0f
Update proxy contract binary shipped with `forc-deploy` (#6520)
kayagokalp Sep 11, 2024
4c083a5
feat: add a build script to forc-client to keep proxy abi in sync wit…
kayagokalp Sep 15, 2024
ca55302
chore: bump to v0.63.6 (#6556)
JoshuaBatty Sep 18, 2024
b2c93e3
fix: forc-client build script should update proxy abi also for deploy…
kayagokalp Sep 19, 2024
9309b82
fix: forc-deploy block url (#6570)
sdankel Sep 19, 2024
62f4770
Move all crate dependencies to the workspace Cargo.toml (#6179) (#6563)
alfiedotwtf Sep 20, 2024
ee77aed
Version bump the remaining crate dependencies (#6579)
alfiedotwtf Sep 23, 2024
681c045
fix: use build script for proxy deployments as well (#6580)
kayagokalp Sep 23, 2024
e1a66d7
chore: update fuel-core to 0.36.0, fuels-* to 0.66.5 (#6582)
kayagokalp Sep 23, 2024
15b45ac
feat: AWS kms signer support for forc-client (#6578)
kayagokalp Sep 25, 2024
d05a4c9
fix: proxy deployments for contracts with storage (#6591)
sdankel Sep 26, 2024
416d7c2
feat: add blob deployments for scripts and predicates (#6607)
kayagokalp Oct 6, 2024
4ed09ee
feat: generate a loader abi of loaders generated for predicates and s…
kayagokalp Oct 6, 2024
d0dfbcc
fix: pin forc-deploy to use 100kb blob size by default (#6616)
kayagokalp Oct 7, 2024
227293e
add new target to forc (#6621)
sdankel Oct 15, 2024
2969c0a
feat: bump fuel-core to v0.40.0 and sdk to v0.66.9 + show checksum ad…
kayagokalp Oct 15, 2024
35afa43
Function dedup conf decode (#6623)
xunilrj Oct 22, 2024
a067450
migrate encoding v1 to sway-features (#6586)
xunilrj Oct 28, 2024
0b83ac0
Add configurables section offset in the preamble (#6522)
Oct 29, 2024
7a015c8
`EncodeBufferAppend`: `grow_if_needed` should allocate sufficiently (…
Nov 2, 2024
87f7d7c
Bump to v0.66.4 (#6688)
IGI-111 Nov 3, 2024
93ac348
fix: forc-deploy asks for password before checking if the wallet exis…
kayagokalp Nov 9, 2024
cb8fa90
Forc-deploy import wallet support if non-existent wallet (#6680)
zees-dev Nov 9, 2024
2e6b90d
Profiling support (#6705)
tritao Nov 15, 2024
c0df49e
Add configurables section offset in the preamble (#6709)
Nov 18, 2024
96f9b21
improve asm copy propagation for MOVE instruction (#6641)
xunilrj Nov 25, 2024
8cd809b
typo-Update deploy.rs (#6783)
shystrui1199 Dec 12, 2024
45a34cd
codegen: Use idiomatic fuel-vm ops for memcpy and addr_of (#6795)
Dentosal Jan 15, 2025
cbc4f6e
chore: upgrade `fuels-rs` sdk to `0.70` (#6851)
zees-dev Feb 1, 2025
a9c4a67
ZK opcodes in the Sway assembly (#6876)
Feb 3, 2025
602ce89
plugin: forc-call (#6791)
zees-dev Feb 7, 2025
c96c985
minor: Migrate forc-call node_url (#6920)
zees-dev Feb 14, 2025
47a3f1e
chore: cargo update (#6929)
sdankel Feb 14, 2025
d08e818
chore: move dev dependencies to workspace (#6966)
sdankel Feb 28, 2025
136cad9
forc-call logs support (#6968)
zees-dev Mar 1, 2025
42e8100
chore: Change blob ID calculation in forc-deploy to use configurables…
sdankel Mar 6, 2025
73a24e8
Merge std and core libraries (#6729)
SwayStar123 Mar 12, 2025
aa2ebc0
Promote experimental features (#7016)
ironcev Mar 13, 2025
48b84c6
forc-call list functions support with example call usage (#7018)
zees-dev Mar 18, 2025
6e7fd26
Merge type and const generics (#7044)
xunilrj Mar 31, 2025
fcd76e6
Update fuels version to 0.71 and vm to 0.59.2 (#7053)
zees-dev Apr 4, 2025
f65d490
Forc call transfers (#7056)
zees-dev Apr 7, 2025
456e0e1
Add `--generate-hexfile` flag to `forc build` for hex-encoded output …
JoE11-y Apr 8, 2025
be78094
forc call verbosity levels (#7074)
zees-dev Apr 9, 2025
bdd657a
chore: bump fuel-core to 0.43.1 and fuels to 0.72 (#7110)
kayagokalp Apr 24, 2025
04bb634
forc-call: missing contract retrieval refactor (#7115)
zees-dev Apr 24, 2025
993e898
sway-book: fix forc call examples (#7133)
zees-dev May 2, 2025
e809585
codegen optimization: symbolic fuel-vm interpretation (#7109)
Dentosal May 5, 2025
ae28c72
feat: forc call json output (#7156)
zees-dev May 9, 2025
0253ea1
Remove double IR-compilation of contract methods (#7164)
ironcev May 12, 2025
f31ca35
Compile panic expression to ABI error codes (#7118)
ironcev May 27, 2025
9c1be90
feat: forc call tracing (#7196)
zees-dev May 30, 2025
9185de5
Support ABI errors in `forc test` (#7224)
ironcev Jun 10, 2025
05b4d8d
IR: Taking function arg address and representing references as pointe…
Jun 13, 2025
8f4d8c8
Optimize existing and add missing `Hash` implementations (#7238)
ironcev Jun 18, 2025
e4ccd29
minor adjustment to inliner heuristic (#7232)
Jun 23, 2025
2ec09e7
Bump fuel deps (#7228)
Dentosal Jun 23, 2025
cd04614
Stabilize ABI errors (#7241)
IGI-111 Jun 23, 2025
b136585
forc-call detailed vm-interpreter call traces (#7251)
zees-dev Jun 30, 2025
4afc11e
treat string array values as if it were `[u8; N]` (#7258)
Jun 30, 2025
b8f42f3
feat: forc-call inline abi support (#7270)
zees-dev Jul 4, 2025
5889dc6
Subroutine calls using the new JAL instruction (#7085)
Dentosal Jul 12, 2025
cfb6fc9
Better observability for the compiler (#7250)
xunilrj Jul 18, 2025
b927808
Represent `RawUntypedPtr` AST type using a new `Pointer` IR type (#7272)
Jul 22, 2025
e69fd89
feat: forc mcp server - with forc-call tool integration (#7284)
zees-dev Jul 24, 2025
0f06eea
Remove some uses of `ptr_to_int` and `int_to_ptr`, using `ptr` instea…
Aug 1, 2025
35aee32
bugfix: forc-call list-functions and script output (#7312)
zees-dev Aug 8, 2025
316d41a
feat: forc-call debugger integration (#7323)
zees-dev Aug 14, 2025
29a9bd6
forc-run debugger integration (#7337)
IGI-111 Aug 20, 2025
cff643d
fix(docs): update Fuel VM instruction set link to new docs site (#7319)
sashass1315 Aug 22, 2025
d4d4414
Implement a command to dump impls for a given type (#7322)
tritao Aug 26, 2025
ff0f1a2
Apply Clippy's `uninlined_format_args` lint (#7361)
ironcev Aug 28, 2025
be9ce63
compile string constants to global rather than local memory (#7359)
Aug 28, 2025
c4ff444
Optimize storage access compilation (#7357)
ironcev Aug 29, 2025
758e033
bugfix: forc call explicit support for no external contracts (#7367)
zees-dev Sep 2, 2025
1c4eca1
fix: forc-call variable output default estimation with override (#7384)
zees-dev Sep 12, 2025
c08949c
When demoting aggregate returns, no need to return back the new argum…
Sep 22, 2025
973a6db
Skip returning a value when the type is unit (#7401)
Sep 24, 2025
fa36cd1
fix: also create deployment artifacts for chunked deployments (#7426)
kayagokalp Oct 2, 2025
800450d
chore: bumpt rust version to 1.90 (#7427)
kayagokalp Oct 2, 2025
f6d57d9
Bump fuel-core v0.46.0 (#7445)
zees-dev Oct 8, 2025
9e74608
Compile runtime backtracing to ASM and compile-time to ABI JSON (#7387)
ironcev Oct 9, 2025
d3b45b6
Excute E2E tests in parallel (#7456)
ironcev Oct 13, 2025
f6fd3a0
SROA: Do not generate GEPs when direct address is available (#7457)
Oct 28, 2025
397cdad
Do not read from state when writing aligned, slot sized values (#7470)
Oct 30, 2025
e175511
Improve method selector on contracts (#7458)
xunilrj Nov 4, 2025
cc47347
Optimize `slot_calculator` for bytecode size and gas usage (#7481)
ironcev Nov 4, 2025
38fe10b
Reduce storage API byte allocation (#7430)
bitzoic Nov 5, 2025
b677d86
Update to latest `fuels-rs` dependency (#7468)
tritao Nov 6, 2025
0b53a4b
Trivially encoded types (#7488)
xunilrj Nov 19, 2025
a53a50b
feat: forc-call abi backtracing (#7502)
zees-dev Nov 26, 2025
011267a
Trivial fns allowing control if a type is trivially encoded/decoded (…
xunilrj Dec 16, 2025
1ea5ca6
Implement `init_aggr` in IR and optimize aggregates initialization (#…
ironcev Jan 16, 2026
51837ca
Add 'forc-client/' from commit '1ea5ca61218dd47998579c1cdbcb829d2a2cd…
JoshuaBatty Jan 21, 2026
3974350
update Cargo.toml for forc-client workspace integration
JoshuaBatty Jan 21, 2026
73251b1
bump forc-client to 0.71.0 and add CHANGELOG.md
JoshuaBatty Jan 21, 2026
e45ab7b
fix: sort forc-node dependencies alphabetically
JoshuaBatty Jan 21, 2026
f79bbc4
update Cargo.lock
JoshuaBatty Jan 21, 2026
1860330
fix: add explicit lifetimes to Cow types in storage.rs
JoshuaBatty Jan 21, 2026
a9fb2ae
fmt
JoshuaBatty Jan 21, 2026
0bba1a4
fix: update test data paths from forc-plugins/forc-client to forc-client
JoshuaBatty Jan 21, 2026
d12b543
ci: install fuel-core for tests
JoshuaBatty Jan 21, 2026
858d097
fix: update relative test data paths for new repo structure
JoshuaBatty Jan 21, 2026
2cf7f75
fix: remove local sway-lib-std paths from test projects (std is impli…
JoshuaBatty Jan 21, 2026
a761a4d
ci: use Warp runners for tests matching sway CI
JoshuaBatty Jan 29, 2026
71708d1
fix: std path dependencies in tests
kayagokalp Jan 30, 2026
e9b7134
remove unused tests
kayagokalp Jan 30, 2026
9857057
Merge main into branch (forc-tracing update)
JoshuaBatty Jan 30, 2026
983e1b9
fix: handle init_tracing_subscriber Result
JoshuaBatty Jan 30, 2026
7775990
ci: run tests with --release to avoid stack overflow
JoshuaBatty Jan 30, 2026
831fbde
ci: remove codecov job (not used in sway)
JoshuaBatty Jan 30, 2026
76ee7a7
fix: update hardcoded contract IDs for registry std
JoshuaBatty Jan 30, 2026
e690891
ci: remove --all-targets to avoid benchmark conflict with --test-threads
JoshuaBatty Jan 30, 2026
2c95a98
update changelog date for forc-client
JoshuaBatty Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 68 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,25 @@ jobs:
with:
access_token: ${{ github.token }}

get-fuel-core-version:
runs-on: ubuntu-latest
outputs:
fuel_core_version: ${{ steps.get-version.outputs.fuel_core_version }}
steps:
- uses: actions/checkout@v4
- name: Get fuel-core version
id: get-version
run: |
version=$(grep 'fuel-core-client' Cargo.toml | head -1 | sed -E 's/.*version = "([0-9]+\.[0-9]+)".*/\1/')
# Append .1 to get the patch version (e.g., 0.47 -> 0.47.1)
version="${version}.1"
echo "fuel_core_version=$version" >> $GITHUB_OUTPUT
Copy link

Choose a reason for hiding this comment

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

Hardcoded patch version may cause CI download failures

Medium Severity

The version extraction script hardcodes .1 as the patch version (e.g., converting "0.47" to "0.47.1"). This is fragile because the actual fuel-core release might be .0, .2, or another patch number. If fuel-core 0.47.1 doesn't exist in GitHub releases, the curl command will fail. Additionally, if Cargo.toml is ever updated to specify a full version like "0.47.2", the regex pattern ([0-9]+\.[0-9]+)" won't match (it expects a quote immediately after two numeric segments), causing the sed to output the entire line unchanged.

Fix in Cursor Fix in Web

echo "Detected fuel-core version: $version"

publish-codecov:
name: Check code coverage (branch)
runs-on: ubuntu-latest
needs: get-fuel-core-version
runs-on: warp-ubuntu-latest-x64-4x
permissions: # Write access to push changes to pages
contents: write
pull-requests: write
Expand All @@ -36,6 +52,16 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.NIGHTLY_RUST_VERSION }}
- uses: Swatinem/rust-cache@v2
with:
cache-provider: "warpbuild"

- name: Install fuel-core for tests
run: |
curl -sSLf https://github.com/FuelLabs/fuel-core/releases/download/v${{ needs.get-fuel-core-version.outputs.fuel_core_version }}/fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu.tar.gz -L -o fuel-core.tar.gz
tar -xvf fuel-core.tar.gz
chmod +x fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core

- name: Install cargo-llvm-codecov
uses: taiki-e/install-action@cargo-llvm-cov
Expand Down Expand Up @@ -84,7 +110,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}

cargo-verifications:
needs: cancel-previous-runs
needs: [cancel-previous-runs]
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -95,25 +121,52 @@ jobs:
args: --all-targets --all-features
- command: check
args: --locked --all-targets --all-features
- command: test
args: --all-targets --all-features
- command: test
args: --all-targets --no-default-features
# disallow any job that takes longer than 30 minutes
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v1
toolchain: ${{ env.RUST_VERSION }}
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
cache-provider: "github"
key: "${{ matrix.command }}${{ matrix.args }}"
- name: ${{ matrix.command }} ${{ matrix.args }}
uses: actions-rs/cargo@v1
run: cargo ${{ matrix.command }} ${{ matrix.args }}
env:
RUSTFLAGS: "-D warnings"

cargo-test:
name: cargo test
needs: [cancel-previous-runs, get-fuel-core-version]
runs-on: warp-ubuntu-latest-x64-4x
strategy:
matrix:
include:
- args: --all-targets --all-features -- --test-threads 1
- args: --all-targets --no-default-features -- --test-threads 1
Copy link

Choose a reason for hiding this comment

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

New test job missing timeout from original configuration

Low Severity

The new cargo-test job is missing a timeout-minutes setting. The original workflow had tests in cargo-verifications with a 30-minute timeout and comment "disallow any job that takes longer than 30 minutes". When tests were extracted to the separate cargo-test job, this timeout was not carried over. Without a timeout, tests could hang indefinitely (up to GitHub's 6-hour default), wasting CI resources and blocking the pipeline.

Fix in Cursor Fix in Web

steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
command: ${{ matrix.command }}
args: ${{ matrix.args }}
toolchain: ${{ env.RUST_VERSION }}
- uses: Swatinem/rust-cache@v2
with:
cache-provider: "warpbuild"
key: "test${{ matrix.args }}"
- name: Install fuel-core for tests
run: |
curl -sSLf https://github.com/FuelLabs/fuel-core/releases/download/v${{ needs.get-fuel-core-version.outputs.fuel_core_version }}/fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu.tar.gz -L -o fuel-core.tar.gz
tar -xvf fuel-core.tar.gz
chmod +x fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core
- name: cargo test ${{ matrix.args }}
run: cargo test --locked ${{ matrix.args }}
env:
RUSTFLAGS: "-D warnings"
- name: Notify if Job Fails
uses: ravsamhq/notify-slack-action@v1
if: always() && github.ref == 'refs/heads/master'
Expand All @@ -134,6 +187,7 @@ jobs:
needs:
- lint-toml-files
- cargo-verifications
- cargo-test
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest

Expand Down
Loading